neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::xml_text< CharT, Alloc > Class Template Reference

#include <xml.hpp>

Inheritance diagram for neolib::xml_text< CharT, Alloc >:
neolib::xml_node< CharT, Alloc >

Public Types

typedef xml_node< CharT, Allocnode
 
typedef node::string string
 
- Public Types inherited from neolib::xml_node< CharT, Alloc >
enum  type_e {
  Document = 0x1 , Element = 0x2 , Text = 0x4 , Comment = 0x8 ,
  Declaration = 0x10 , Cdata = 0x20 , Dtd = 0x40 , All = 0xFF
}
 
typedef Alloc allocator_type
 
typedef basic_quick_string< CharTstring
 
typedef xml_node< CharT, allocator_typenode
 
typedef nodenode_ptr
 

Public Member Functions

 xml_text (const string &aContent=string())
 
const stringcontent () const
 
stringcontent ()
 
- Public Member Functions inherited from neolib::xml_node< CharT, Alloc >
 xml_node (type_e aType=Document)
 
virtual ~xml_node ()
 
type_e type () const
 
bool empty () const
 
const nodeback () const
 
nodeback ()
 
const_iterator begin (type_e aFilter=All) const
 
const_iterator end (type_e aFilter=All) const
 
iterator begin (type_e aFilter=All)
 
iterator end (type_e aFilter=All)
 
const_iterator find (const string &aName) const
 
std::optional< const_iteratorfind_maybe (const string &aName) const
 
template<typename Exception >
const_iterator find_or_throw (const string &aName) const
 
iterator find (const string &aName)
 
std::optional< iteratorfind_maybe (const string &aName)
 
iterator find_or_append (const string &aName)
 
template<typename Exception >
iterator find_or_throw (const string &aName)
 
void push_back (node_ptr aNode)
 
iterator insert (iterator aIterator, node_ptr aNode)
 
void erase (iterator aIterator)
 
void clear ()
 

Static Public Member Functions

static voidoperator new (std::size_t)
 
static void operator delete (void *ptr)
 

Detailed Description

template<typename CharT, typename Alloc = std::allocator<CharT>>
class neolib::xml_text< CharT, Alloc >

Definition at line 284 of file xml.hpp.

Member Typedef Documentation

◆ node

template<typename CharT , typename Alloc = std::allocator<CharT>>
typedef xml_node<CharT, Alloc> neolib::xml_text< CharT, Alloc >::node

Definition at line 293 of file xml.hpp.

◆ string

template<typename CharT , typename Alloc = std::allocator<CharT>>
typedef node::string neolib::xml_text< CharT, Alloc >::string

Definition at line 294 of file xml.hpp.

Constructor & Destructor Documentation

◆ xml_text()

template<typename CharT , typename Alloc = std::allocator<CharT>>
neolib::xml_text< CharT, Alloc >::xml_text ( const string aContent = string())
inline

Definition at line 298 of file xml.hpp.

Member Function Documentation

◆ content() [1/2]

template<typename CharT , typename Alloc = std::allocator<CharT>>
string & neolib::xml_text< CharT, Alloc >::content ( )
inline

Definition at line 303 of file xml.hpp.

◆ content() [2/2]

template<typename CharT , typename Alloc = std::allocator<CharT>>
const string & neolib::xml_text< CharT, Alloc >::content ( ) const
inline

Definition at line 302 of file xml.hpp.

◆ operator delete()

template<typename CharT , typename Alloc = std::allocator<CharT>>
static void neolib::xml_text< CharT, Alloc >::operator delete ( void ptr)
inlinestatic

Definition at line 289 of file xml.hpp.

◆ operator new()

template<typename CharT , typename Alloc = std::allocator<CharT>>
static void * neolib::xml_text< CharT, Alloc >::operator new ( std::size_t  )
inlinestatic

Definition at line 288 of file xml.hpp.


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