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

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

Inherits XmlValue.

Detailed Description

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

Public Member Functions

 XmlComment ()
 
 XmlComment (const std::string &comment)
 
- 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

std::string content
 

Additional Inherited Members

- Static Public Member Functions inherited from XmlValue
static std::string type_to_string (const Type t)
 
- 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

XmlComment ( )
inline

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

XmlComment ( const std::string &  comment)
inline

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

Member Data Documentation

std::string content

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


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