Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Public Member Functions | Private Member Functions | Private Attributes
Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false > Class Template Reference

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

#include <Teuchos_SerializationTraitsHelpers.hpp>

List of all members.

Public Member Functions

 ConstValueTypeSerializationBufferImp (const Ordinal count, const T buffer[], const RCP< const Serializer > &serializer)
 Serialize to an internally stored char[] buffer.
 ~ConstValueTypeSerializationBufferImp ()
 Deserialize from the interal char[] buffer back to the original T[] buffer.
const char * getCharBuffer () const
 
Ordinal getBytes () const
 
const ArrayView< const char > getCharBufferView () const
 

Private Member Functions

 ConstValueTypeSerializationBufferImp ()
 ConstValueTypeSerializationBufferImp (const ConstValueTypeSerializationBufferImp &)
ConstValueTypeSerializationBufferImpoperator= (const ConstValueTypeSerializationBufferImp &)

Private Attributes

Ordinal count_
const T * buffer_
Ordinal bytes_
Array< char > charBuffer_
RCP< const Serializerserializer_

Detailed Description

template<typename Ordinal, typename T, typename Serializer>
class Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >

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

Specialization for indirect serialization

Definition at line 314 of file Teuchos_SerializationTraitsHelpers.hpp.


Constructor & Destructor Documentation

template<typename Ordinal , typename T , typename Serializer >
Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::ConstValueTypeSerializationBufferImp ( const Ordinal  count,
const T  buffer[],
const RCP< const Serializer > &  serializer 
)

Serialize to an internally stored char[] buffer.

Definition at line 781 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::~ConstValueTypeSerializationBufferImp ( )

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

Definition at line 793 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Member Function Documentation

template<typename Ordinal , typename T , typename Serializer >
const char * Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::getCharBuffer ( ) const

Definition at line 799 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
Ordinal Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::getBytes ( ) const

Definition at line 806 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
const ArrayView< const char > Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::getCharBufferView ( ) const

Definition at line 814 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Member Data Documentation

template<typename Ordinal , typename T , typename Serializer >
Ordinal Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::count_ [private]

Definition at line 332 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
const T* Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::buffer_ [private]

Definition at line 333 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
Ordinal Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::bytes_ [private]

Definition at line 334 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
Array<char> Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::charBuffer_ [private]

Definition at line 335 of file Teuchos_SerializationTraitsHelpers.hpp.

template<typename Ordinal , typename T , typename Serializer >
RCP<const Serializer> Teuchos::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, false >::serializer_ [private]

Definition at line 336 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