Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Teuchos::ConstValueTypeDeserializationBufferImp< Ordinal, T, Serializer, false > Class Template Reference

Encapsulate how an array of non-const serialized objects with value sematics stored in a char[] array is deserialized to a T[] array and then serialized back again. More...

#include <Teuchos_SerializationTraitsHelpers.hpp>

Public Member Functions

 ConstValueTypeDeserializationBufferImp (const Ordinal bytes, const char charBuffer[], const RCP< const Serializer > &serializer)
 Serialize to an internally stored char[] buffer.
 
 ~ConstValueTypeDeserializationBufferImp ()
 Deserialize from the interal char[] buffer back to the original T[] buffer.
 
const TgetBuffer () const
 
Ordinal getCount () const
 

Detailed Description

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

Encapsulate how an array of non-const serialized objects with value sematics stored in a char[] array is deserialized to a T[] array and then serialized back again.

Specialization for indirect serialization

Definition at line 382 of file Teuchos_SerializationTraitsHelpers.hpp.

Constructor & Destructor Documentation

◆ ConstValueTypeDeserializationBufferImp()

template<typename Ordinal , typename T , typename Serializer >
Teuchos::ConstValueTypeDeserializationBufferImp< Ordinal, T, Serializer, false >::ConstValueTypeDeserializationBufferImp ( const Ordinal bytes,
const char charBuffer[],
const RCP< const Serializer > & serializer )

Serialize to an internally stored char[] buffer.

Definition at line 859 of file Teuchos_SerializationTraitsHelpers.hpp.

◆ ~ConstValueTypeDeserializationBufferImp()

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

Definition at line 871 of file Teuchos_SerializationTraitsHelpers.hpp.

Member Function Documentation

◆ getBuffer()

template<typename Ordinal , typename T , typename Serializer >
const T * Teuchos::ConstValueTypeDeserializationBufferImp< Ordinal, T, Serializer, false >::getBuffer ( ) const

Definition at line 877 of file Teuchos_SerializationTraitsHelpers.hpp.

◆ getCount()

template<typename Ordinal , typename T , typename Serializer >
Ordinal Teuchos::ConstValueTypeDeserializationBufferImp< Ordinal, T, Serializer, false >::getCount ( ) const

Definition at line 884 of file Teuchos_SerializationTraitsHelpers.hpp.


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