XMLTag Class Reference

#include <filexml.h>


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 ()

Data Fields

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 359 of file filexml.C.

References len, and total_properties.

XMLTag::~XMLTag (  ) 

Definition at line 365 of file filexml.C.

References reset_tag().

Here is the call graph for this function:


Member Function Documentation

int XMLTag::set_delimiters ( char  left_delimiter,
char  right_delimiter 
)

Definition at line 370 of file filexml.C.

Referenced by FileXML::FileXML().

int XMLTag::reset_tag (  ) 

Definition at line 377 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::read_tag ( char *  input,
long &  position,
long  length 
)

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(), SelTempAvgMain::nextkeyframeisoffsetrestart(), Autos::paste(), Automation::paste(), Tracks::paste_automation(), Track::paste_automation(), VTrack::paste_derived(), PluginSet::paste_keyframes(), Asset::read(), Asset::read_audio(), ZoomBlurMain::read_data(), YUVEffect::read_data(), WipeMain::read_data(), WhirlEffect::read_data(), WaveEffect::read_data(), UnsharpMain::read_data(), TranslateMain::read_data(), TitleMain::read_data(), TimeStretch::read_data(), TimeFrontMain::read_data(), TimeAvgMain::read_data(), Synth::read_data(), SwapMain::read_data(), SvgMain::read_data(), Spectrogram::read_data(), SlideMain::read_data(), ShiftInterlaceMain::read_data(), ShapeWipeMain::read_data(), RotateEffect::read_data(), RGB601Main::read_data(), ReverseVideo::read_data(), ReverseAudio::read_data(), Reverb::read_data(), Reroute::read_data(), ReframeRT::read_data(), RadialBlurMain::read_data(), SharpenMain::read_data(), PolarEffect::read_data(), PitchEffect::read_data(), PerspectiveMain::read_data(), ParametricEQ::read_data(), OverlayAudio::read_data(), Overlay::read_data(), OilEffect::read_data(), MotionBlurMain::read_data(), MotionMain::read_data(), LoopVideo::read_data(), LoopAudio::read_data(), LiveVideo::read_data(), LinearBlurMain::read_data(), SoundLevelEffect::read_data(), IVTCMain::read_data(), IrisSquareMain::read_data(), InvertVideoEffect::read_data(), InterpolateVideo::read_data(), InterpolatePixelsMain::read_data(), HueEffect::read_data(), HistogramMain::read_data(), GradientMain::read_data(), GammaMain::read_data(), Gain::read_data(), FreezeFrameMain::read_data(), FreeverbEffect::read_data(), FrameField::read_data(), FlipMain::read_data(), FieldFrame::read_data(), DownSampleMain::read_data(), DiffKey::read_data(), Despike::read_data(), DenoiseVideo::read_data(), SelTempAvgMain::read_data(), DenoiseMJPEG::read_data(), DenoiseFFTEffect::read_data(), DenoiseEffect::read_data(), DelayVideo::read_data(), DelayAudio::read_data(), DeInterlaceMain::read_data(), Decimate::read_data(), CompressorEffect::read_data(), ColorBalanceMain::read_data(), ChromaKeyHSV::read_data(), ChromaKey::read_data(), BrightnessMain::read_data(), BlurMain::read_data(), BandWipeMain::read_data(), BandSlideMain::read_data(), _720to480Main::read_data(), _1080to540Main::read_data(), ScaleMain::read_data(), PluginAClientLAD::read_data(), Asset::read_index(), Asset::read_video(), RecordEngine::run_script(), and MWindow::run_script().

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::get_title ( char *  value  ) 

Definition at line 567 of file filexml.C.

References tag_title.

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.

char * XMLTag::get_property_text ( int  number  ) 

Definition at line 611 of file filexml.C.

References tag_properties, and total_properties.

Referenced by RecordEngine::run_script().

int XMLTag::get_property_int ( int  number  ) 

Definition at line 619 of file filexml.C.

References tag_properties, and total_properties.

Referenced by RecordEngine::run_script().

float XMLTag::get_property_float ( int  number  ) 

Definition at line 627 of file filexml.C.

References tag_properties, and total_properties.

char * XMLTag::get_property ( char *  property  ) 

Definition at line 635 of file filexml.C.

References tag_properties, tag_property_values, and total_properties.

Referenced by RGBA::get_property(), 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(), SelTempAvgMain::nextkeyframeisoffsetrestart(), Plugin::paste(), Autos::paste(), Tracks::paste_automation(), ATrack::paste_derived(), PluginSet::paste_keyframes(), Asset::read(), Asset::read_audio(), ZoomBlurMain::read_data(), YUVEffect::read_data(), WipeMain::read_data(), WhirlEffect::read_data(), WaveEffect::read_data(), VideoScopeEffect::read_data(), UnsharpMain::read_data(), TranslateMain::read_data(), TitleMain::read_data(), TimeStretch::read_data(), TimeFrontMain::read_data(), TimeAvgMain::read_data(), ThresholdMain::read_data(), SynthOscillatorConfig::read_data(), Synth::read_data(), SwapMain::read_data(), SvgMain::read_data(), Spectrogram::read_data(), SlideMain::read_data(), ShiftInterlaceMain::read_data(), ShapeWipeMain::read_data(), RotateEffect::read_data(), RGB601Main::read_data(), ReverseVideo::read_data(), ReverseAudio::read_data(), Reverb::read_data(), Reroute::read_data(), ReframeRT::read_data(), RadialBlurMain::read_data(), SharpenMain::read_data(), PolarEffect::read_data(), PitchEffect::read_data(), PerspectiveMain::read_data(), ParametricEQ::read_data(), OverlayAudio::read_data(), Overlay::read_data(), OilEffect::read_data(), MotionBlurMain::read_data(), MotionMain::read_data(), LoopVideo::read_data(), LoopAudio::read_data(), LiveVideo::read_data(), LinearBlurMain::read_data(), SoundLevelEffect::read_data(), IVTCMain::read_data(), IrisSquareMain::read_data(), InvertVideoEffect::read_data(), InterpolateVideo::read_data(), InterpolatePixelsMain::read_data(), HueEffect::read_data(), HistogramMain::read_data(), GradientMain::read_data(), GammaMain::read_data(), Gain::read_data(), FreeverbEffect::read_data(), FrameField::read_data(), FieldFrame::read_data(), DownSampleMain::read_data(), DiffKey::read_data(), Despike::read_data(), DenoiseVideo::read_data(), SelTempAvgMain::read_data(), DenoiseMJPEG::read_data(), DenoiseFFTEffect::read_data(), DenoiseEffect::read_data(), DelayVideo::read_data(), DelayAudio::read_data(), DeInterlaceMain::read_data(), Decimate::read_data(), CompressorEffect::read_data(), ColorBalanceMain::read_data(), ChromaKeyHSV::read_data(), ChromaKey::read_data(), BrightnessMain::read_data(), BlurMain::read_data(), BandWipeMain::read_data(), BandSlideMain::read_data(), _720to480Main::read_data(), _1080to540Main::read_data(), ScaleMain::read_data(), PluginAClientLAD::read_data(), Asset::read_index(), and Asset::read_video().

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.

int32_t XMLTag::get_property ( char *  property,
int32_t  default_ 
)

Definition at line 649 of file filexml.C.

References get_property(), and temp_string.

Here is the call graph for this function:

int64_t XMLTag::get_property ( char *  property,
int64_t  default_ 
)

Definition at line 659 of file filexml.C.

References get_property(), and temp_string.

Here is the call graph for this function:

float XMLTag::get_property ( char *  property,
float  default_ 
)

Definition at line 681 of file filexml.C.

References get_property(), and temp_string.

Here is the call graph for this function:

double XMLTag::get_property ( char *  property,
double  default_ 
)

Definition at line 691 of file filexml.C.

References get_property(), and temp_string.

Here is the call graph for this function:

int XMLTag::set_title ( char *  text  ) 

Definition at line 701 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(), ZoomBlurMain::save_data(), YUVEffect::save_data(), WipeMain::save_data(), WhirlEffect::save_data(), WaveEffect::save_data(), VideoScopeEffect::save_data(), UnsharpMain::save_data(), TranslateMain::save_data(), TitleMain::save_data(), TimeStretch::save_data(), TimeFrontMain::save_data(), TimeAvgMain::save_data(), ThresholdMain::save_data(), SynthOscillatorConfig::save_data(), Synth::save_data(), SwapMain::save_data(), SvgMain::save_data(), Spectrogram::save_data(), SlideMain::save_data(), ShiftInterlaceMain::save_data(), ShapeWipeMain::save_data(), RotateEffect::save_data(), RGB601Main::save_data(), ReverseVideo::save_data(), ReverseAudio::save_data(), Reverb::save_data(), Reroute::save_data(), ReframeRT::save_data(), RadialBlurMain::save_data(), SharpenMain::save_data(), PolarEffect::save_data(), PitchEffect::save_data(), PerspectiveMain::save_data(), ParametricEQ::save_data(), OverlayAudio::save_data(), Overlay::save_data(), OilEffect::save_data(), MotionBlurMain::save_data(), MotionMain::save_data(), LoopVideo::save_data(), LoopAudio::save_data(), LiveVideo::save_data(), LinearBlurMain::save_data(), SoundLevelEffect::save_data(), IVTCMain::save_data(), IrisSquareMain::save_data(), InvertVideoEffect::save_data(), InterpolateVideo::save_data(), InterpolatePixelsMain::save_data(), HueEffect::save_data(), HistogramMain::save_data(), GradientMain::save_data(), GammaMain::save_data(), Gain::save_data(), FreezeFrameMain::save_data(), FreeverbEffect::save_data(), FrameField::save_data(), FlipMain::save_data(), FieldFrame::save_data(), DownSampleMain::save_data(), DiffKey::save_data(), Despike::save_data(), DenoiseVideo::save_data(), SelTempAvgMain::save_data(), DenoiseMJPEG::save_data(), DenoiseFFTEffect::save_data(), DenoiseEffect::save_data(), DelayVideo::save_data(), DelayAudio::save_data(), DeInterlaceMain::save_data(), Decimate::save_data(), CompressorEffect::save_data(), ColorBalanceMain::save_data(), ChromaKeyHSV::save_data(), ChromaKey::save_data(), BrightnessMain::save_data(), BlurMain::save_data(), BandWipeMain::save_data(), BandSlideMain::save_data(), _720to480Main::save_data(), _1080to540Main::save_data(), ScaleMain::save_data(), 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::set_property ( char *  text,
char *  value 
)

Definition at line 741 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(), ZoomBlurMain::save_data(), YUVEffect::save_data(), WipeMain::save_data(), WhirlEffect::save_data(), WaveEffect::save_data(), VideoScopeEffect::save_data(), UnsharpMain::save_data(), TranslateMain::save_data(), TitleMain::save_data(), TimeStretch::save_data(), TimeFrontMain::save_data(), TimeAvgMain::save_data(), ThresholdMain::save_data(), SynthOscillatorConfig::save_data(), Synth::save_data(), SwapMain::save_data(), SvgMain::save_data(), Spectrogram::save_data(), SlideMain::save_data(), ShiftInterlaceMain::save_data(), ShapeWipeMain::save_data(), RotateEffect::save_data(), RGB601Main::save_data(), ReverseVideo::save_data(), ReverseAudio::save_data(), Reverb::save_data(), Reroute::save_data(), ReframeRT::save_data(), RadialBlurMain::save_data(), SharpenMain::save_data(), PolarEffect::save_data(), PitchEffect::save_data(), PerspectiveMain::save_data(), ParametricEQ::save_data(), OverlayAudio::save_data(), Overlay::save_data(), OilEffect::save_data(), MotionBlurMain::save_data(), MotionMain::save_data(), LoopVideo::save_data(), LoopAudio::save_data(), LiveVideo::save_data(), LinearBlurMain::save_data(), SoundLevelEffect::save_data(), IVTCMain::save_data(), IrisSquareMain::save_data(), InvertVideoEffect::save_data(), InterpolateVideo::save_data(), InterpolatePixelsMain::save_data(), HueEffect::save_data(), HistogramMain::save_data(), GradientMain::save_data(), GammaMain::save_data(), Gain::save_data(), FreeverbEffect::save_data(), FrameField::save_data(), FieldFrame::save_data(), DownSampleMain::save_data(), DiffKey::save_data(), Despike::save_data(), DenoiseVideo::save_data(), SelTempAvgMain::save_data(), DenoiseMJPEG::save_data(), DenoiseFFTEffect::save_data(), DenoiseEffect::save_data(), DelayVideo::save_data(), DelayAudio::save_data(), DeInterlaceMain::save_data(), Decimate::save_data(), CompressorEffect::save_data(), ColorBalanceMain::save_data(), ChromaKeyHSV::save_data(), ChromaKey::save_data(), BrightnessMain::save_data(), BlurMain::save_data(), BandWipeMain::save_data(), BandSlideMain::save_data(), _720to480Main::save_data(), _1080to540Main::save_data(), ScaleMain::save_data(), 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(), RGBA::set_property(), set_property(), Asset::write(), Asset::write_audio(), Asset::write_index(), and Asset::write_video().

int XMLTag::set_property ( char *  text,
int32_t  value 
)

Definition at line 707 of file filexml.C.

References set_property(), and temp_string.

Here is the call graph for this function:

int XMLTag::set_property ( char *  text,
int64_t  value 
)

Definition at line 714 of file filexml.C.

References set_property(), and temp_string.

Here is the call graph for this function:

int XMLTag::set_property ( char *  text,
float  value 
)

Definition at line 721 of file filexml.C.

References set_property(), and temp_string.

Here is the call graph for this function:

int XMLTag::set_property ( char *  text,
double  value 
)

Definition at line 731 of file filexml.C.

References set_property(), and temp_string.

Here is the call graph for this function:

int XMLTag::write_tag (  ) 


Field Documentation

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::tag_properties[MAX_PROPERTIES]

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().

Definition at line 53 of file filexml.h.

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

char XMLTag::string[MAX_LENGTH]

Definition at line 55 of file filexml.h.

Referenced by FileXML::append_tag().

Definition at line 56 of file filexml.h.

Referenced by get_property(), and set_property().

Definition at line 57 of file filexml.h.

Referenced by read_tag(), and write_tag().

Definition at line 57 of file filexml.h.

Referenced by read_tag(), and write_tag().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:50:58 2008 for Cinelerra by  doxygen 1.5.5