Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Public Member Functions | Private Member Functions | Private Attributes
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 117 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 275 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 287 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

Definition at line 294 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 300 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 132 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 133 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 134 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 135 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