A toolkit for working with phylogenetic data.
v0.20.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
XmlDocument Class Reference

#include <genesis/utils/formats/xml/document.hpp>

Inherits XmlElement.

Detailed Description

Definition at line 205 of file xml/document.hpp.

Public Member Functions

virtual ~XmlDocument () override
 
void clear ()
 
- Public Member Functions inherited from XmlElement
 XmlElement ()
 
 XmlElement (const std::string &tag)
 
virtual ~XmlElement () override
 
XmlCommentappend_comment (const std::string &comment)
 
XmlElementappend_element (const std::string &tag)
 
XmlMarkupappend_markup (const std::string &text)
 
void clear ()
 
- Public Member Functions inherited from XmlValue
virtual ~XmlValue ()
 
bool is_comment ()
 
bool is_element ()
 
bool is_markup ()
 
Type type () const
 
std::string type_to_string () const
 

Public Attributes

StringMapType declarations
 
std::string xml_tag
 
- Public Attributes inherited from XmlElement
StringMapType attributes
 
std::vector< std::unique_ptr
< XmlValue > > 
content
 
std::string tag
 

Additional Inherited Members

- Static Public Member Functions inherited from XmlValue
static std::string type_to_string (const Type t)
 
- Public Types inherited from XmlElement
typedef std::unordered_map
< std::string, std::string > 
StringMapType
 
- Public Types inherited from XmlValue
enum  Type { kComment, kMarkup, kElement }
 
- Protected Member Functions inherited from XmlValue
 XmlValue (const Type type)
 Protected constructor that allows derived classes to set their value type. More...
 
- Protected Attributes inherited from XmlValue
const Type type_
 Stores the type of an object. Set by the constructor. More...
 

Constructor & Destructor Documentation

virtual ~XmlDocument ( )
inlineoverridevirtual

Definition at line 208 of file xml/document.hpp.

Member Function Documentation

void clear ( )
inline

Definition at line 213 of file xml/document.hpp.

Member Data Documentation

StringMapType declarations

Definition at line 221 of file xml/document.hpp.

std::string xml_tag

Definition at line 220 of file xml/document.hpp.


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