#include <Text.hpp>

Inheritance diagram for exml::internal::TextCDATA:
exml::internal::Text exml::internal::Node ememory::EnableSharedFromThis< Node > ememory::EnableSharedFromThisBase

Public Member Functions

bool iParse (const std::string &_data, int32_t &_pos, bool _caseSensitive, exml::FilePos &_filePos, exml::internal::Document &_doc) override
 
bool iGenerate (std::string &_data, int32_t _indent) const override
 
- Public Member Functions inherited from exml::internal::Text
int32_t countLines () const
 
enum nodeType getType () const override
 
ememory::SharedPtr< exml::internal::TexttoText () override
 
const ememory::SharedPtr< exml::internal::TexttoText () const override
 
- Public Member Functions inherited from exml::internal::Node
virtual ~Node ()=default
 
const exml::FilePosgetPos () const
 
virtual void setValue (std::string _value)
 
virtual const std::string & getValue () const
 
virtual ememory::SharedPtr< exml::internal::DocumenttoDocument ()
 
virtual const ememory::SharedPtr< exml::internal::DocumenttoDocument () const
 
virtual ememory::SharedPtr< exml::internal::AttributetoAttribute ()
 
virtual const ememory::SharedPtr< exml::internal::AttributetoAttribute () const
 
virtual ememory::SharedPtr< exml::internal::CommenttoComment ()
 
virtual const ememory::SharedPtr< exml::internal::CommenttoComment () const
 
virtual ememory::SharedPtr< exml::internal::DeclarationtoDeclaration ()
 
virtual const ememory::SharedPtr< exml::internal::DeclarationtoDeclaration () const
 
virtual ememory::SharedPtr< exml::internal::ElementtoElement ()
 
virtual const ememory::SharedPtr< exml::internal::ElementtoElement () const
 
bool isDocument () const
 
bool isAttribute () const
 
bool isComment () const
 
bool isDeclaration () const
 
bool isElement () const
 
bool isText () const
 
virtual void clear ()
 
- Public Member Functions inherited from ememory::EnableSharedFromThis< Node >
ememory::SharedPtr< EMEMORY_TYPE > sharedFromThis ()
 
const ememory::SharedPtr< EMEMORY_TYPE > sharedFromThis () const
 
ememory::WeakPtr< EMEMORY_TYPE > weakFromThis ()
 
const ememory::WeakPtr< EMEMORY_TYPE > weakFromThis () const
 

Static Public Member Functions

static ememory::SharedPtr< TextCDATAcreate ()
 
- Static Public Member Functions inherited from exml::internal::Text
static ememory::SharedPtr< exml::internal::Textcreate (const std::string &_data="")
 

Protected Member Functions

 TextCDATA ()
 
- Protected Member Functions inherited from exml::internal::Text
 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 for balise CDATA <![CDATA[*******]]>.

Constructor & Destructor Documentation

§ TextCDATA()

exml::internal::TextCDATA::TextCDATA ( )
inlineprotected

Constructor.

Member Function Documentation

§ create()

static ememory::SharedPtr<TextCDATA> exml::internal::TextCDATA::create ( )
static

defined factory

Returns
Shared pointer on the Text CDATA element

§ iGenerate()

bool exml::internal::TextCDATA::iGenerate ( std::string &  _data,
int32_t  _indent 
) const
overridevirtual

generate a string with the tree of the xml

Parameters
[in,out]_datastring where to add the elements
[in]_indentcurrent indentation of the file
Returns
false if an error occured.

Reimplemented from exml::internal::Text.

§ iParse()

bool exml::internal::TextCDATA::iParse ( const std::string &  _data,
int32_t &  _pos,
bool  _caseSensitive,
exml::FilePos _filePos,
exml::internal::Document _doc 
)
overridevirtual

parse the Current node [pure VIRUAL]

Parameters
[in]_datadata string to parse.
[in,out]_posposition in the string to start parse, return the position end of parsing.
[in]_caseSensitiveRequest a parsion of element that is not case sensitive (all element is in low case)
[in,out]_filePosfile parsing position (line x col x)
[in,out]_docBase document reference
Returns
false if an error occured.

Reimplemented from exml::internal::Text.


The documentation for this class was generated from the following file:
  • framework/atria-soft/exml/exml/internal/Text.hpp