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

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

#include <Teuchos_SerializerHelpers.hpp>

Public Member Functions

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

Detailed Description

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

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

Definition at line 116 of file Teuchos_SerializerHelpers.hpp.

Constructor & Destructor Documentation

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

Serialize to an internally stored T*[] buffer.

Definition at line 261 of file Teuchos_SerializerHelpers.hpp.

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

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

Definition at line 284 of file Teuchos_SerializerHelpers.hpp.

Member Function Documentation

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

Definition at line 292 of file Teuchos_SerializerHelpers.hpp.

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

Definition at line 301 of file Teuchos_SerializerHelpers.hpp.


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