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

Encapsulate how an array of non-const serialized objects with value sematics stored in a char[] array is deserialized to a T[] array and then serialized back again. More...

#include <Teuchos_SerializationTraitsHelpers.hpp>

List of all members.

Public Member Functions

 ConstValueTypeDeserializationBuffer (const Ordinal bytes, const char charBuffer[])
 Serialize to an internally stored char[] buffer.
 ~ConstValueTypeDeserializationBuffer ()
 Deserialize from the interal char[] buffer back to the original T[] buffer.
const T * getBuffer () const
 
Ordinal getCount () const
 


Detailed Description

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

Encapsulate how an array of non-const serialized objects with value sematics stored in a char[] array is deserialized to a T[] array and then serialized back again.

Definition at line 134 of file Teuchos_SerializationTraitsHelpers.hpp.


Constructor & Destructor Documentation

template<typename Ordinal, typename T>
Teuchos::ConstValueTypeDeserializationBuffer< Ordinal, T >::ConstValueTypeDeserializationBuffer ( const Ordinal  bytes,
const char  charBuffer[] 
)

Serialize to an internally stored char[] buffer.

Definition at line 300 of file Teuchos_SerializationTraitsHelpers.hpp.

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

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

Definition at line 312 of file Teuchos_SerializationTraitsHelpers.hpp.


Member Function Documentation

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

Definition at line 319 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 325 of file Teuchos_SerializationTraitsHelpers.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Jul 13 09:23:02 2010 for Teuchos - Trilinos Tools Package by  doxygen 1.4.7