basic-xml 1.0.1
Very basic loader/writer of XML tags with attributes and content.
Public Types | Public Member Functions | Private Attributes | List of all members
basic_xml::xml Class Reference

Public Types

typedef std::map< std::string, pointer_t > map_t
 
typedef std::shared_ptr< xmlpointer_t
 

Public Member Functions

 xml (std::string const &filename)
 
 xml (std::string const &filename, std::istream &in)
 
node::pointer_t root ()
 

Private Attributes

node::pointer_t f_root = node::pointer_t()
 

Detailed Description

Definition at line 40 of file xml.h.

Member Typedef Documentation

◆ map_t

typedef std::map<std::string, pointer_t> basic_xml::xml::map_t

Definition at line 45 of file xml.h.

◆ pointer_t

typedef std::shared_ptr<xml> basic_xml::xml::pointer_t

Definition at line 43 of file xml.h.

Constructor & Destructor Documentation

◆ xml() [1/2]

basic_xml::xml::xml ( std::string const &  filename)

Definition at line 117 of file xml.cpp.

◆ xml() [2/2]

basic_xml::xml::xml ( std::string const &  filename,
std::istream &  in 
)

Definition at line 132 of file xml.cpp.

Member Function Documentation

◆ root()

node::pointer_t basic_xml::xml::root ( )

Definition at line 138 of file xml.cpp.

Member Data Documentation

◆ f_root

node::pointer_t basic_xml::xml::f_root = node::pointer_t()
private

Definition at line 53 of file xml.h.


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

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.