Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
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. More... | |
Public Member Functions | |
SerializerImp (const Teuchos::RCP< const ValueSerializer > &vs_, Ordinal sz_=0) | |
Constructor. More... | |
Ordinal | getSerializerSize () const |
Return specified serializer size. More... | |
Teuchos::RCP< const value_serializer_type > | getValueSerializer () const |
Get nested value serializer. More... | |
Static Public Attributes | |
static const bool | supportsDirectSerialization |
Whether we support direct serialization. More... | |
Private Types | |
typedef SerializationImp < Ordinal, VecType, ValueSerializer > | Imp |
Implementation. More... | |
Private Attributes | |
Teuchos::RCP< const ValueSerializer > | vs |
Serializer for value types. More... | |
Ordinal | sz |
Specified number of derivative components;. More... | |
Indirect serialization functions (always defined and supported) | |
Ordinal | fromCountToIndirectBytes (const Ordinal count, const VecType buffer[]) const |
Return the number of bytes for count objects. More... | |
void | serialize (const Ordinal count, const VecType buffer[], const Ordinal bytes, char charBuffer[]) const |
Serialize to an indirect char[] buffer. More... | |
Ordinal | fromIndirectBytesToCount (const Ordinal bytes, const char charBuffer[]) const |
Return the number of objects for bytes of storage. More... | |
void | deserialize (const Ordinal bytes, const char charBuffer[], const Ordinal count, VecType buffer[]) const |
Deserialize from an indirect char[] buffer. More... | |
An indirect serialization object for all Vector types.
Definition at line 597 of file Sacado_MP_ScalarTraitsImp.hpp.
|
private |
Implementation.
Definition at line 602 of file Sacado_MP_ScalarTraitsImp.hpp.
typedef ValueSerializer Sacado::MP::SerializerImp< Ordinal, VecType, ValueSerializer >::value_serializer_type |
Typename of value serializer.
Definition at line 613 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Constructor.
Definition at line 620 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Return specified serializer size.
Definition at line 625 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Get nested value serializer.
Definition at line 628 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Return the number of bytes for count
objects.
Definition at line 635 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Serialize to an indirect char[]
buffer.
Definition at line 641 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Return the number of objects for bytes
of storage.
Definition at line 649 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Deserialize from an indirect char[]
buffer.
Definition at line 655 of file Sacado_MP_ScalarTraitsImp.hpp.
|
private |
Serializer for value types.
Definition at line 605 of file Sacado_MP_ScalarTraitsImp.hpp.
|
private |
Specified number of derivative components;.
Definition at line 608 of file Sacado_MP_ScalarTraitsImp.hpp.
|
static |
Whether we support direct serialization.
Definition at line 616 of file Sacado_MP_ScalarTraitsImp.hpp.