Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Public Member Functions | List of all members
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>

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
 

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 312 of file Teuchos_SerializationTraitsHelpers.hpp.

Constructor & Destructor Documentation

◆ ConstValueTypeSerializationBufferImp()

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 778 of file Teuchos_SerializationTraitsHelpers.hpp.

◆ ~ConstValueTypeSerializationBufferImp()

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 790 of file Teuchos_SerializationTraitsHelpers.hpp.

Member Function Documentation

◆ getCharBuffer()

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

Definition at line 796 of file Teuchos_SerializationTraitsHelpers.hpp.

◆ getBytes()

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

Definition at line 803 of file Teuchos_SerializationTraitsHelpers.hpp.

◆ getCharBufferView()

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

Definition at line 811 of file Teuchos_SerializationTraitsHelpers.hpp.


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