#include <genesis/utils/formats/nexus/document.hpp>
Definition at line 54 of file nexus/document.hpp.
Public Member Functions | |
NexusDocument ()=default | |
NexusDocument (NexusDocument &&)=default | |
~NexusDocument ()=default | |
const_iterator | begin () const |
const_iterator | end () const |
NexusBlock * | get_block (std::string block_name) |
NexusBlock const * | get_block (std::string block_name) const |
bool | has_block (std::string block_name) const |
NexusDocument & | operator= (NexusDocument &&)=default |
NexusDocument & | operator= (NexusDocument const &)=default |
NexusBlock * | set_block (std::unique_ptr< NexusBlock > block) |
Public Types | |
using | const_iterator = container::const_iterator |
using | container = std::vector< std::unique_ptr< NexusBlock > > |
|
default |
|
default |
|
default |
|
inline |
Definition at line 107 of file nexus/document.hpp.
|
inline |
Definition at line 112 of file nexus/document.hpp.
NexusBlock * get_block | ( | std::string | block_name | ) |
Definition at line 56 of file nexus/document.cpp.
NexusBlock const * get_block | ( | std::string | block_name | ) | const |
Definition at line 45 of file nexus/document.cpp.
bool has_block | ( | std::string | block_name | ) | const |
Definition at line 40 of file nexus/document.cpp.
|
default |
|
default |
NexusBlock * set_block | ( | std::unique_ptr< NexusBlock > | block | ) |
Definition at line 71 of file nexus/document.cpp.
using const_iterator = container::const_iterator |
Definition at line 76 of file nexus/document.hpp.
using container = std::vector<std::unique_ptr<NexusBlock> > |
Definition at line 75 of file nexus/document.hpp.