#include <Document.h>
Public Member Functions | |
Document () | |
construct document class | |
virtual | ~Document () |
Destruct document, document's header and all document's elements. | |
DocumentHeader * | getHeader () |
Function return pointer to DocumentHeader class. | |
void | setHeader (DocumentHeader *header) |
Function set header for document.Old header is deleted. | |
ElementItem * | getRootElement () |
Function return pointer to root ElementItem class. | |
void | setRootElement (ElementItem *root) |
Function set root element for document.Old root element with his child elements can be deleted. | |
unsigned int | parseAja (const buffer_t buffer, unsigned int size, unsigned int pos) |
Function try parse a data in buffer and when parsing is OK, then ol root and header can be deleted and replaced by new parsed root and header. | |
bool | buildAjaDoc (OutputBuffer *out) |
Function complete build AJA Document with header and elements and result write into OutputBuffer. | |
bool | buildXmlDoc (OutputBuffer *out) |
Function build XML from document structure. |
Class contain functions for building and parsing AJA data.Converting it into XML or conver XML to AJA etc.
|
construct document class
|
|
Destruct document, document's header and all document's elements.
|
|
Function complete build AJA Document with header and elements and result write into OutputBuffer. Before writting into buffer, output buffer is erased and old content of buffer lost.
|
|
Function build XML from document structure. Before writting into buffer, output buffer is erased and old content of buffer lost.When is builded XML, then is exploring translation table for every Element and Attribute ID.
|
|
Function return pointer to DocumentHeader class.
|
|
Function return pointer to root ElementItem class.
|
|
Function try parse a data in buffer and when parsing is OK, then ol root and header can be deleted and replaced by new parsed root and header.
|
|
Function set header for document.Old header is deleted.
|
|
Function set root element for document.Old root element with his child elements can be deleted.
|