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::ValueTypeSerializationBufferImp< Ordinal, T, Serializer, false > Class Template Reference

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

#include <Teuchos_SerializationTraitsHelpers.hpp>

Public Member Functions

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

Detailed Description

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

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

Specialization for indirect serialization

Definition at line 245 of file Teuchos_SerializationTraitsHelpers.hpp.

Constructor & Destructor Documentation

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

Serialize to an internally stored char[] buffer.

Definition at line 701 of file Teuchos_SerializationTraitsHelpers.hpp.

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

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

Definition at line 713 of file Teuchos_SerializationTraitsHelpers.hpp.

Member Function Documentation

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

Definition at line 720 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 727 of file Teuchos_SerializationTraitsHelpers.hpp.

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

Definition at line 735 of file Teuchos_SerializationTraitsHelpers.hpp.


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