arsa  2.7
Public Member Functions | 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)
 
bool set (int rhs)
 
bool set (unsigned int rhs)
 
bool set (long rhs)
 
bool set (unsigned long rhs)
 
bool set (double rhs)
 
bool set (float rhs)
 
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 702 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xml_text()

pugi::xml_text::xml_text ( )

Member Function Documentation

◆ as_bool()

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

◆ as_double()

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

◆ as_float()

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

◆ as_int()

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

◆ as_string()

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

◆ as_uint()

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

◆ data()

xml_node pugi::xml_text::data ( ) const

◆ empty()

bool pugi::xml_text::empty ( ) const

◆ get()

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

◆ operator unspecified_bool_type()

pugi::xml_text::operator unspecified_bool_type ( ) const

◆ operator!()

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

◆ operator=() [1/8]

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

◆ operator=() [2/8]

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

◆ operator=() [3/8]

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

◆ operator=() [4/8]

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

◆ operator=() [5/8]

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

◆ operator=() [6/8]

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

◆ operator=() [7/8]

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

◆ operator=() [8/8]

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

◆ set() [1/8]

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

◆ set() [2/8]

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

◆ set() [3/8]

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

◆ set() [4/8]

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

◆ set() [5/8]

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

◆ set() [6/8]

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

◆ set() [7/8]

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

◆ set() [8/8]

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

Friends And Related Function Documentation

◆ xml_node

friend class xml_node
friend

Definition at line 704 of file pugixml.hpp.


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