Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Public Member Functions | Private Member Functions | Private Attributes
Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, false > 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_
Array< T > buffer_
RCP< const Serializerserializer_

Detailed Description

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

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 indirect serialization

Definition at line 350 of file Teuchos_SerializationTraitsHelpers.hpp.


Constructor & Destructor Documentation

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

Serialize to an internally stored char[] buffer.

Definition at line 825 of file Teuchos_SerializationTraitsHelpers.hpp.

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

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

Definition at line 837 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Member Function Documentation

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

Definition at line 844 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 851 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Member Data Documentation

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

Definition at line 366 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 367 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 368 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
Array<T> Teuchos::ValueTypeDeserializationBufferImp< Ordinal, T, Serializer, false >::buffer_ [mutable, private]

Definition at line 369 of file Teuchos_SerializationTraitsHelpers.hpp.

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

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