Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Implementation of Teuchos::SerializationTraits for all Vector types. More...
#include <Sacado_MP_ScalarTraitsImp.hpp>
Static Public Attributes | |
static const bool | supportsDirectSerialization |
Whether the type T supports direct serialization. More... | |
Private Types | |
typedef Sacado::ValueType < VecType >::type | ValueT |
Value type of Vec type. More... | |
typedef Teuchos::DefaultSerializer < Ordinal, ValueT > | DS |
Default serializer for values. More... | |
typedef DS::DefaultSerializerType | ValueSerializer |
Default serializer type for values. More... | |
typedef SerializationImp < Ordinal, VecType, ValueSerializer > | Imp |
Implementation. More... | |
Indirect serialization functions (always defined and supported) | |
static Ordinal | fromCountToIndirectBytes (const Ordinal count, const VecType buffer[]) |
Return the number of bytes for count objects. More... | |
static void | serialize (const Ordinal count, const VecType buffer[], const Ordinal bytes, char charBuffer[]) |
Serialize to an indirect char[] buffer. More... | |
static Ordinal | fromIndirectBytesToCount (const Ordinal bytes, const char charBuffer[]) |
Return the number of objects for bytes of storage. More... | |
static void | deserialize (const Ordinal bytes, const char charBuffer[], const Ordinal count, VecType buffer[]) |
Deserialize from an indirect char[] buffer. More... | |
Implementation of Teuchos::SerializationTraits for all Vector types.
Definition at line 408 of file Sacado_MP_ScalarTraitsImp.hpp.
|
private |
Value type of Vec type.
Definition at line 413 of file Sacado_MP_ScalarTraitsImp.hpp.
|
private |
Default serializer for values.
Definition at line 416 of file Sacado_MP_ScalarTraitsImp.hpp.
|
private |
Default serializer type for values.
Definition at line 419 of file Sacado_MP_ScalarTraitsImp.hpp.
|
private |
Implementation.
Definition at line 422 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Return the number of bytes for count
objects.
Definition at line 434 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Serialize to an indirect char[]
buffer.
Definition at line 441 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Return the number of objects for bytes
of storage.
Definition at line 450 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Deserialize from an indirect char[]
buffer.
Definition at line 457 of file Sacado_MP_ScalarTraitsImp.hpp.
|
static |
Whether the type T supports direct serialization.
Definition at line 427 of file Sacado_MP_ScalarTraitsImp.hpp.