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

 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_
const T * buffer_
RCP< const Serializerserializer_

Detailed Description

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


Constructor & Destructor Documentation

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

Serialize to an internally stored char[] buffer.

Definition at line 695 of file Teuchos_SerializationTraitsHelpers.hpp.

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

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

Definition at line 706 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Member Function Documentation

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

Definition at line 713 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 720 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Member Data Documentation

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

Definition at line 262 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 263 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 264 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 265 of file Teuchos_SerializationTraitsHelpers.hpp.

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

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