exml::internal::Comment Class Reference
#include <Comment.hpp>
Inheritance diagram for exml::internal::Comment:
Static Public Member Functions | |
static ememory::SharedPtr< exml::internal::Comment > | create (const std::string &_value="") |
Additional Inherited Members | |
Protected Member Functions inherited from exml::internal::Node | |
Node () | |
Node (const std::string &_value) | |
void | addIndent (std::string &_data, int32_t _indent) const |
void | drawElementParsed (char32_t _val, const exml::FilePos &_filePos) const |
bool | checkAvaillable (char32_t _val, bool _firstChar) const |
int32_t | countWhiteChar (const std::string &_data, int32_t _pos, exml::FilePos &_filePos) const |
Protected Attributes inherited from exml::internal::Node | |
exml::FilePos | m_pos |
std::string | m_value |
Detailed Description
Comment node: <!– ... –>.
Constructor & Destructor Documentation
§ Comment()
|
inline |
Constructor.
- Parameters
-
[in] _value comment value
Member Function Documentation
§ create()
|
static |
§ getType()
|
inlineoverridevirtual |
§ iGenerate()
|
overridevirtual |
generate a string with the tree of the xml
- Parameters
-
[in,out] _data string where to add the elements [in] _indent current indentation of the file
- Returns
- false if an error occured.
Reimplemented from exml::internal::Node.
§ iParse()
|
overridevirtual |
parse the Current node [pure VIRUAL]
- Parameters
-
[in] _data data string to parse. [in,out] _pos position in the string to start parse, return the position end of parsing. [in] _caseSensitive Request a parsion of element that is not case sensitive (all element is in low case) [in,out] _filePos file parsing position (line x col x) [in,out] _doc Base document reference
- Returns
- false if an error occured.
Implements exml::internal::Node.
§ toComment() [1/2]
|
inlineoverridevirtual |
Cast the element in a Comment if it is possible.
- Returns
- pointer on the class or nullptr.
Reimplemented from exml::internal::Node.
§ toComment() [2/2]
|
inlineoverridevirtual |
Cast the element in a Comment if it is possible.
- Returns
- CONST pointer on the class or nullptr.
Reimplemented from exml::internal::Node.
The documentation for this class was generated from the following file:
- framework/atria-soft/exml/exml/internal/Comment.hpp