Marshaller Class Reference
[Property Interface]

#include </home/sspr/src/www/orocos-1.0/export/build/orocos-rtt-1.2.2/build/rtt/Marshaller.hpp>

Inheritance diagram for Marshaller:

CPFMarshaller< std::ostream > EmptyHeaderMarshaller EmptyMarshaller INIMarshaller Orocos1Marshaller PropertyMarshaller SimpleMarshaller TableHeaderMarshaller TableMarshaller XMLMarshaller XMLRPCMarshaller List of all members.

Detailed Description

A Marshaller converts Property objects to a (file/text) format.

See also:
Demarshaller

Property

PropertyBag


Public Member Functions

virtual void serialize (PropertyBase *v)=0
 Serialize a property.
virtual void serialize (const PropertyBag &v)=0
 Serialize the contents of a property bag with headers and footers.
virtual void flush ()=0
 Flush all buffers, write footers.


Member Function Documentation

virtual void serialize ( PropertyBase v  )  [pure virtual]

Serialize a property.

Parameters:
v The property to be serialized.

Implemented in CPFMarshaller< std::ostream >, EmptyHeaderMarshaller, EmptyMarshaller, Orocos1Marshaller, PropertyMarshaller, SimpleMarshaller, TableHeaderMarshaller, TableMarshaller, and XMLMarshaller.

virtual void serialize ( const PropertyBag v  )  [pure 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.

Parameters:
v The property bag to be serialized.

Implemented in CPFMarshaller< std::ostream >, EmptyHeaderMarshaller, EmptyMarshaller, INIMarshaller, Orocos1Marshaller, PropertyMarshaller, SimpleMarshaller, TableHeaderMarshaller, TableMarshaller, XMLMarshaller, and XMLRPCMarshaller.

virtual void flush (  )  [pure 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.

Implemented in CPFMarshaller< std::ostream >, EmptyHeaderMarshaller, EmptyMarshaller, INIMarshaller, Orocos1Marshaller, PropertyMarshaller, SimpleMarshaller, TableHeaderMarshaller, TableMarshaller, XMLMarshaller, and XMLRPCMarshaller.


The documentation for this class was generated from the following file:
Generated on Fri Oct 19 16:27:24 2007 for Orocos by  doxygen 1.5.1