libcxml
 All Classes Functions
Public Member Functions | List of all members
cxml::Document Class Reference
Inheritance diagram for cxml::Document:
cxml::Node

Public Member Functions

 Document (std::string root_name)
 
 Document (std::string root_name, boost::filesystem::path)
 
void read_file (boost::filesystem::path)
 
void read_stream (std::istream &)
 
void read_string (std::string)
 
std::string root_name () const
 
- Public Member Functions inherited from cxml::Node
 Node (xmlpp::Node *node)
 
std::string name () const
 
std::string string_child (std::string c) const
 
boost::optional< std::string > optional_string_child (std::string) const
 
bool bool_child (std::string) const
 
boost::optional< bool > optional_bool_child (std::string) const
 
template<class T >
number_child (std::string c) const
 
template<class T >
boost::optional< T > optional_number_child (std::string c) const
 
void ignore_child (std::string) const
 
void done () const
 
std::string string_attribute (std::string) const
 
boost::optional< std::string > optional_string_attribute (std::string) const
 
bool bool_attribute (std::string) const
 
boost::optional< bool > optional_bool_attribute (std::string) const
 
template<class T >
number_attribute (std::string c) const
 
template<class T >
boost::optional< T > optional_number_attribute (std::string c) const
 
std::string content () const
 
std::string namespace_uri () const
 
std::string namespace_prefix () const
 
boost::shared_ptr< Nodenode_child (std::string) const
 
boost::shared_ptr< Nodeoptional_node_child (std::string) const
 
std::list< boost::shared_ptr
< Node > > 
node_children (std::string) const
 
xmlpp::Node * node () const
 

Additional Inherited Members

- Protected Attributes inherited from cxml::Node
xmlpp::Node * _node
 

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