exml::Comment Class Reference

#include <Comment.hpp>

Inheritance diagram for exml::Comment:
exml::Node

Public Member Functions

 Comment (ememory::SharedPtr< exml::internal::Node > _internalNode)
 
 Comment (const exml::Comment &_obj)
 
 Comment (const std::string &_value="")
 
exml::Commentoperator= (const exml::Comment &_obj)
 
- Public Member Functions inherited from exml::Node
 Node (const ememory::SharedPtr< exml::internal::Node > &_internalNode)
 
 Node ()
 
virtual ~Node ()=default
 
bool exist () const
 
exml::FilePos getPos () const
 
virtual void setValue (std::string _value)
 
const std::string & getValue () const
 
enum nodeType getType () const
 
exml::Document toDocument ()
 
const exml::Document toDocument () const
 
exml::Attribute toAttribute ()
 
const exml::Attribute toAttribute () const
 
exml::Comment toComment ()
 
const exml::Comment toComment () const
 
exml::Declaration toDeclaration ()
 
const exml::Declaration toDeclaration () const
 
exml::Element toElement ()
 
const exml::Element toElement () const
 
exml::Text toText ()
 
const exml::Text toText () const
 
bool isDocument () const
 
bool isAttribute () const
 
bool isComment () const
 
bool isDeclaration () const
 
bool isElement () const
 
bool isText () const
 
virtual void clear ()
 

Additional Inherited Members

- Protected Attributes inherited from exml::Node
ememory::SharedPtr< exml::internal::Nodem_data
 

Detailed Description

Comment node: <!– ... –>.

Constructor & Destructor Documentation

§ Comment() [1/3]

exml::Comment::Comment ( ememory::SharedPtr< exml::internal::Node _internalNode)

Constructor.

Parameters
[in]_internalNodeInternal Node to set data

§ Comment() [2/3]

exml::Comment::Comment ( const exml::Comment _obj)

Copy constructor.

Parameters
[in]_objObject to copy

§ Comment() [3/3]

exml::Comment::Comment ( const std::string &  _value = "")

Constructor.

Parameters
[in]_valuecomment value

Member Function Documentation

§ operator=()

exml::Comment& exml::Comment::operator= ( const exml::Comment _obj)

Copy constructor.

Parameters
[in]_objObject to copy
Returns
A reference on the local Object

The documentation for this class was generated from the following file: