#include <filexml.h>
Public Member Functions | |
| FileXML (char left_delimiter= '<', char right_delimiter= '>') | |
| ~FileXML () | |
| void | dump () |
| int | terminate_string () |
| int | append_newline () |
| int | append_tag () |
| int | append_text (char *text) |
| int | append_text (char *text, long len) |
| int | encode_text (char *text) |
| char * | read_text () |
| int | read_text_until (char *tag_end, char *output, int max_len) |
| int | read_tag () |
| int | write_to_file (char *filename) |
| int | write_to_file (FILE *file) |
| int | read_from_file (char *filename, int ignore_error=0) |
| int | read_from_string (char *string) |
| int | reallocate_string (long new_available) |
| int | set_shared_string (char *shared_string, long available) |
| int | rewind () |
Public Attributes | |
| char * | string |
| long | position |
| long | length |
| long | available |
| int | share_string |
| XMLTag | tag |
| long | output_length |
| char * | output |
| char | left_delimiter |
| char | right_delimiter |
| char | filename [1024] |
Definition at line 61 of file filexml.h.
|
||||||||||||
|
Definition at line 18 of file filexml.C. References available, length, output_length, position, XMLTag::set_delimiters(), share_string, string, and tag. |
|
|
Definition at line 31 of file filexml.C. References output, output_length, share_string, and string. |
|
|
|
||||||||||||
|
Definition at line 77 of file filexml.C. References available, position, reallocate_string(), and string. |
|
|
Definition at line 71 of file filexml.C. Referenced by append_newline(), append_tag(), Track::copy(), SubMask::copy(), KeyFrame::copy(), EDL::copy(), encode_text(), Patch::save(), Channel::save(), BatchRenderJob::save(), terminate_string(), and Asset::write(). |
|
|
Definition at line 37 of file filexml.C. References string. |
|
|
Definition at line 91 of file filexml.C. References append_text(). |
|
||||||||||||
|
Definition at line 307 of file filexml.C. References fclose(), fopen(), fread(), fseek(), ftell(), length, position, reallocate_string(), and string. Referenced by BatchRenderThread::calculate_dest_paths(), ChannelDB::load(), MWindow::load_filenames(), BatchRenderThread::load_jobs(), and Render::run(). |
|
|
Definition at line 334 of file filexml.C. References length, position, and reallocate_string(). Referenced by MWindow::paste(), MWindow::paste_automation(), MWindow::paste_default_keyframe(), RenderFarmClientThread::read_asset(), RenderFarmClientThread::read_edl(), IndexFile::read_info(), and MainUndoStackItem::undo(). |
|
|
|
Definition at line 139 of file filexml.C. References left_delimiter, length, output, output_length, position, and string. Referenced by Patch::load(), Channel::load(), BatchRenderJob::load(), EDL::load_xml(), and Asset::read(). |
|
||||||||||||||||
|
Definition at line 212 of file filexml.C. References left_delimiter, length, position, and string. Referenced by Track::load(), SubMask::load(), KeyFrame::load(), and PluginSet::paste_keyframes(). |
|
|
Definition at line 126 of file filexml.C. References available, position, share_string, and string. Referenced by append_text(), read_from_file(), and read_from_string(). |
|
|
Definition at line 48 of file filexml.C. References length, position, string, and terminate_string(). Referenced by EDL::copy(), and Tracks::move_edits(). |
|
||||||||||||
|
Definition at line 344 of file filexml.C. References length, position, share_string, and string. Referenced by PluginAClientLAD::read_data(), and PluginAClientLAD::save_data(). |
|
|
Definition at line 42 of file filexml.C. References append_text(). Referenced by MainUndo::capture_state(), EDL::copy(), Tracks::copy_automation(), Save::handle_event(), KeyframePopupCopy::handle_event(), Tracks::move_edits(), rewind(), SaveAs::run(), ChannelDB::save(), MWindow::save_backup(), PluginAClientLAD::save_data(), RenderFarmServerThread::send_asset(), and RenderFarmServerThread::send_edl(). |
|
|
|
|
|
Definition at line 257 of file filexml.C. References fclose(), fopen(), fwrite(), and string. Referenced by Save::handle_event(), SaveAs::run(), ChannelDB::save(), MWindow::save_backup(), BatchRenderThread::save_jobs(), and Asset::write_index(). |
|
|
Definition at line 95 of file filexml.h. Referenced by append_text(), FileXML(), and reallocate_string(). |
|
|
Definition at line 102 of file filexml.h. Referenced by Edits::load_edit(), Asset::read(), and write_to_file(). |
|
|
Definition at line 101 of file filexml.h. Referenced by read_tag(), read_text(), and read_text_until(). |
|
|
Definition at line 94 of file filexml.h. Referenced by FileXML(), read_from_file(), read_from_string(), read_tag(), read_text(), read_text_until(), rewind(), and set_shared_string(). |
|
|
Definition at line 100 of file filexml.h. Referenced by read_text(), and ~FileXML(). |
|
|
Definition at line 99 of file filexml.h. Referenced by FileXML(), read_text(), and ~FileXML(). |
|
|
Definition at line 93 of file filexml.h. Referenced by append_text(), FileXML(), read_from_file(), read_from_string(), read_tag(), read_text(), read_text_until(), reallocate_string(), rewind(), and set_shared_string(). |
|
|
|
|
|
Definition at line 96 of file filexml.h. Referenced by FileXML(), reallocate_string(), set_shared_string(), and ~FileXML(). |
|
|
1.4.4