|
libcrn
3.9.5
A document image processing library
|
XML text. More...
#include <CRNXml.h>
Inheritance diagram for crn::xml::Text:
Collaboration diagram for crn::xml::Text:Public Member Functions | |
| Text (const Text &)=default | |
| Text (Text &&)=default | |
| Text & | operator= (const Text &)=default |
| Text & | operator= (Text &&)=default |
| virtual | ~Text () override |
| Destructor. More... | |
| bool | IsCData () const |
| Is the text a CData? More... | |
| virtual StringUTF8 | GetValue () const override |
| Gets the content of the node. More... | |
Public Member Functions inherited from crn::xml::Node | |
| 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... | |
| 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 | |
| Text (tinyxml2::XMLText *t, const SCharsetConverter &c) | |
| Constructor. More... | |
Protected Member Functions inherited from crn::xml::Node | |
| Node (tinyxml2::XMLNode *n, const SCharsetConverter &c) | |
| Constructor. More... | |
Friends | |
| class | Element |
| class | Node |
| class | Document |
Additional Inherited Members | |
Protected Attributes inherited from crn::xml::Node | |
| SCharsetConverter | conv |
|
default |
|
default |
|
inlineoverridevirtual |
|
protected |
Constructor.
Constructor
| [in] | t | the inner node handle |
| [in] | c | a character set converter |
Definition at line 872 of file CRNXml.cpp.
|
overridevirtual |
Gets the content of the node.
Gets the content of the node
Reimplemented from crn::xml::Node.
Definition at line 888 of file CRNXml.cpp.
| bool Text::IsCData | ( | ) | const |
Is the text a CData?
Is the text a CData?
Definition at line 880 of file CRNXml.cpp.
1.8.6