OrocosComponentLibrary  2.9.0
Public Types | Public Member Functions | List of all members
TableHeaderMarshaller< o_stream > Class Template Reference

A marsh::MarshallInterface for generating headers of tables. More...

#include <TableHeaderMarshaller.hpp>

Inheritance diagram for TableHeaderMarshaller< o_stream >:

Public Types

typedef o_stream output_stream
 
typedef o_stream OutputStream
 

Public Member Functions

 TableHeaderMarshaller (output_stream &os)
 
virtual void serialize (base::PropertyBase *v)
 
virtual void serialize (const PropertyBag &v)
 
int store (const std::string &s)
 
virtual void serialize (const Property< PropertyBag > &v)
 
virtual void flush ()
 

Detailed Description

template<typename o_stream>
class RTT::TableHeaderMarshaller< o_stream >

A marsh::MarshallInterface for generating headers of tables.

It is used in conjunction with TableMarshaller and generates a header for the following numbers.

Todo:
: build a tree for formatting and print all on flush().

Definition at line 55 of file TableHeaderMarshaller.hpp.

Member Function Documentation

virtual void serialize ( const Property< PropertyBag > &  v)
inlinevirtual

Serializing a propery<bag> : pad the line below with spaces.

Print our name

Serialize all properties on the line below.

Pad this line with spaces

Definition at line 131 of file TableHeaderMarshaller.hpp.

References TableHeaderMarshaller< o_stream >::store().

int store ( const std::string &  s)
inline
Returns
the number of characters on this line.

Definition at line 119 of file TableHeaderMarshaller.hpp.

Referenced by TableHeaderMarshaller< o_stream >::serialize().


The documentation for this class was generated from the following file: