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[] 
) [inline]

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 (  )  [inline]

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 [inline]

Definition at line 319 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 325 of file Teuchos_SerializationTraitsHelpers.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