Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
List of all members  
  exml::internal::Text Class Reference
  #include <Text.hpp>
Inheritance diagram for exml::internal::Text:
  
 Static Public Member Functions | |
| static ememory::SharedPtr< exml::internal::Text > | create (const std::string &_data="") | 
Protected Member Functions | |
| Text () | |
| Text (const std::string &_data) | |
  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 | 
Additional Inherited Members | |
  Protected Attributes inherited from exml::internal::Node | |
| exml::FilePos | m_pos | 
| std::string | m_value | 
Detailed Description
Text node interface (internal data between two balise : <XXX> ALL here </XXX>.
Constructor & Destructor Documentation
§ Text() [1/2]
      
  | 
  inlineprotected | 
Constructor.
§ Text() [2/2]
      
  | 
  inlineprotected | 
Constructor.
- Parameters
 - 
  
[in] _data String data of the current Text  
Member Function Documentation
§ countLines()
| int32_t exml::internal::Text::countLines | ( | ) | const | 
count the number of line in the current text
- Returns
 - The number of lines
 
§ 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.
Reimplemented in exml::internal::TextCDATA.
§ 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.
Reimplemented in exml::internal::TextCDATA.
§ toText() [1/2]
      
  | 
  inlineoverridevirtual | 
Cast the element in a Text if it is possible.
- Returns
 - pointer on the class or nullptr.
 
Reimplemented from exml::internal::Node.
§ toText() [2/2]
      
  | 
  inlineoverridevirtual | 
Cast the element in a Text 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/Text.hpp
 
 Public Member Functions inherited from 
 1.8.12