Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

XMLTag Class Reference

#include <filexml.h>

List of all members.

Public Member Functions

 XMLTag ()
 ~XMLTag ()
int set_delimiters (char left_delimiter, char right_delimiter)
int reset_tag ()
int read_tag (char *input, long &position, long length)
int title_is (char *title)
char * get_title ()
int get_title (char *value)
int test_property (char *property, char *value)
char * get_property_text (int number)
int get_property_int (int number)
float get_property_float (int number)
char * get_property (char *property)
char * get_property (char *property, char *value)
int32_t get_property (char *property, int32_t default_)
int64_t get_property (char *property, int64_t default_)
float get_property (char *property, float default_)
double get_property (char *property, double default_)
int set_title (char *text)
int set_property (char *text, char *value)
int set_property (char *text, int32_t value)
int set_property (char *text, int64_t value)
int set_property (char *text, float value)
int set_property (char *text, double value)
int write_tag ()

Public Attributes

char tag_title [MAX_TITLE]
char * tag_properties [MAX_PROPERTIES]
char * tag_property_values [MAX_PROPERTIES]
int total_properties
int len
char string [MAX_LENGTH]
char temp_string [32]
char left_delimiter
char right_delimiter


Detailed Description

Definition at line 12 of file filexml.h.


Constructor & Destructor Documentation

XMLTag::XMLTag  ) 
 

Definition at line 364 of file filexml.C.

References len, and total_properties.

XMLTag::~XMLTag  ) 
 

Definition at line 370 of file filexml.C.

References reset_tag().


Member Function Documentation

double XMLTag::get_property char *  property,
double  default_
 

Definition at line 680 of file filexml.C.

References get_property(), and temp_string.

float XMLTag::get_property char *  property,
float  default_
 

Definition at line 670 of file filexml.C.

References get_property(), and temp_string.

int64_t XMLTag::get_property char *  property,
int64_t  default_
 

Definition at line 648 of file filexml.C.

References get_property(), and temp_string.

int32_t XMLTag::get_property char *  property,
int32_t  default_
 

Definition at line 638 of file filexml.C.

References get_property(), and temp_string.

char * XMLTag::get_property char *  property,
char *  value
 

Definition at line 586 of file filexml.C.

References tag_properties, tag_property_values, and total_properties.

char * XMLTag::get_property char *  property  ) 
 

Definition at line 624 of file filexml.C.

References tag_properties, tag_property_values, and total_properties.

Referenced by get_property(), Tracks::load(), Track::load(), SharedLocation::load(), PluginSet::load(), Plugin::load(), PanAuto::load(), MaskAuto::load(), Labels::load(), IntAuto::load(), FloatAuto::load(), Channel::load(), BatchRenderJob::load(), Autos::load(), Assets::load(), EDLSession::load_audio_config(), Edits::load_edit(), Edit::load_properties(), VEdit::load_properties_derived(), AEdit::load_properties_derived(), EDLSession::load_video_config(), Transition::load_xml(), LocalSession::load_xml(), EDLSession::load_xml(), EDL::load_xml(), AutoConf::load_xml(), Plugin::paste(), Autos::paste(), Tracks::paste_automation(), ATrack::paste_derived(), PluginSet::paste_keyframes(), Asset::read(), Asset::read_audio(), PluginAClientLAD::read_data(), Asset::read_index(), and Asset::read_video().

float XMLTag::get_property_float int  number  ) 
 

Definition at line 616 of file filexml.C.

References tag_properties, and total_properties.

int XMLTag::get_property_int int  number  ) 
 

Definition at line 608 of file filexml.C.

References tag_properties, and total_properties.

Referenced by RecordEngine::run_script().

char * XMLTag::get_property_text int  number  ) 
 

Definition at line 600 of file filexml.C.

References tag_properties, and total_properties.

Referenced by RecordEngine::run_script().

int XMLTag::get_title char *  value  ) 
 

Definition at line 567 of file filexml.C.

References tag_title.

char * XMLTag::get_title  ) 
 

Definition at line 562 of file filexml.C.

References tag_title.

Referenced by Edits::load(), Autos::load(), Autos::paste(), ATrack::paste_derived(), and MWindow::run_script().

int XMLTag::read_tag char *  input,
long &  position,
long  length
 

Definition at line 434 of file filexml.C.

References left_delimiter, MAX_LENGTH, MAX_PROPERTIES, MAX_TITLE, right_delimiter, string, tag_properties, tag_property_values, tag_title, and total_properties.

Referenced by FileXML::read_tag().

int XMLTag::reset_tag  ) 
 

Definition at line 382 of file filexml.C.

References len, tag_properties, tag_property_values, and total_properties.

Referenced by FileXML::append_tag(), FileXML::read_tag(), and ~XMLTag().

int XMLTag::set_delimiters char  left_delimiter,
char  right_delimiter
 

Definition at line 375 of file filexml.C.

Referenced by FileXML::FileXML().

int XMLTag::set_property char *  text,
double  value
 

Definition at line 724 of file filexml.C.

References set_property(), and temp_string.

int XMLTag::set_property char *  text,
float  value
 

Definition at line 717 of file filexml.C.

References set_property(), and temp_string.

int XMLTag::set_property char *  text,
int64_t  value
 

Definition at line 703 of file filexml.C.

References set_property(), and temp_string.

int XMLTag::set_property char *  text,
int32_t  value
 

Definition at line 696 of file filexml.C.

References set_property(), and temp_string.

int XMLTag::set_property char *  text,
char *  value
 

Definition at line 731 of file filexml.C.

References tag_properties, tag_property_values, and total_properties.

Referenced by Track::copy(), PluginSet::copy(), Plugin::copy(), PanAuto::copy(), MaskAuto::copy(), SubMask::copy(), Labels::copy(), KeyFrame::copy(), IntAuto::copy(), FloatAuto::copy(), EDL::copy(), Edit::copy(), Tracks::copy_automation(), KeyframePopupCopy::handle_event(), SharedLocation::save(), Labels::save(), Channel::save(), BatchRenderJob::save(), EDLSession::save_audio_config(), PluginAClientLAD::save_data(), VTrack::save_header(), ATrack::save_header(), EDLSession::save_video_config(), Transition::save_xml(), LocalSession::save_xml(), EDLSession::save_xml(), AutoConf::save_xml(), set_property(), Asset::write(), Asset::write_audio(), Asset::write_index(), and Asset::write_video().

int XMLTag::set_title char *  text  ) 
 

Definition at line 690 of file filexml.C.

References tag_title.

Referenced by Track::copy(), PluginSet::copy(), Plugin::copy(), PanAuto::copy(), MaskAuto::copy(), SubMask::copy(), Labels::copy(), KeyFrame::copy(), IntAuto::copy(), FloatAuto::copy(), EDL::copy(), Edits::copy(), Edit::copy(), Automation::copy(), EDL::copy_assets(), Tracks::copy_automation(), Track::copy_automation(), VTrack::copy_automation_derived(), PluginSet::copy_keyframes(), KeyframePopupCopy::handle_event(), SharedLocation::save(), Patch::save(), Labels::save(), Channel::save(), BatchRenderJob::save(), Assets::save(), EDLSession::save_audio_config(), PluginAClientLAD::save_data(), BatchRenderThread::save_jobs(), EDLSession::save_video_config(), Transition::save_xml(), LocalSession::save_xml(), EDLSession::save_xml(), Asset::write(), Asset::write_audio(), Asset::write_index(), and Asset::write_video().

int XMLTag::test_property char *  property,
char *  value
 

Definition at line 573 of file filexml.C.

References tag_properties, tag_property_values, and total_properties.

int XMLTag::title_is char *  title  ) 
 

Definition at line 556 of file filexml.C.

References tag_title.

Referenced by Track::load(), PluginSet::load(), Plugin::load(), Patch::load(), MaskAuto::load(), SubMask::load(), Labels::load(), Channel::load(), BatchRenderJob::load(), Autos::load(), Automation::load(), Assets::load(), VTrack::load_derived(), Edits::load_edit(), BatchRenderThread::load_jobs(), Transition::load_xml(), EDL::load_xml(), Autos::paste(), Automation::paste(), Tracks::paste_automation(), Track::paste_automation(), VTrack::paste_derived(), PluginSet::paste_keyframes(), Asset::read(), Asset::read_audio(), PluginAClientLAD::read_data(), Asset::read_index(), Asset::read_video(), RecordEngine::run_script(), and MWindow::run_script().

int XMLTag::write_tag  ) 
 

Definition at line 391 of file filexml.C.

References left_delimiter, len, MAX_LENGTH, right_delimiter, string, tag_properties, tag_property_values, tag_title, and total_properties.

Referenced by FileXML::append_tag().


Member Data Documentation

char XMLTag::left_delimiter
 

Definition at line 57 of file filexml.h.

Referenced by read_tag(), and write_tag().

int XMLTag::len
 

Definition at line 53 of file filexml.h.

Referenced by FileXML::append_tag(), reset_tag(), write_tag(), and XMLTag().

char XMLTag::right_delimiter
 

Definition at line 57 of file filexml.h.

Referenced by read_tag(), and write_tag().

char XMLTag::string[MAX_LENGTH]
 

Definition at line 55 of file filexml.h.

Referenced by FileXML::append_tag(), read_tag(), and write_tag().

char* XMLTag::tag_properties[MAX_PROPERTIES]
 

Definition at line 49 of file filexml.h.

Referenced by get_property(), get_property_float(), get_property_int(), get_property_text(), read_tag(), reset_tag(), set_property(), test_property(), and write_tag().

char* XMLTag::tag_property_values[MAX_PROPERTIES]
 

Definition at line 50 of file filexml.h.

Referenced by get_property(), read_tag(), reset_tag(), set_property(), test_property(), and write_tag().

char XMLTag::tag_title[MAX_TITLE]
 

Definition at line 47 of file filexml.h.

Referenced by get_title(), read_tag(), set_title(), title_is(), and write_tag().

char XMLTag::temp_string[32]
 

Definition at line 56 of file filexml.h.

Referenced by get_property(), and set_property().

int XMLTag::total_properties
 

Definition at line 52 of file filexml.h.

Referenced by get_property(), get_property_float(), get_property_int(), get_property_text(), read_tag(), reset_tag(), set_property(), test_property(), write_tag(), and XMLTag().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:29 2006 for Cinelerra-svn by  doxygen 1.4.4