Teuchos::ConstReferenceTypeDeserializationBuffer< Ordinal, T > Class Template Reference

Encapsulate how an array of onst objects with reference sematics is deserialized from a char[] array with memory being automatically freed at destruction time. More...

#include <Teuchos_SerializerHelpers.hpp>

List of all members.

Public Member Functions

 ConstReferenceTypeDeserializationBuffer (const Serializer< Ordinal, T > &serializer, const Ordinal bytes, const char charBuffer[])
 Serialize to an internally stored T*[] buffer.
 ~ConstReferenceTypeDeserializationBuffer ()
 Reserialize back to the char[] buffer from the internal T*[] buffer.
const T *const * getBuffer () const
 
Ordinal getCount () const
 

Detailed Description

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

Encapsulate how an array of onst objects with reference sematics is deserialized from a char[] array with memory being automatically freed at destruction time.

Definition at line 137 of file Teuchos_SerializerHelpers.hpp.


Constructor & Destructor Documentation

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

Serialize to an internally stored T*[] buffer.

Definition at line 295 of file Teuchos_SerializerHelpers.hpp.

template<typename Ordinal , typename T >
Teuchos::ConstReferenceTypeDeserializationBuffer< Ordinal, T >::~ConstReferenceTypeDeserializationBuffer (  )  [inline]

Reserialize back to the char[] buffer from the internal T*[] buffer.

Definition at line 318 of file Teuchos_SerializerHelpers.hpp.


Member Function Documentation

template<typename Ordinal , typename T >
const T *const * Teuchos::ConstReferenceTypeDeserializationBuffer< Ordinal, T >::getBuffer (  )  const [inline]

Definition at line 324 of file Teuchos_SerializerHelpers.hpp.

template<typename Ordinal , typename T >
Ordinal Teuchos::ConstReferenceTypeDeserializationBuffer< Ordinal, T >::getCount (  )  const [inline]

Definition at line 330 of file Teuchos_SerializerHelpers.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 09:57:47 2011 for Teuchos - Trilinos Tools Package by  doxygen 1.6.3