XMLWhiteSpace Class
The XMLWhitespace is a helper class to hold and parse XML white-spaces. More...
Header: | #include <XMLWhiteSpace> |
Public Functions
XMLWhiteSpace(void) | |
virtual bool | Dump(FILE *pFile) |
virtual char * | Dump(char *pzBuffer) |
virtual void | Dump(XMLBuffer &strBuffer) |
unsigned int | GetLength() |
unsigned int | GetWriteBufferSize() |
virtual const char * | Parse(const char *pStart, unsigned int &nLineNumber) |
void | Set(const char *pStart, int nLength = -1) |
Detailed Description
The XMLWhitespace is a helper class to hold and parse XML white-spaces.
Member Function Documentation
XMLWhiteSpace::XMLWhiteSpace(void)
Constructs the white-space.
[virtual]
bool XMLWhiteSpace::Dump(FILE *pFile)
Appends the white-spaces to an open file pFile.
[virtual]
char *XMLWhiteSpace::Dump(char *pzBuffer)
Appends the white-spaces to pzBuffer.
[virtual]
void XMLWhiteSpace::Dump(XMLBuffer &strBuffer)
Appends the white-spaces to strBuffer.
unsigned int XMLWhiteSpace::GetLength()
Gets the length of the white-spaces.
unsigned int XMLWhiteSpace::GetWriteBufferSize()
Returns the buffer-size required for the white-spaces.
[virtual]
const char *XMLWhiteSpace::Parse(const char *pStart, unsigned int &nLineNumber)
Parses white-spaces from pStart, returning a pointer to the first non-white-space character after.
void XMLWhiteSpace::Set(const char *pStart, int nLength = -1)
Sets the content of the white-space from pStart limited by nLength.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.