Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T > Class Template Reference

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

#include <Teuchos_SerializerHelpers.hpp>

Public Member Functions

 ConstReferenceTypeSerializationBuffer (const Serializer< Ordinal, T > &serializer, const Ordinal count, const T *const buffer[])
 Serialize to an internally stored char[] buffer.
 ~ConstReferenceTypeSerializationBuffer ()
 Free the internal char[] buffer (no data to be written back).
const char * getCharBuffer () const
Ordinal getBytes () const

Detailed Description

template<typename Ordinal, typename T>
class Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >

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

Definition at line 52 of file Teuchos_SerializerHelpers.hpp.

Constructor & Destructor Documentation

◆ ConstReferenceTypeSerializationBuffer()

template<typename Ordinal, typename T>
Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::ConstReferenceTypeSerializationBuffer ( const Serializer< Ordinal, T > & serializer,
const Ordinal count,
const T *const buffer[] )

Serialize to an internally stored char[] buffer.

Definition at line 192 of file Teuchos_SerializerHelpers.hpp.

◆ ~ConstReferenceTypeSerializationBuffer()

template<typename Ordinal, typename T>
Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::~ConstReferenceTypeSerializationBuffer ( )

Free the internal char[] buffer (no data to be written back).

Definition at line 207 of file Teuchos_SerializerHelpers.hpp.

Member Function Documentation

◆ getCharBuffer()

template<typename Ordinal, typename T>
const char * Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::getCharBuffer ( ) const

Definition at line 213 of file Teuchos_SerializerHelpers.hpp.

◆ getBytes()

template<typename Ordinal, typename T>
Ordinal Teuchos::ConstReferenceTypeSerializationBuffer< Ordinal, T >::getBytes ( ) const

Definition at line 219 of file Teuchos_SerializerHelpers.hpp.


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