![]() |
neoGFX
Cross-platform C++ app/game engine
|
#include <xml.hpp>
Classes | |
| struct | error_no_root |
| struct | failed_to_open_file |
Public Types | |
| typedef Alloc | allocator_type |
| typedef xml_node< CharT, allocator_type > | node |
| typedef node::string | string |
| typedef node::node_ptr | node_ptr |
| typedef xml_element< CharT, allocator_type > | element |
| typedef element::attribute | attribute |
| typedef element::attribute_list | attribute_list |
| typedef xml_text< CharT, allocator_type > | text |
| typedef xml_comment< CharT, allocator_type > | comment |
| typedef xml_declaration< CharT, allocator_type > | declaration |
| typedef xml_cdata< CharT, allocator_type > | cdata |
| typedef xml_dtd< CharT, allocator_type > | dtd |
| typedef std::pair< string, string > | entity |
| typedef std::list< entity, typename std::allocator_traits< allocator_type >::template rebind_alloc< entity > > | entity_list |
Public Member Functions | |
| basic_xml (bool aStripWhitespace=false) | |
| basic_xml (const std::string &aPath, bool aStripWhitespace=false) | |
| void | clear () |
| const node & | document () const |
| node & | document () |
| const element & | root () const |
| element & | root () |
| bool | got_root () const |
| node::iterator | insert (node &aParent, typename node::iterator aPosition, const CharT *aName) |
| element & | append (node &aParent, const CharT *aName) |
| void | erase (node &aParent, typename node::iterator aPosition) |
| node::const_iterator | find (const node &aParent, const CharT *aName) const |
| node::iterator | find (node &aParent, const CharT *aName) |
| node::iterator | find_or_append (node &aParent, const CharT *aName) |
| bool | read (std::basic_istream< CharT > &aStream) |
| bool | write (std::basic_ostream< CharT > &aStream) |
| bool | error () const |
| void | set_indent (CharT aIndentChar, std::size_t aIndentCount=1) |
| void | set_strip_whitespace (bool aStripWhitespace) |
| typedef Alloc neolib::basic_xml< CharT, Alloc >::allocator_type |
| typedef element::attribute neolib::basic_xml< CharT, Alloc >::attribute |
| typedef element::attribute_list neolib::basic_xml< CharT, Alloc >::attribute_list |
| typedef xml_cdata<CharT, allocator_type> neolib::basic_xml< CharT, Alloc >::cdata |
| typedef xml_comment<CharT, allocator_type> neolib::basic_xml< CharT, Alloc >::comment |
| typedef xml_declaration<CharT, allocator_type> neolib::basic_xml< CharT, Alloc >::declaration |
| typedef xml_dtd<CharT, allocator_type> neolib::basic_xml< CharT, Alloc >::dtd |
| typedef xml_element<CharT, allocator_type> neolib::basic_xml< CharT, Alloc >::element |
| typedef std::list<entity, typename std::allocator_traits<allocator_type>::template rebind_alloc<entity> > neolib::basic_xml< CharT, Alloc >::entity_list |
| typedef xml_node<CharT, allocator_type> neolib::basic_xml< CharT, Alloc >::node |
| typedef node::node_ptr neolib::basic_xml< CharT, Alloc >::node_ptr |
| typedef node::string neolib::basic_xml< CharT, Alloc >::string |
| typedef xml_text<CharT, allocator_type> neolib::basic_xml< CharT, Alloc >::text |
| neolib::basic_xml< CharT, Alloc >::basic_xml | ( | bool | aStripWhitespace = false | ) |
|
inline |
| bool neolib::basic_xml< CharT, Alloc >::got_root | ( | ) | const |
| bool neolib::basic_xml< CharT, Alloc >::read | ( | std::basic_istream< CharT > & | aStream | ) |
| void neolib::basic_xml< CharT, Alloc >::set_indent | ( | CharT | aIndentChar, |
| std::size_t | aIndentCount = 1 |
||
| ) |
| void neolib::basic_xml< CharT, Alloc >::set_strip_whitespace | ( | bool | aStripWhitespace | ) |
| bool neolib::basic_xml< CharT, Alloc >::write | ( | std::basic_ostream< CharT > & | aStream | ) |