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, 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>

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, 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 178 of file Teuchos_SerializationTraitsHelpers.hpp.

Constructor & Destructor Documentation

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

Serialize to an internally stored char[] buffer.

Definition at line 625 of file Teuchos_SerializationTraitsHelpers.hpp.

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

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

Definition at line 636 of file Teuchos_SerializationTraitsHelpers.hpp.

Member Function Documentation

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

Definition at line 643 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 650 of file Teuchos_SerializationTraitsHelpers.hpp.


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