NDDEM
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
pugi::xml_text Class Reference

#include <pugixml.hpp>

Public Member Functions

 xml_text ()
 
 operator unspecified_bool_type () const
 
bool operator! () const
 
bool empty () const
 
const char_tget () const
 
const char_tas_string (const char_t *def=PUGIXML_TEXT("")) const
 
int as_int (int def=0) const
 
unsigned int as_uint (unsigned int def=0) const
 
double as_double (double def=0) const
 
float as_float (float def=0) const
 
bool as_bool (bool def=false) const
 
bool set (const char_t *rhs, size_t sz)
 
bool set (const char_t *rhs)
 
bool set (int rhs)
 
bool set (unsigned int rhs)
 
bool set (long rhs)
 
bool set (unsigned long rhs)
 
bool set (double rhs)
 
bool set (double rhs, int precision)
 
bool set (float rhs)
 
bool set (float rhs, int precision)
 
bool set (bool rhs)
 
xml_textoperator= (const char_t *rhs)
 
xml_textoperator= (int rhs)
 
xml_textoperator= (unsigned int rhs)
 
xml_textoperator= (long rhs)
 
xml_textoperator= (unsigned long rhs)
 
xml_textoperator= (double rhs)
 
xml_textoperator= (float rhs)
 
xml_textoperator= (bool rhs)
 
xml_node data () const
 

Private Types

typedef void(* unspecified_bool_type) (xml_text ***)
 

Private Member Functions

 xml_text (xml_node_struct *root)
 
xml_node_struct_data_new ()
 
xml_node_struct_data () const
 

Private Attributes

xml_node_struct_root
 

Friends

class xml_node
 

Member Typedef Documentation

◆ unspecified_bool_type

typedef void(* pugi::xml_text::unspecified_bool_type) (xml_text ***)
private

Constructor & Destructor Documentation

◆ xml_text() [1/2]

PUGI_IMPL_FN pugi::xml_text::xml_text ( xml_node_struct root)
explicitprivate

◆ xml_text() [2/2]

PUGI_IMPL_FN pugi::xml_text::xml_text ( )

Member Function Documentation

◆ _data()

PUGI_IMPL_FN xml_node_struct * pugi::xml_text::_data ( ) const
private

◆ _data_new()

PUGI_IMPL_FN xml_node_struct * pugi::xml_text::_data_new ( )
private

◆ as_bool()

PUGI_IMPL_FN bool pugi::xml_text::as_bool ( bool  def = false) const

◆ as_double()

PUGI_IMPL_FN double pugi::xml_text::as_double ( double  def = 0) const

◆ as_float()

PUGI_IMPL_FN float pugi::xml_text::as_float ( float  def = 0) const

◆ as_int()

PUGI_IMPL_FN int pugi::xml_text::as_int ( int  def = 0) const

◆ as_string()

PUGI_IMPL_FN const char_t * pugi::xml_text::as_string ( const char_t def = PUGIXML_TEXT("")) const

◆ as_uint()

PUGI_IMPL_FN unsigned int pugi::xml_text::as_uint ( unsigned int  def = 0) const

◆ data()

PUGI_IMPL_FN xml_node pugi::xml_text::data ( ) const

◆ empty()

PUGI_IMPL_FN bool pugi::xml_text::empty ( ) const

◆ get()

PUGI_IMPL_FN const char_t * pugi::xml_text::get ( ) const

◆ operator unspecified_bool_type()

PUGI_IMPL_FN pugi::xml_text::operator xml_text::unspecified_bool_type ( ) const

◆ operator!()

PUGI_IMPL_FN bool pugi::xml_text::operator! ( ) const

◆ operator=() [1/8]

PUGI_IMPL_FN xml_text & pugi::xml_text::operator= ( bool  rhs)

◆ operator=() [2/8]

PUGI_IMPL_FN xml_text & pugi::xml_text::operator= ( const char_t rhs)

◆ operator=() [3/8]

PUGI_IMPL_FN xml_text & pugi::xml_text::operator= ( double  rhs)

◆ operator=() [4/8]

PUGI_IMPL_FN xml_text & pugi::xml_text::operator= ( float  rhs)

◆ operator=() [5/8]

PUGI_IMPL_FN xml_text & pugi::xml_text::operator= ( int  rhs)

◆ operator=() [6/8]

PUGI_IMPL_FN xml_text & pugi::xml_text::operator= ( long  rhs)

◆ operator=() [7/8]

PUGI_IMPL_FN xml_text & pugi::xml_text::operator= ( unsigned int  rhs)

◆ operator=() [8/8]

PUGI_IMPL_FN xml_text & pugi::xml_text::operator= ( unsigned long  rhs)

◆ set() [1/11]

PUGI_IMPL_FN bool pugi::xml_text::set ( bool  rhs)

◆ set() [2/11]

PUGI_IMPL_FN bool pugi::xml_text::set ( const char_t rhs)

◆ set() [3/11]

PUGI_IMPL_FN bool pugi::xml_text::set ( const char_t rhs,
size_t  sz 
)

◆ set() [4/11]

PUGI_IMPL_FN bool pugi::xml_text::set ( double  rhs)

◆ set() [5/11]

PUGI_IMPL_FN bool pugi::xml_text::set ( double  rhs,
int  precision 
)

◆ set() [6/11]

PUGI_IMPL_FN bool pugi::xml_text::set ( float  rhs)

◆ set() [7/11]

PUGI_IMPL_FN bool pugi::xml_text::set ( float  rhs,
int  precision 
)

◆ set() [8/11]

PUGI_IMPL_FN bool pugi::xml_text::set ( int  rhs)

◆ set() [9/11]

PUGI_IMPL_FN bool pugi::xml_text::set ( long  rhs)

◆ set() [10/11]

PUGI_IMPL_FN bool pugi::xml_text::set ( unsigned int  rhs)

◆ set() [11/11]

PUGI_IMPL_FN bool pugi::xml_text::set ( unsigned long  rhs)

Friends And Related Function Documentation

◆ xml_node

friend class xml_node
friend

Member Data Documentation

◆ _root

xml_node_struct* pugi::xml_text::_root
private

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