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::ReferenceTypeSerializationBuffer< Ordinal, T > Class Template Reference

Encapsulate how an array of non-const objects with reference sematics is serialized into a char[] array and deserialized again. More...

#include <Teuchos_SerializerHelpers.hpp>

Public Member Functions

 ReferenceTypeSerializationBuffer (const Serializer< Ordinal, T > &serializer, const Ordinal count, T *const buffer[])
 Serialize to an internally stored char[] buffer. More...
 
 ~ReferenceTypeSerializationBuffer ()
 Deserialize from the interal char[] buffer back to the original T*[] buffer. More...
 
char * getCharBuffer () const
 
Ordinal getBytes () const
 

Detailed Description

template<typename Ordinal, typename T>
class Teuchos::ReferenceTypeSerializationBuffer< Ordinal, T >

Encapsulate how an array of non-const objects with reference sematics is serialized into a char[] array and deserialized again.

Definition at line 54 of file Teuchos_SerializerHelpers.hpp.

Constructor & Destructor Documentation

template<typename Ordinal , typename T >
Teuchos::ReferenceTypeSerializationBuffer< Ordinal, T >::ReferenceTypeSerializationBuffer ( const Serializer< Ordinal, T > &  serializer,
const Ordinal  count,
T *const  buffer[] 
)

Serialize to an internally stored char[] buffer.

Definition at line 187 of file Teuchos_SerializerHelpers.hpp.

template<typename Ordinal , typename T >
Teuchos::ReferenceTypeSerializationBuffer< Ordinal, T >::~ReferenceTypeSerializationBuffer ( )

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

Definition at line 199 of file Teuchos_SerializerHelpers.hpp.

Member Function Documentation

template<typename Ordinal , typename T >
char * Teuchos::ReferenceTypeSerializationBuffer< Ordinal, T >::getCharBuffer ( ) const

Definition at line 205 of file Teuchos_SerializerHelpers.hpp.

template<typename Ordinal , typename T >
Ordinal Teuchos::ReferenceTypeSerializationBuffer< Ordinal, T >::getBytes ( ) const

Definition at line 214 of file Teuchos_SerializerHelpers.hpp.


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