Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Implementation of Teuchos::SerializationTraits for all static Vec types. More...
#include <Sacado_MP_ScalarTraitsImp.hpp>
Public Types | |
typedef Sacado::ValueType< VecType >::type | ValueT |
typedef Teuchos::SerializationTraits< Ordinal, ValueT > | vSerT |
typedef Teuchos::DirectSerializationTraits< Ordinal, VecType > | DSerT |
typedef Sacado::MP::SerializationTraitsImp< Ordinal, VecType > | STI |
Static Public Attributes | |
static const bool | supportsDirectSerialization |
Whether the type T supports direct serialization. More... | |
Direct serialization functions (not defined if supportsDirectSerialization==false) | |
static Ordinal | fromCountToDirectBytes (const Ordinal count) |
Return the number of bytes for count objects. More... | |
static char * | convertToCharPtr (VecType *ptr) |
Convert the pointer type to char* . More... | |
static const char * | convertToCharPtr (const VecType *ptr) |
Convert the pointer type to const char* . More... | |
static Ordinal | fromDirectBytesToCount (const Ordinal bytes) |
Return the number of objects for bytes of storage. More... | |
static VecType * | convertFromCharPtr (char *ptr) |
Convert the pointer type from char* . More... | |
static const VecType * | convertFromCharPtr (const char *ptr) |
Convert the pointer type from char* . 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 static Vec types.
Definition at line 503 of file Sacado_MP_ScalarTraitsImp.hpp.
typedef Sacado::ValueType<VecType>::type Sacado::MP::SerializationTraitsImp< Ordinal, VecType, true >::ValueT |
Definition at line 504 of file Sacado_MP_ScalarTraitsImp.hpp.
typedef Teuchos::SerializationTraits<Ordinal,ValueT> Sacado::MP::SerializationTraitsImp< Ordinal, VecType, true >::vSerT |
Definition at line 505 of file Sacado_MP_ScalarTraitsImp.hpp.
typedef Teuchos::DirectSerializationTraits<Ordinal,VecType> Sacado::MP::SerializationTraitsImp< Ordinal, VecType, true >::DSerT |
Definition at line 506 of file Sacado_MP_ScalarTraitsImp.hpp.
typedef Sacado::MP::SerializationTraitsImp<Ordinal,VecType> Sacado::MP::SerializationTraitsImp< Ordinal, VecType, true >::STI |
Definition at line 507 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Return the number of bytes for count
objects.
Definition at line 517 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Convert the pointer type to char*
.
Definition at line 522 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Convert the pointer type to const char*
.
Definition at line 527 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Return the number of objects for bytes
of storage.
Definition at line 532 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Convert the pointer type from char*
.
Definition at line 537 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Convert the pointer type from char*
.
Definition at line 542 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Return the number of bytes for count
objects.
Definition at line 552 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Serialize to an indirect char[]
buffer.
Definition at line 561 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Return the number of objects for bytes
of storage.
Definition at line 572 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inlinestatic |
Deserialize from an indirect char[]
buffer.
Definition at line 581 of file Sacado_MP_ScalarTraitsImp.hpp.
|
static |
Whether the type T supports direct serialization.
Definition at line 510 of file Sacado_MP_ScalarTraitsImp.hpp.