pugi::xml_text Class Reference

#include <pugixml.hpp>

Collaboration diagram for pugi::xml_text:

Collaboration graph
[legend]

List of all members.

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 (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


Detailed Description

Definition at line 587 of file pugixml.hpp.


Constructor & Destructor Documentation

PUGI__FN pugi::xml_text::xml_text (  ) 

Definition at line 4356 of file pugixml.cpp.


Member Function Documentation

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

Definition at line 4421 of file pugixml.cpp.

References get_value_bool(), and pugi::xml_node_struct::value.

Here is the call graph for this function:

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

Definition at line 4407 of file pugixml.cpp.

References get_value_double(), and pugi::xml_node_struct::value.

Here is the call graph for this function:

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

Definition at line 4414 of file pugixml.cpp.

References get_value_float(), and pugi::xml_node_struct::value.

Here is the call graph for this function:

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

Definition at line 4393 of file pugixml.cpp.

References get_value_int(), and pugi::xml_node_struct::value.

Here is the call graph for this function:

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

Definition at line 4386 of file pugixml.cpp.

References pugi::xml_node_struct::value.

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

Definition at line 4400 of file pugixml.cpp.

References get_value_uint(), and pugi::xml_node_struct::value.

Here is the call graph for this function:

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

Definition at line 4493 of file pugixml.cpp.

References xml_node.

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

Definition at line 4374 of file pugixml.cpp.

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

Definition at line 4379 of file pugixml.cpp.

References PUGIXML_TEXT, and pugi::xml_node_struct::value.

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

Definition at line 4364 of file pugixml.cpp.

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

Definition at line 4369 of file pugixml.cpp.

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

Definition at line 4487 of file pugixml.cpp.

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

Definition at line 4481 of file pugixml.cpp.

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

Definition at line 4475 of file pugixml.cpp.

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

Definition at line 4469 of file pugixml.cpp.

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

Definition at line 4463 of file pugixml.cpp.

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

Definition at line 4456 of file pugixml.cpp.

References pugi::xml_node_struct::header, set_value_convert(), and pugi::xml_node_struct::value.

Here is the call graph for this function:

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

Definition at line 4449 of file pugixml.cpp.

References pugi::xml_node_struct::header, set_value_convert(), and pugi::xml_node_struct::value.

Here is the call graph for this function:

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

Definition at line 4442 of file pugixml.cpp.

References pugi::xml_node_struct::header, set_value_convert(), and pugi::xml_node_struct::value.

Here is the call graph for this function:

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

Definition at line 4435 of file pugixml.cpp.

References pugi::xml_node_struct::header, set_value_convert(), and pugi::xml_node_struct::value.

Here is the call graph for this function:

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

Definition at line 4428 of file pugixml.cpp.

References pugi::xml_node_struct::header, strcpy_insitu(), and pugi::xml_node_struct::value.

Here is the call graph for this function:


Friends And Related Function Documentation

friend class xml_node [friend]

Definition at line 589 of file pugixml.hpp.

Referenced by data().


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

Generated on Thu Jul 6 00:34:23 2017 for Moses by  doxygen 1.5.9