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 565 of file Sacado_MP_ScalarTraitsImp.hpp.
|
private |
Implementation.
Definition at line 570 of file Sacado_MP_ScalarTraitsImp.hpp.
typedef ValueSerializer Sacado::MP::SerializerImp< Ordinal, VecType, ValueSerializer >::value_serializer_type |
Typename of value serializer.
Definition at line 581 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Constructor.
Definition at line 588 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Return specified serializer size.
Definition at line 593 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Get nested value serializer.
Definition at line 596 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Return the number of bytes for count
objects.
Definition at line 603 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Serialize to an indirect char[]
buffer.
Definition at line 609 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Return the number of objects for bytes
of storage.
Definition at line 617 of file Sacado_MP_ScalarTraitsImp.hpp.
|
inline |
Deserialize from an indirect char[]
buffer.
Definition at line 623 of file Sacado_MP_ScalarTraitsImp.hpp.
|
private |
Serializer for value types.
Definition at line 573 of file Sacado_MP_ScalarTraitsImp.hpp.
|
private |
Specified number of derivative components;.
Definition at line 576 of file Sacado_MP_ScalarTraitsImp.hpp.
|
static |
Whether we support direct serialization.
Definition at line 584 of file Sacado_MP_ScalarTraitsImp.hpp.