XMLQMark Class
The XMLQMark class holds xml elements starting and ending with a '?'. More...
Header: | #include <XMLQMark> |
Inherits: | XMLElementEx |
Public Functions
XMLQMark(void) | |
virtual | ~XMLQMark() |
XMLQMark * | GetChild() |
XMLQMark * | GetNext() |
XMLQMark * | GetPrevious() |
Reimplemented Public Functions
virtual bool | Dump(FILE *pFile) |
virtual char * | Dump(char *pzBuffer) |
virtual void | Dump(XMLBuffer &strBuffer) |
virtual unsigned int | GetWriteBufferSize() |
virtual const char * | Parse(const char *pStart, unsigned int &nLineNumber) |
- 30 public functions inherited from XMLElementEx
- 37 public functions inherited from XMLPrimitive
Additional Inherited Members
- 1 static public member inherited from XMLPrimitive
Detailed Description
The XMLQMark class holds xml elements starting and ending with a '?'.
Example XMLQMark:
<?something attribute="1.0" someotherattribute="utf-8"?>
For the example above, use GetName() to retrieve 'something' and then use the XMLAttribute functions get the attributes.
Member Function Documentation
XMLQMark::XMLQMark(void)
Constructs an element of type e_XMLQMark.
[virtual]
XMLQMark::~XMLQMark()
Destructs the element.
[virtual]
bool XMLQMark::Dump(FILE *pFile)
Reimplemented from XMLPrimitive::Dump().
Appends this xml QMark to the open file in pFile.
[virtual]
char *XMLQMark::Dump(char *pzBuffer)
Reimplemented from XMLPrimitive::Dump().
Appends the content of this XMLQMark to pzBuffer.
[virtual]
void XMLQMark::Dump(XMLBuffer &strBuffer)
Reimplemented from XMLPrimitive::Dump().
Appends the content of this XMLQMark to strBuffer.
XMLQMark *XMLQMark::GetChild()
Gets the first child element of type XMLQMark, or nullptr if none.
XMLQMark *XMLQMark::GetNext()
Gets the next XMLPrimitive of type XMLQMark at this level, or nullptr if none.
XMLQMark *XMLQMark::GetPrevious()
Gets the previous XML primitive of type XMLQMark at this level , or nullptr if none.
[virtual]
unsigned int XMLQMark::GetWriteBufferSize()
Reimplemented from XMLPrimitive::GetWriteBufferSize().
Gets the size to allocate for this primitive.
[virtual]
const char *XMLQMark::Parse(const char *pStart, unsigned int &nLineNumber)
Reimplemented from XMLPrimitive::Parse().
Parses the XML QMark from the string given in pStart. nLineNumber is used for error-reporting. Returns char pointer to element after this, or nullptr on error
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.