A library for working with phylogenetic and population genetic data.
v0.27.0
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() [1/2]

XmlComment ( )
inline

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

◆ XmlComment() [2/2]

XmlComment ( const std::string &  comment)
inline

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

Member Data Documentation

◆ content

std::string content

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


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