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::ConstValueTypeSerializationBufferImp< Ordinal, T, Serializer, true > 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>

Public Member Functions

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

Detailed Description

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

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

Specialization for direct serialization.

Definition at line 174 of file Teuchos_SerializationTraitsHelpers.hpp.

Constructor & Destructor Documentation

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

Serialize to an internally stored char[] buffer.

Definition at line 613 of file Teuchos_SerializationTraitsHelpers.hpp.

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

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

Definition at line 624 of file Teuchos_SerializationTraitsHelpers.hpp.

Member Function Documentation

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

Definition at line 631 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 638 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 646 of file Teuchos_SerializationTraitsHelpers.hpp.


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