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

Encapsulate how an array of const objects with reference sematics is serialized into a char[] array. More...

#include <Teuchos_SerializerHelpers.hpp>

List of all members.

Public Member Functions

 ConstReferenceTypeSerializationBuffer (const Serializer< Ordinal, T > &serializer, const Ordinal count, const T *const buffer[])
 Serialize to an internally stored char[] buffer.
 ~ConstReferenceTypeSerializationBuffer ()
 Free the internal char[] buffer (no data to be written back).
const char * getCharBuffer () const
 
Ordinal getBytes () const
 

Private Member Functions

 ConstReferenceTypeSerializationBuffer ()
 ConstReferenceTypeSerializationBuffer (const ConstReferenceTypeSerializationBuffer &)
ConstReferenceTypeSerializationBufferoperator= (const ConstReferenceTypeSerializationBuffer &)

Private Attributes

const Serializer< Ordinal, T > & serializer_
Ordinal count_
const T *const * buffer_
Ordinal bytes_
Array< char > charBuffer_

Detailed Description

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

Encapsulate how an array of const objects with reference sematics is serialized into a char[] array.

Definition at line 71 of file Teuchos_SerializerHelpers.hpp.


Constructor & Destructor Documentation

template<typename Ordinal , typename T >
Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::ConstReferenceTypeSerializationBuffer ( const Serializer< Ordinal, T > &  serializer,
const Ordinal  count,
const T *const   buffer[] 
) [inline]

Serialize to an internally stored char[] buffer.

Definition at line 211 of file Teuchos_SerializerHelpers.hpp.

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

Free the internal char[] buffer (no data to be written back).

Definition at line 223 of file Teuchos_SerializerHelpers.hpp.

template<typename Ordinal , typename T >
Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::ConstReferenceTypeSerializationBuffer (  )  [private]
template<typename Ordinal , typename T >
Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::ConstReferenceTypeSerializationBuffer ( const ConstReferenceTypeSerializationBuffer< Ordinal, T > &   )  [private]

Member Function Documentation

template<typename Ordinal , typename T >
const char * Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::getCharBuffer (  )  const [inline]

Definition at line 229 of file Teuchos_SerializerHelpers.hpp.

template<typename Ordinal , typename T >
Ordinal Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::getBytes (  )  const [inline]

Definition at line 235 of file Teuchos_SerializerHelpers.hpp.

template<typename Ordinal , typename T >
ConstReferenceTypeSerializationBuffer& Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::operator= ( const ConstReferenceTypeSerializationBuffer< Ordinal, T > &   )  [private]

Member Data Documentation

template<typename Ordinal , typename T >
const Serializer<Ordinal,T>& Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::serializer_ [private]

Definition at line 87 of file Teuchos_SerializerHelpers.hpp.

template<typename Ordinal , typename T >
Ordinal Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::count_ [private]

Definition at line 88 of file Teuchos_SerializerHelpers.hpp.

template<typename Ordinal , typename T >
const T* const* Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::buffer_ [private]

Definition at line 89 of file Teuchos_SerializerHelpers.hpp.

template<typename Ordinal , typename T >
Ordinal Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::bytes_ [private]

Definition at line 90 of file Teuchos_SerializerHelpers.hpp.

template<typename Ordinal , typename T >
Array<char> Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::charBuffer_ [private]

Definition at line 91 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:38 2011 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.3