xml_text Class Reference

xml_text Class Reference

#include <pugixml.hpp>

Class Description

Definition at line 591 of file 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="") 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 (double rhs)
 
bool set (bool rhs)
 
xml_textoperator= (const char_t *rhs)
 
xml_textoperator= (int rhs)
 
xml_textoperator= (unsigned int rhs)
 
xml_textoperator= (double rhs)
 
xml_textoperator= (bool rhs)
 
xml_node data () const
 

Friends

class xml_node
 

Constructor & Destructor Documentation

xml_text ( )

Member Function Documentation

bool as_bool ( bool  def = false) const
double as_double ( double  def = 0) const
float as_float ( float  def = 0) const
int as_int ( int  def = 0) const
const char_t* as_string ( const char_t def = "") const
unsigned int as_uint ( unsigned int  def = 0) const
xml_node data ( ) const
bool empty ( ) const
const char_t* get ( ) const
operator unspecified_bool_type ( ) const
bool operator! ( ) const
xml_text& operator= ( const char_t rhs)
xml_text& operator= ( int  rhs)
xml_text& operator= ( unsigned int  rhs)
xml_text& operator= ( double  rhs)
xml_text& operator= ( bool  rhs)
bool set ( const char_t rhs)
bool set ( int  rhs)
bool set ( unsigned int  rhs)
bool set ( double  rhs)
bool set ( bool  rhs)

Friends And Related Function Documentation

friend class xml_node
friend

Definition at line 593 of file pugixml.hpp.


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