Stokhos Development
Loading...
Searching...
No Matches
Sacado::MP::SerializationTraitsImp< Ordinal, VecType, is_static > Struct Template Reference

Implementation of Teuchos::SerializationTraits for all Vector types. More...

#include <Sacado_MP_ScalarTraitsImp.hpp>

Static Public Member Functions

Indirect serialization functions (always defined and supported)
static Ordinal fromCountToIndirectBytes (const Ordinal count, const VecType buffer[])
 Return the number of bytes for count objects.
static void serialize (const Ordinal count, const VecType buffer[], const Ordinal bytes, char charBuffer[])
 Serialize to an indirect char[] buffer.
static Ordinal fromIndirectBytesToCount (const Ordinal bytes, const char charBuffer[])
 Return the number of objects for bytes of storage.
static void deserialize (const Ordinal bytes, const char charBuffer[], const Ordinal count, VecType buffer[])
 Deserialize from an indirect char[] buffer.

Static Public Attributes

static const bool supportsDirectSerialization
 Whether the type T supports direct serialization.

Detailed Description

template<typename Ordinal, typename VecType, bool is_static = false>
struct Sacado::MP::SerializationTraitsImp< Ordinal, VecType, is_static >

Implementation of Teuchos::SerializationTraits for all Vector types.

Member Data Documentation

◆ supportsDirectSerialization

template<typename Ordinal, typename VecType, bool is_static = false>
const bool Sacado::MP::SerializationTraitsImp< Ordinal, VecType, is_static >::supportsDirectSerialization
static
Initial value:
=
static const bool supportsDirectSerialization
Definition Sacado_MP_ScalarTraitsImp.hpp:272

Whether the type T supports direct serialization.


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