#include <data_node_format.hpp>
Public Types | |
typedef SerializerT | serializer_type |
Public Member Functions | |
node_child_simple_formatter (serializer_type &ser, std::ostream &os, const std::string &prefix="", const std::string &suffix="\n") | |
Preconditions:. | |
template<typename NodeType> | |
bool | operator() (const NodeType *src) const |
Serializes src into this object's target container, using this object's serializer. |
Designed for use with std::for_each().
SerializerT must be compatible with data_node_serializer<>
.
Definition at line 794 of file data_node_format.hpp.
typedef SerializerT s11n::io::node_child_simple_formatter< SerializerT >::serializer_type |
Definition at line 796 of file data_node_format.hpp.
s11n::io::node_child_simple_formatter< SerializerT >::node_child_simple_formatter | ( | serializer_type & | ser, | |
std::ostream & | os, | |||
const std::string & | prefix = "" , |
|||
const std::string & | suffix = "\n" | |||
) | [inline] |
Preconditions:.
Definition at line 809 of file data_node_format.hpp.
bool s11n::io::node_child_simple_formatter< SerializerT >::operator() | ( | const NodeType * | src | ) | const [inline] |
Serializes src into this object's target container, using this object's serializer.
Definition at line 820 of file data_node_format.hpp.