H::DynamicBufferConverter< DataType, ConvertTo > Class Template Reference

Convert a Dynamic buffer to an array of structures or classes. More...

#include <DynamicBuffer.hpp>

List of all members.

Public Member Functions

 DynamicBufferConverter ()
 Default Constructor.
virtual ~DynamicBufferConverter ()
 Destructor.

Static Public Member Functions

static void convert (std::vector< ConvertTo > &ConvertedVector, DynamicBuffer< DataType > const &Buffer)
 Convert Buffer to a vector objects contained in the buffer.


Detailed Description

template<class DataType, class ConvertTo>
class H::DynamicBufferConverter< DataType, ConvertTo >

Convert a Dynamic buffer to an array of structures or classes.

Definition at line 89 of file DynamicBuffer.hpp.


Constructor & Destructor Documentation

template<class ConvertTo, class DataType>
H::DynamicBufferConverter< ConvertTo, DataType >::DynamicBufferConverter (  )  [inline]

Default Constructor.

DynamicBufferConverter Default Constructor.

Definition at line 68 of file DynamicBuffer.cpp.

template<class ConvertTo, class DataType>
H::DynamicBufferConverter< ConvertTo, DataType >::~DynamicBufferConverter (  )  [inline, virtual]

Destructor.

DynamicBufferConverter Destructor.

Definition at line 75 of file DynamicBuffer.cpp.


Member Function Documentation

template<class DataType, class ConvertTo>
void H::DynamicBufferConverter< DataType, ConvertTo >::convert ( std::vector< ConvertTo > &  ConvertedVector,
DynamicBuffer< DataType > const &  Buffer 
) [inline, static]

Convert Buffer to a vector objects contained in the buffer.

Parameters:
ConvertedVector Result of the conversion
Buffer Buffer to convert data from

Definition at line 114 of file DynamicBuffer.cpp.

References H::DynamicBuffer< DataType >::getBuffer(), and H::DynamicBuffer< DataType >::length().


The documentation for this class was generated from the following files:
Generated on Wed Nov 7 10:07:14 2007 for gizmod by  doxygen 1.5.3