Teuchos::ValueTypeDeserializationBuffer< Ordinal, T > Class Template Reference

Encapsulate how an array of non-const serialized objects with value sematics stored in a char[] array is deserialized to a T[] array and then serialized back again. More...

#include <Teuchos_SerializationTraitsHelpers.hpp>

List of all members.

Public Member Functions

 ValueTypeDeserializationBuffer (const Ordinal bytes, char charBuffer[])
 Serialize to an internally stored char[] buffer.
 ~ValueTypeDeserializationBuffer ()
 Deserialize from the interal char[] buffer back to the original T[] buffer.
T * getBuffer () const
 
Ordinal getCount () const
 


Detailed Description

template<typename Ordinal, typename T>
class Teuchos::ValueTypeDeserializationBuffer< Ordinal, T >

Encapsulate how an array of non-const serialized objects with value sematics stored in a char[] array is deserialized to a T[] array and then serialized back again.

Definition at line 99 of file Teuchos_SerializationTraitsHelpers.hpp.


Constructor & Destructor Documentation

template<typename Ordinal, typename T>
Teuchos::ValueTypeDeserializationBuffer< Ordinal, T >::ValueTypeDeserializationBuffer ( const Ordinal  bytes,
char  charBuffer[] 
)

Serialize to an internally stored char[] buffer.

Definition at line 241 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal, typename T>
Teuchos::ValueTypeDeserializationBuffer< Ordinal, T >::~ValueTypeDeserializationBuffer (  ) 

Deserialize from the interal char[] buffer back to the original T[] buffer.

Definition at line 253 of file Teuchos_SerializationTraitsHelpers.hpp.


Member Function Documentation

template<typename Ordinal, typename T>
T * Teuchos::ValueTypeDeserializationBuffer< Ordinal, T >::getBuffer (  )  const

Definition at line 260 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal, typename T>
Ordinal Teuchos::ValueTypeDeserializationBuffer< Ordinal, T >::getCount (  )  const

Definition at line 266 of file Teuchos_SerializationTraitsHelpers.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Oct 20 12:45:27 2009 for Teuchos - Trilinos Tools Package by doxygen 1.4.7