#include <writeobj.hpp>
Inheritance diagram for ph::persist::xml::writeobj:
Definition at line 25 of file writeobj.hpp.
Public Member Functions | |
writeobj (std::ostream *stream, std::ostream *console) | |
virtual bool | start (const std::string &tagname) |
virtual bool | attr (const std::string &name, const std::string &value) |
virtual bool | data (const std::string &d) |
virtual bool | end (const std::string &tagname) |
|
Definition at line 31 of file writeobj.hpp. |
|
Start a new tag with the writer. Implements ph::common::object_writer. Definition at line 42 of file writeobj.cpp. |
|
Write out name/value pairs for the tag. Implements ph::common::object_writer. Definition at line 117 of file writeobj.cpp. |
|
Write out arbitrary data for the tag. Implements ph::common::object_writer. Definition at line 134 of file writeobj.cpp. |
|
End the tag. Note that it is usually possible for the implementation of the writer to save away the tag name, but for keeping the writers simple, it is included again. Implements ph::common::object_writer. Definition at line 78 of file writeobj.cpp. |