A Marshaller which writes out the properties in MS .INI format. More...
#include <rtt/marsh/INIMarshaller.hpp>
Public Member Functions | |
INIMarshaller (output_stream &os) | |
virtual void | serialize (const PropertyBase *p) |
virtual void | serialize (const PropertyBag &v) |
Serialize the contents of a property bag with headers and footers. | |
virtual void | flush () |
Flush all buffers, write footers. | |
virtual void | serialize (PropertyBase *v)=0 |
Serialize a property. | |
Protected Member Functions | |
virtual void | introspect (const PropertyBase *v) |
virtual void | introspect (const Property< PropertyBag > &b) |
virtual void | introspect (PropertyBase *p)=0 |
Callback for a Property which is not a PropertyBag. | |
virtual void | introspect (Property< PropertyBag > &p)=0 |
Callback for a Property which is a PropertyBag. | |
Protected Attributes | |
output_stream & | _os |
A Marshaller which writes out the properties in MS .INI format.
Definition at line 55 of file INIMarshaller.hpp.
virtual void RTT::INIMarshaller< output_stream >::flush | ( | ) | [inline, virtual] |
Flush all buffers, write footers.
Instructs the Marshaller to flush any remaining buffered data and write a footer to indicate that serialization is done. A marshaller may choose to write nothing until this function is called, or print a summary, or anything else.
Implements RTT::Marshaller.
Definition at line 89 of file INIMarshaller.hpp.
virtual void RTT::Marshaller::serialize | ( | PropertyBase * | v | ) | [pure virtual, inherited] |
Serialize a property.
v | The property to be serialized. |
Implemented in RTT::CPFMarshaller< std::ostream >, RTT::EmptyHeaderMarshaller< o_stream >, RTT::EmptyMarshaller, RTT::Orocos1Marshaller< output_stream >, RTT::PropertyMarshaller, RTT::SimpleMarshaller< o_stream >, RTT::TableHeaderMarshaller< o_stream >, RTT::TableMarshaller< o_stream >, and RTT::XMLMarshaller< o_stream >.
virtual void RTT::INIMarshaller< output_stream >::serialize | ( | const PropertyBag & | v | ) | [inline, virtual] |
Serialize the contents of a property bag with headers and footers.
Use this method on your 'root' PropertyBag, such that headers and footers are written.
v | The property bag to be serialized. |
Implements RTT::Marshaller.
Definition at line 82 of file INIMarshaller.hpp.
References RTT::PropertyBag::identify().