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

Public Member Functions

 ConstReferenceTypeDeserializationBuffer (const Serializer< Ordinal, T > &serializer, const Ordinal bytes, const char charBuffer[])
 Serialize to an internally stored T*[] buffer. More...
 
 ~ConstReferenceTypeDeserializationBuffer ()
 Reserialize back to the char[] buffer from the internal T*[] buffer. More...
 
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 150 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[] 
)

Serialize to an internally stored T*[] buffer.

Definition at line 311 of file Teuchos_SerializerHelpers.hpp.

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

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

Definition at line 334 of file Teuchos_SerializerHelpers.hpp.

Member Function Documentation

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

Definition at line 340 of file Teuchos_SerializerHelpers.hpp.

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

Definition at line 346 of file Teuchos_SerializerHelpers.hpp.


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