Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Public Member Functions | Private Member Functions | Private Attributes
Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true > 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

 ValueTypeDeserializationBufferImp (const Ordinal bytes, char charBuffer[], const RCP< const Serializer > &serializer)
 Serialize to an internally stored char[] buffer.
 ~ValueTypeDeserializationBufferImp ()
 Deserialize from the interal char[] buffer back to the original T[] buffer.
T * getBuffer () const
 
Ordinal getCount () const
 

Private Member Functions

 ValueTypeDeserializationBufferImp ()
 ValueTypeDeserializationBufferImp (const ValueTypeDeserializationBufferImp &)
ValueTypeDeserializationBufferImpoperator= (const ValueTypeDeserializationBufferImp &)

Private Attributes

Ordinal bytes_
char * charBuffer_
Ordinal count_
T * buffer_
RCP< const Serializerserializer_

Detailed Description

template<typename Ordinal, typename T, typename Serializer>
class Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >

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.

Specialization for direct serialization.

Definition at line 212 of file Teuchos_SerializationTraitsHelpers.hpp.


Constructor & Destructor Documentation

template<typename Ordinal , typename T , typename Serializer >
Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >::ValueTypeDeserializationBufferImp ( const Ordinal  bytes,
char  charBuffer[],
const RCP< const Serializer > &  serializer 
)

Serialize to an internally stored char[] buffer.

Definition at line 659 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >::~ValueTypeDeserializationBufferImp ( )

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

Definition at line 670 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Member Function Documentation

template<typename Ordinal , typename T , typename Serializer >
T * Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >::getBuffer ( ) const

Definition at line 677 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
Ordinal Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >::getCount ( ) const

Definition at line 684 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Member Data Documentation

template<typename Ordinal , typename T , typename Serializer >
Ordinal Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >::bytes_ [private]

Definition at line 228 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
char* Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >::charBuffer_ [private]

Definition at line 229 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
Ordinal Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >::count_ [private]

Definition at line 230 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
T* Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >::buffer_ [private]

Definition at line 231 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
RCP<const Serializer> Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, true >::serializer_ [private]

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