Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
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>

Public Member Functions

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

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 348 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 823 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 835 of file Teuchos_SerializationTraitsHelpers.hpp.

Member Function Documentation

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

Definition at line 842 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 849 of file Teuchos_SerializationTraitsHelpers.hpp.


The documentation for this class was generated from the following file: