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>

List of all members.

Public Member Functions

 ReferenceTypeSerializationBuffer (const Serializer< Ordinal, T > &serializer, const Ordinal count, T *const buffer[])
 Serialize to an internally stored char[] buffer.
 ~ReferenceTypeSerializationBuffer ()
 Deserialize from the interal char[] buffer back to the original T*[] buffer.
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 41 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 174 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 186 of file Teuchos_SerializerHelpers.hpp.


Member Function Documentation

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

Definition at line 192 of file Teuchos_SerializerHelpers.hpp.

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

Definition at line 201 of file Teuchos_SerializerHelpers.hpp.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:24:43 2010 for Teuchos - Trilinos Tools Package by  doxygen 1.4.7