Stokhos
Development
|
An indirect serialization object for all Vector types. More...
#include <Sacado_MP_ScalarTraitsImp.hpp>
Public Types | |
typedef ValueSerializer | value_serializer_type |
Typename of value serializer. | |
Public Member Functions | |
SerializerImp (const Teuchos::RCP< const ValueSerializer > &vs_, Ordinal sz_=0) | |
Constructor. | |
Ordinal | getSerializerSize () const |
Return specified serializer size. | |
Teuchos::RCP< const value_serializer_type > | getValueSerializer () const |
Get nested value serializer. | |
Indirect serialization functions (always defined and supported) | |
Ordinal | fromCountToIndirectBytes (const Ordinal count, const VecType buffer[]) const |
Return the number of bytes for count objects. | |
void | serialize (const Ordinal count, const VecType buffer[], const Ordinal bytes, char charBuffer[]) const |
Serialize to an indirect char[] buffer. | |
Ordinal | fromIndirectBytesToCount (const Ordinal bytes, const char charBuffer[]) const |
Return the number of objects for bytes of storage. | |
void | deserialize (const Ordinal bytes, const char charBuffer[], const Ordinal count, VecType buffer[]) const |
Deserialize from an indirect char[] buffer. | |
Static Public Attributes | |
static const bool | supportsDirectSerialization |
Whether we support direct serialization. More... | |
An indirect serialization object for all Vector types.
|
static |
Whether we support direct serialization.