|
ponder
3.2
C++ reflection library
|
#include <serialise.hpp>
Public Types | |
| using | ArchiveType = ARCHIVE |
| using | NodeType = typename ArchiveType::Node |
Public Member Functions | |
| ArchiveWriter (ArchiveType &archive) | |
| void | write (NodeType parent, const UserObject &object) |
For writing archive requires the following concepts:
class Archive { public: NodeType beginChild(NodeType parent, const std::string& name); void setText(NodeType node, const std::string& text); bool isValid(NodeType node); };