RTT::TableHeaderMarshaller< o_stream > Class Template Reference

#include <TableHeaderMarshaller.hpp>

List of all members.

Public Types

typedef o_stream output_stream
typedef o_stream OutputStream

Public Member Functions

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

Private Attributes

std::vector< std::string > header
int level
int line

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 Typedef Documentation

template<typename o_stream >
typedef o_stream RTT::TableHeaderMarshaller< o_stream >::output_stream

Definition at line 62 of file TableHeaderMarshaller.hpp.

template<typename o_stream >
typedef o_stream RTT::TableHeaderMarshaller< o_stream >::OutputStream

Definition at line 63 of file TableHeaderMarshaller.hpp.


Constructor & Destructor Documentation

template<typename o_stream >
RTT::TableHeaderMarshaller< o_stream >::TableHeaderMarshaller ( output_stream os  )  [inline]

Definition at line 65 of file TableHeaderMarshaller.hpp.

template<typename o_stream >
virtual RTT::TableHeaderMarshaller< o_stream >::~TableHeaderMarshaller (  )  [inline, virtual]

Definition at line 72 of file TableHeaderMarshaller.hpp.


Member Function Documentation

template<typename o_stream >
virtual void RTT::TableHeaderMarshaller< o_stream >::flush (  )  [inline, virtual]

Definition at line 173 of file TableHeaderMarshaller.hpp.

template<typename o_stream >
virtual void RTT::TableHeaderMarshaller< o_stream >::serialize ( const Property< PropertyBag > &  v  )  [inline, virtual]

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.

template<typename o_stream >
virtual void RTT::TableHeaderMarshaller< o_stream >::serialize ( const PropertyBag &  v  )  [inline, virtual]

Definition at line 84 of file TableHeaderMarshaller.hpp.

template<typename o_stream >
virtual void RTT::TableHeaderMarshaller< o_stream >::serialize ( base::PropertyBase *  v  )  [inline, virtual]

Definition at line 74 of file TableHeaderMarshaller.hpp.

template<typename o_stream >
int RTT::TableHeaderMarshaller< o_stream >::store ( const std::string &  s  )  [inline]
Returns:
the number of characters on this line.

Definition at line 119 of file TableHeaderMarshaller.hpp.


Member Data Documentation

template<typename o_stream >
std::vector<std::string> RTT::TableHeaderMarshaller< o_stream >::header [private]

Definition at line 60 of file TableHeaderMarshaller.hpp.

template<typename o_stream >
int RTT::TableHeaderMarshaller< o_stream >::level [private]

Definition at line 58 of file TableHeaderMarshaller.hpp.

template<typename o_stream >
int RTT::TableHeaderMarshaller< o_stream >::line [private]

Definition at line 59 of file TableHeaderMarshaller.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


ocl
Author(s): OCL Development Team
autogenerated on Fri Jan 11 09:50:53 2013