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
 

Private Member Functions

 ValueTypeDeserializationBuffer ()
 ValueTypeDeserializationBuffer (const ValueTypeDeserializationBuffer &)
ValueTypeDeserializationBufferoperator= (const ValueTypeDeserializationBuffer &)

Private Attributes

Ordinal bytes_
char * charBuffer_
Ordinal count_
T * buffer_

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 104 of file Teuchos_SerializationTraitsHelpers.hpp.


Constructor & Destructor Documentation

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

Serialize to an internally stored char[] buffer.

Definition at line 262 of file Teuchos_SerializationTraitsHelpers.hpp.

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

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

Definition at line 274 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal, typename T>
Teuchos::ValueTypeDeserializationBuffer< Ordinal, T >::ValueTypeDeserializationBuffer (  )  [private]
template<typename Ordinal, typename T>
Teuchos::ValueTypeDeserializationBuffer< Ordinal, T >::ValueTypeDeserializationBuffer ( const ValueTypeDeserializationBuffer< Ordinal, T > &   )  [private]

Member Function Documentation

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

Definition at line 281 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 287 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal, typename T>
ValueTypeDeserializationBuffer& Teuchos::ValueTypeDeserializationBuffer< Ordinal, T >::operator= ( const ValueTypeDeserializationBuffer< Ordinal, T > &   )  [private]

Member Data Documentation

template<typename Ordinal, typename T>
Ordinal Teuchos::ValueTypeDeserializationBuffer< Ordinal, T >::bytes_ [private]

Definition at line 119 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal, typename T>
char* Teuchos::ValueTypeDeserializationBuffer< Ordinal, T >::charBuffer_ [private]

Definition at line 120 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal, typename T>
Ordinal Teuchos::ValueTypeDeserializationBuffer< Ordinal, T >::count_ [private]

Definition at line 121 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal, typename T>
T* Teuchos::ValueTypeDeserializationBuffer< Ordinal, T >::buffer_ [private]

Definition at line 122 of file Teuchos_SerializationTraitsHelpers.hpp.


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

Generated on Tue Oct 20 10:14:05 2009 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.1