HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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)
 
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
 

Friends

class xml_node
 

Detailed Description

Definition at line 743 of file pugixml.hpp.

Constructor & Destructor Documentation

PUGI__FN pugi::xml_text::xml_text ( )

Definition at line 6455 of file pugixml.cpp.

Member Function Documentation

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

Definition at line 6520 of file pugixml.cpp.

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

Definition at line 6506 of file pugixml.cpp.

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

Definition at line 6513 of file pugixml.cpp.

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

Definition at line 6492 of file pugixml.cpp.

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

Definition at line 6485 of file pugixml.cpp.

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

Definition at line 6499 of file pugixml.cpp.

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

Definition at line 6691 of file pugixml.cpp.

PUGI__FN bool pugi::xml_text::empty ( void  ) const

Definition at line 6473 of file pugixml.cpp.

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

Definition at line 6478 of file pugixml.cpp.

pugi::xml_text::operator unspecified_bool_type ( ) const
PUGI__FN bool pugi::xml_text::operator! ( void  ) const

Definition at line 6468 of file pugixml.cpp.

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

Definition at line 6629 of file pugixml.cpp.

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

Definition at line 6635 of file pugixml.cpp.

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

Definition at line 6641 of file pugixml.cpp.

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

Definition at line 6647 of file pugixml.cpp.

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

Definition at line 6653 of file pugixml.cpp.

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

Definition at line 6659 of file pugixml.cpp.

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

Definition at line 6665 of file pugixml.cpp.

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

Definition at line 6671 of file pugixml.cpp.

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

Definition at line 6543 of file pugixml.cpp.

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

Definition at line 6550 of file pugixml.cpp.

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

Definition at line 6557 of file pugixml.cpp.

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

Definition at line 6564 of file pugixml.cpp.

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

Definition at line 6571 of file pugixml.cpp.

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

Definition at line 6592 of file pugixml.cpp.

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

Definition at line 6599 of file pugixml.cpp.

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

Definition at line 6578 of file pugixml.cpp.

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

Definition at line 6585 of file pugixml.cpp.

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

Definition at line 6606 of file pugixml.cpp.

Friends And Related Function Documentation

friend class xml_node
friend

Definition at line 745 of file pugixml.hpp.


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