Stokhos
Development
|
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. More... | |
Implementation of Teuchos::SerializationTraits for all Vector types.
|
static |
Whether the type T supports direct serialization.
Referenced by Sacado::MP::SerializationTraitsImp< Ordinal, VecType, true >::deserialize(), Sacado::MP::SerializationTraitsImp< Ordinal, VecType, true >::fromCountToIndirectBytes(), Sacado::MP::SerializationTraitsImp< Ordinal, VecType, true >::fromIndirectBytesToCount(), and Sacado::MP::SerializationTraitsImp< Ordinal, VecType, true >::serialize().