libcrn
3.9.5
A document image processing library
|
XML comment. More...
#include <CRNXml.h>
Public Member Functions | |
Comment (const Comment &)=default | |
Comment (Comment &&)=default | |
Comment & | operator= (const Comment &)=default |
Comment & | operator= (Comment &&)=default |
virtual | ~Comment () override |
Destructor. More... | |
![]() | |
virtual | ~Node () |
Destructor. More... | |
Node (const Node &)=default | |
Node (Node &&)=default | |
Node & | operator= (const Node &)=default |
Node & | operator= (Node &&)=default |
bool | IsElement () |
Checks if the node is an element. More... | |
bool | IsComment () |
Checks if the node is a comment. More... | |
bool | IsText () |
Checks if the node is a text. More... | |
Element | AsElement () |
Converts to element. More... | |
Comment | AsComment () |
Converts to comment. More... | |
Text | AsText () |
Converts to text. More... | |
operator bool () const noexcept | |
Checks if the node is not null. More... | |
bool | operator! () const noexcept |
Checks if the node is null. More... | |
bool | operator== (const Node &other) const noexcept |
Comparison operator. More... | |
bool | operator!= (const Node &other) const noexcept |
Comparison operator. More... | |
virtual StringUTF8 | GetValue () const |
Gets the content of the node. More... | |
void | SetValue (const StringUTF8 &s) |
Sets the content of the node. More... | |
Node | GetParent () |
Gets the parent node if any. More... | |
Node | GetPreviousSibling () |
Gets the previous sibling node. More... | |
Node | GetNextSibling () |
Gets the next sibling node. More... | |
Node & | operator++ () |
Moves to the next sibling node. More... | |
Node | operator++ (int) |
Moves to the next sibling node. More... | |
Element | GetNextSiblingElement (const StringUTF8 &name="") |
Gets the next sibling element. More... | |
Element | GetPreviousSiblingElement (const StringUTF8 &name="") |
Gets the previous sibling element. More... | |
Protected Member Functions | |
Comment (tinyxml2::XMLComment *c, const SCharsetConverter &co) | |
Constructor. More... | |
![]() | |
Node (tinyxml2::XMLNode *n, const SCharsetConverter &c) | |
Constructor. More... | |
Friends | |
class | Element |
class | Node |
class | Document |
Additional Inherited Members | |
![]() | |
SCharsetConverter | conv |
|
default |
|
default |
|
inlineoverridevirtual |
|
protected |
Constructor.
Constructor
[in] | c | the inner node handle |
[in] | co | a character set converter |
Definition at line 859 of file CRNXml.cpp.