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

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

Private Member Functions

 ConstValueTypeDeserializationBufferImp ()
 ConstValueTypeDeserializationBufferImp (const ConstValueTypeDeserializationBufferImp &)
ConstValueTypeDeserializationBufferImpoperator= (const ConstValueTypeDeserializationBufferImp &)

Private Attributes

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

Detailed Description

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


Constructor & Destructor Documentation

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

Serialize to an internally stored char[] buffer.

Definition at line 862 of file Teuchos_SerializationTraitsHelpers.hpp.

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

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

Definition at line 874 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Member Function Documentation

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

Definition at line 880 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 887 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Member Data Documentation

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

Definition at line 400 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 401 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 402 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 403 of file Teuchos_SerializationTraitsHelpers.hpp.

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

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