PixelLightAPI
.
|
XML comment node. More...
#include <XmlComment.h>
Public Member Functions | |
PLCORE_API | XmlComment () |
Default constructor. | |
PLCORE_API | XmlComment (const String &sValue) |
Constructor. | |
PLCORE_API | XmlComment (const XmlComment &cSource) |
Copy constructor. | |
virtual PLCORE_API | ~XmlComment () |
Destructor. | |
XmlComment & | operator= (const XmlComment &cSource) |
Copy operator. | |
virtual PLCORE_API bool | Save (File &cFile, uint32 nDepth=0) override |
Save function. | |
virtual PLCORE_API String | ToString (uint32 nDepth=0) const override |
Output as string function. | |
virtual PLCORE_API const char * | Parse (const char *pszData, XmlParsingData *pData=nullptr, EEncoding nEncoding=EncodingUnknown) override |
Parse the given null terminated block of XML data. | |
virtual PLCORE_API XmlNode * | Clone () const override |
Create an exact duplicate of this node and return it. |
XML comment node.
PLCORE_API PLCore::XmlComment::XmlComment | ( | ) |
Default constructor.
PLCORE_API PLCore::XmlComment::XmlComment | ( | const String & | sValue | ) |
[in] | sValue | Value of this text node |
PLCORE_API PLCore::XmlComment::XmlComment | ( | const XmlComment & | cSource | ) |
Copy constructor.
[in] | cSource | Source to copy from |
virtual PLCORE_API PLCore::XmlComment::~XmlComment | ( | ) | [virtual] |
Destructor.
XmlComment & PLCore::XmlComment::operator= | ( | const XmlComment & | cSource | ) | [inline] |
Copy operator.
[in] | cSource | Source to copy from |
virtual PLCORE_API bool PLCore::XmlComment::Save | ( | File & | cFile, |
uint32 | nDepth = 0 |
||
) | [override, virtual] |
Save function.
[out] | cFile | File to write in, must be opened and writable |
[in] | nDepth | Current depth |
Implements PLCore::XmlBase.
virtual PLCORE_API String PLCore::XmlComment::ToString | ( | uint32 | nDepth = 0 | ) | const [override, virtual] |
Output as string function.
[in] | nDepth | Current depth |
Implements PLCore::XmlBase.
virtual PLCORE_API const char* PLCore::XmlComment::Parse | ( | const char * | pszData, |
XmlParsingData * | pData = nullptr , |
||
EEncoding | nEncoding = EncodingUnknown |
||
) | [override, virtual] |
Parse the given null terminated block of XML data.
[in] | pszData | Parsing data, if a null pointer, an error will be returned |
[in] | pData | Parsing data, can be a null pointer |
[in] | nEncoding | Encoding |
Implements PLCore::XmlBase.
virtual PLCORE_API XmlNode* PLCore::XmlComment::Clone | ( | ) | const [override, virtual] |
Create an exact duplicate of this node and return it.
Implements PLCore::XmlNode.
|