Implementation of Teuchos::SerializationTraits for all static Vec types.
More...
#include <Sacado_MP_ScalarTraitsImp.hpp>
|
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 Ordinal | fromCountToDirectBytes (const Ordinal count) |
| Return the number of bytes for count objects.
|
|
static char * | convertToCharPtr (VecType *ptr) |
| Convert the pointer type to char* .
|
|
static const char * | convertToCharPtr (const VecType *ptr) |
| Convert the pointer type to const char* .
|
|
static Ordinal | fromDirectBytesToCount (const Ordinal bytes) |
| Return the number of objects for bytes of storage.
|
|
static VecType * | convertFromCharPtr (char *ptr) |
| Convert the pointer type from char* .
|
|
static const VecType * | convertFromCharPtr (const char *ptr) |
| Convert the pointer type from char* .
|
|
|
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.
|
|
template<typename Ordinal, typename VecType>
struct Sacado::MP::SerializationTraitsImp< Ordinal, VecType, true >
Implementation of Teuchos::SerializationTraits for all static Vec types.
◆ supportsDirectSerialization
template<typename Ordinal , typename VecType >
Initial value:=
vSerT::supportsDirectSerialization
Whether the type T supports direct serialization.
The documentation for this struct was generated from the following file:
- Sacado_MP_ScalarTraitsImp.hpp