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

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

Private Member Functions

 ConstValueTypeDeserializationBuffer ()
 ConstValueTypeDeserializationBuffer (const ConstValueTypeDeserializationBuffer &)
ConstValueTypeDeserializationBufferoperator= (const ConstValueTypeDeserializationBuffer &)

Private Attributes

Ordinal bytes_
const char * charBuffer_
Ordinal count_
const T * buffer_

Detailed Description

template<typename Ordinal, typename T>
class Teuchos::ConstValueTypeDeserializationBuffer< 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 134 of file Teuchos_SerializationTraitsHelpers.hpp.


Constructor & Destructor Documentation

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

Serialize to an internally stored char[] buffer.

Definition at line 300 of file Teuchos_SerializationTraitsHelpers.hpp.

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

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

Definition at line 312 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Member Function Documentation

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

Definition at line 319 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 325 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Member Data Documentation

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

Definition at line 149 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 150 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 151 of file Teuchos_SerializationTraitsHelpers.hpp.

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

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