Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

pugi::xml_text Class Reference

#include <ogdf/lib/pugixml/pugixml.h>

Public Member Functions

 xml_text ()
 
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
 
long long as_llong (long long def=0) const
 
const char_tas_string (const char_t *def=PUGIXML_TEXT("")) const
 
unsigned int as_uint (unsigned int def=0) const
 
unsigned long long as_ullong (unsigned long long def=0) const
 
xml_node data () const
 
bool empty () const
 
const char_tget () const
 
 operator unspecified_bool_type () const
 
bool operator! () const
 
xml_textoperator= (bool rhs)
 
xml_textoperator= (const char_t *rhs)
 
xml_textoperator= (double rhs)
 
xml_textoperator= (float rhs)
 
xml_textoperator= (int rhs)
 
xml_textoperator= (long long rhs)
 
xml_textoperator= (unsigned int rhs)
 
xml_textoperator= (unsigned long long rhs)
 
bool set (bool rhs)
 
bool set (const char_t *rhs)
 
bool set (double rhs)
 
bool set (float rhs)
 
bool set (int rhs)
 
bool set (long long rhs)
 
bool set (unsigned int rhs)
 
bool set (unsigned long long rhs)
 

Private Types

using unspecified_bool_type = void(*)(xml_text ***)
 

Private Member Functions

 xml_text (xml_node_struct *root)
 
xml_node_struct * _data () const
 
xml_node_struct * _data_new ()
 

Private Attributes

xml_node_struct * _root
 

Friends

class xml_node
 

Detailed Description

Definition at line 656 of file pugixml.h.

Member Typedef Documentation

◆ unspecified_bool_type

using pugi::xml_text::unspecified_bool_type = void (*)(xml_text***)
private

Definition at line 662 of file pugixml.h.

Constructor & Destructor Documentation

◆ xml_text() [1/2]

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

◆ xml_text() [2/2]

pugi::xml_text::xml_text ( )

Member Function Documentation

◆ _data()

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

◆ _data_new()

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

◆ 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_llong()

long long pugi::xml_text::as_llong ( long long  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

◆ as_ullong()

unsigned long long pugi::xml_text::as_ullong ( unsigned long long  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= ( bool  rhs)

◆ operator=() [2/8]

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

◆ operator=() [3/8]

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

◆ operator=() [4/8]

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

◆ operator=() [5/8]

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

◆ operator=() [6/8]

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

◆ operator=() [7/8]

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

◆ operator=() [8/8]

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

◆ set() [1/8]

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

◆ set() [2/8]

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

◆ set() [3/8]

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

◆ set() [4/8]

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

◆ set() [5/8]

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

◆ set() [6/8]

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

◆ set() [7/8]

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

◆ set() [8/8]

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

Friends And Related Function Documentation

◆ xml_node

friend class xml_node
friend

Definition at line 658 of file pugixml.h.

Member Data Documentation

◆ _root

xml_node_struct* pugi::xml_text::_root
private

Definition at line 660 of file pugixml.h.


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