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

Public Member Functions

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

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 244 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 693 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 704 of file Teuchos_SerializationTraitsHelpers.hpp.

Member Function Documentation

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

Definition at line 711 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 718 of file Teuchos_SerializationTraitsHelpers.hpp.


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