LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
pugi::xml_text Class Reference

#include <linguisticProcessing/common/tgv/pugixml.hpp>

Public Member Functions

 xml_text ()
 
 operator unspecified_bool_type () const
 
bool operator! () const
 
bool empty () const
 
const char_t * get () const
 
const char_t * as_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 (double rhs, int precision)
 
bool set (float rhs)
 
bool set (float rhs, int precision)
 
bool set (bool rhs)
 
xml_text & operator= (const char_t *rhs)
 
xml_text & operator= (int rhs)
 
xml_text & operator= (unsigned int rhs)
 
xml_text & operator= (long rhs)
 
xml_text & operator= (unsigned long rhs)
 
xml_text & operator= (double rhs)
 
xml_text & operator= (float rhs)
 
xml_text & operator= (bool rhs)
 
xml_node data () const
 

Friends

class xml_node
 

Detailed Description

Definition at line 731 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xml_text()

PUGI__FN pugi::xml_text::xml_text ( )

Definition at line 6454 of file pugixml.cpp.

Member Function Documentation

◆ as_bool()

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

Definition at line 6519 of file pugixml.cpp.

◆ as_double()

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

Definition at line 6505 of file pugixml.cpp.

◆ as_float()

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

Definition at line 6512 of file pugixml.cpp.

◆ as_int()

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

Definition at line 6491 of file pugixml.cpp.

◆ as_string()

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

Definition at line 6484 of file pugixml.cpp.

◆ as_uint()

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

Definition at line 6498 of file pugixml.cpp.

◆ data()

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

Definition at line 6690 of file pugixml.cpp.

◆ empty()

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

Definition at line 6472 of file pugixml.cpp.

◆ get()

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

Definition at line 6477 of file pugixml.cpp.

◆ operator unspecified_bool_type()

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

Definition at line 6462 of file pugixml.cpp.

◆ operator!()

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

Definition at line 6467 of file pugixml.cpp.

◆ operator=() [1/8]

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

Definition at line 6670 of file pugixml.cpp.

◆ operator=() [2/8]

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

Definition at line 6628 of file pugixml.cpp.

◆ operator=() [3/8]

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

Definition at line 6658 of file pugixml.cpp.

◆ operator=() [4/8]

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

Definition at line 6664 of file pugixml.cpp.

◆ operator=() [5/8]

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

Definition at line 6634 of file pugixml.cpp.

◆ operator=() [6/8]

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

Definition at line 6646 of file pugixml.cpp.

◆ operator=() [7/8]

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

Definition at line 6640 of file pugixml.cpp.

◆ operator=() [8/8]

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

Definition at line 6652 of file pugixml.cpp.

◆ set() [1/10]

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

Definition at line 6605 of file pugixml.cpp.

◆ set() [2/10]

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

Definition at line 6542 of file pugixml.cpp.

◆ set() [3/10]

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

Definition at line 6591 of file pugixml.cpp.

◆ set() [4/10]

PUGI__FN bool pugi::xml_text::set ( double  rhs,
int  precision 
)

Definition at line 6598 of file pugixml.cpp.

◆ set() [5/10]

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

Definition at line 6577 of file pugixml.cpp.

◆ set() [6/10]

PUGI__FN bool pugi::xml_text::set ( float  rhs,
int  precision 
)

Definition at line 6584 of file pugixml.cpp.

◆ set() [7/10]

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

Definition at line 6549 of file pugixml.cpp.

◆ set() [8/10]

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

Definition at line 6563 of file pugixml.cpp.

◆ set() [9/10]

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

Definition at line 6556 of file pugixml.cpp.

◆ set() [10/10]

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

Definition at line 6570 of file pugixml.cpp.

Friends And Related Symbol Documentation

◆ xml_node

friend class xml_node
friend

Definition at line 733 of file pugixml.hpp.


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