Teuchos - Trilinos Tools Package Version of the Day
Public Member Functions
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
 

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.


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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines