#include <genesis/utils/formats/nexus/writer.hpp>
Definition at line 55 of file utils/formats/nexus/writer.hpp.
Public Member Functions | |
NexusWriter ()=default | |
NexusWriter (NexusWriter &&)=default | |
NexusWriter (NexusWriter const &)=default | |
~NexusWriter ()=default | |
NexusWriter & | operator= (NexusWriter &&)=default |
NexusWriter & | operator= (NexusWriter const &)=default |
std::string | to_string (NexusDocument const &document) const |
Directly return a NexusDocument as a string in Nexus format. More... | |
void | write (NexusDocument const &document, std::shared_ptr< utils::BaseOutputTarget > target) const |
Write a NexusDocument to an output target, using the Nexus format. More... | |
|
default |
|
default |
|
default |
|
default |
|
default |
|
default |
std::string to_string | ( | NexusDocument const & | document | ) | const |
Directly return a NexusDocument as a string in Nexus format.
This might be useful in some cases.
Definition at line 61 of file utils/formats/nexus/writer.cpp.
void write | ( | NexusDocument const & | document, |
std::shared_ptr< utils::BaseOutputTarget > | target | ||
) | const |
Write a NexusDocument to an output target, using the Nexus format.
See the output target convenience functions utils::to_file(), utils::to_stream(), and utils::to_string() for examples of how to obtain a suitable output target.
Definition at line 49 of file utils/formats/nexus/writer.cpp.