ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
pugi::xml_text Class Reference

#include <pugixml.hpp>

Collaboration diagram for pugi::xml_text:
Collaboration graph
[legend]

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
 

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
 

Detailed Description

Definition at line 637 of file pugixml.hpp.

Member Typedef Documentation

◆ unspecified_bool_type

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

Definition at line 643 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xml_text() [1/2]

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

Definition at line 5497 of file pugixml.cpp.

◆ xml_text() [2/2]

PUGI__FN pugi::xml_text::xml_text ( )

Definition at line 5520 of file pugixml.cpp.

Member Function Documentation

◆ _data()

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

Definition at line 5499 of file pugixml.cpp.

References _root, pugi::xml_node_struct::first_child, is_text_node(), and pugi::xml_node_struct::next_sibling.

Referenced by _data_new(), as_bool(), as_double(), as_float(), as_int(), as_string(), as_uint(), data(), empty(), get(), operator unspecified_bool_type(), and operator!().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _data_new()

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

Definition at line 5511 of file pugixml.cpp.

References _data(), _root, get_metrics::d, pugi::node_pcdata, and xml_node.

Referenced by set().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ as_bool()

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

Definition at line 5581 of file pugixml.cpp.

References _data(), get_metrics::d, and get_value_bool().

Here is the call graph for this function:

◆ as_double()

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

Definition at line 5567 of file pugixml.cpp.

References _data(), get_metrics::d, and get_value_double().

Here is the call graph for this function:

◆ as_float()

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

Definition at line 5574 of file pugixml.cpp.

References _data(), get_metrics::d, and get_value_float().

Here is the call graph for this function:

◆ as_int()

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

Definition at line 5553 of file pugixml.cpp.

References _data(), get_metrics::d, and get_value_int().

Here is the call graph for this function:

◆ as_string()

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

Definition at line 5546 of file pugixml.cpp.

References _data(), and get_metrics::d.

Here is the call graph for this function:

◆ as_uint()

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

Definition at line 5560 of file pugixml.cpp.

References _data(), get_metrics::d, and get_value_uint().

Here is the call graph for this function:

◆ data()

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

Definition at line 5699 of file pugixml.cpp.

References _data(), and xml_node.

Here is the call graph for this function:

◆ empty()

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

Definition at line 5534 of file pugixml.cpp.

References _data().

Here is the call graph for this function:

◆ get()

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

Definition at line 5539 of file pugixml.cpp.

References _data(), get_metrics::d, and PUGIXML_TEXT.

Here is the call graph for this function:

◆ operator unspecified_bool_type()

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

Definition at line 5524 of file pugixml.cpp.

References _data(), and pugi::unspecified_bool_xml_text().

Here is the call graph for this function:

◆ operator!()

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

Definition at line 5529 of file pugixml.cpp.

References _data().

Here is the call graph for this function:

◆ operator=() [1/5]

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

Definition at line 5679 of file pugixml.cpp.

References set().

Here is the call graph for this function:

◆ operator=() [2/5]

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

Definition at line 5655 of file pugixml.cpp.

References set().

Here is the call graph for this function:

◆ operator=() [3/5]

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

Definition at line 5673 of file pugixml.cpp.

References set().

Here is the call graph for this function:

◆ operator=() [4/5]

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

Definition at line 5661 of file pugixml.cpp.

References set().

Here is the call graph for this function:

◆ operator=() [5/5]

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

Definition at line 5667 of file pugixml.cpp.

References set().

Here is the call graph for this function:

◆ set() [1/5]

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

Definition at line 5632 of file pugixml.cpp.

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

Here is the call graph for this function:

◆ set() [2/5]

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

Definition at line 5604 of file pugixml.cpp.

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

Referenced by operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set() [3/5]

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

Definition at line 5625 of file pugixml.cpp.

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

Here is the call graph for this function:

◆ set() [4/5]

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

Definition at line 5611 of file pugixml.cpp.

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

Here is the call graph for this function:

◆ set() [5/5]

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

Definition at line 5618 of file pugixml.cpp.

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

Here is the call graph for this function:

Friends And Related Function Documentation

◆ xml_node

friend class xml_node
friend

Definition at line 639 of file pugixml.hpp.

Referenced by _data_new(), and data().

Member Data Documentation

◆ _root

xml_node_struct* pugi::xml_text::_root
private

Definition at line 641 of file pugixml.hpp.

Referenced by _data(), and _data_new().


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