Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Serializer object for all PCE types. More...
#include <Sacado_PCE_ScalarTraitsImp.hpp>
Public Types | |
typedef ValueSerializer | value_serializer_type |
Typename of value serializer. More... | |
typedef PCEType::expansion_type | expansion_type |
Typename of expansion. More... | |
Public Member Functions | |
SerializerImp (const Teuchos::RCP< expansion_type > &expansion_, const Teuchos::RCP< const ValueSerializer > &vs_) | |
Teuchos::RCP< expansion_type > | getSerializerExpansion () 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 = false |
Whether the type T supports direct serialization. More... | |
Protected Types | |
typedef Sacado::ValueType < PCEType >::type | ValueT |
typedef Teuchos::SerializationTraits < Ordinal, int > | iSerT |
typedef Teuchos::SerializationTraits < Ordinal, Ordinal > | oSerT |
Protected Attributes | |
Teuchos::RCP< expansion_type > | expansion |
Teuchos::RCP< const ValueSerializer > | vs |
int | sz |
Indirect serialization functions (always defined and supported) | |
Ordinal | fromCountToIndirectBytes (const Ordinal count, const PCEType buffer[]) const |
Return the number of bytes for count objects. More... | |
void | serialize (const Ordinal count, const PCEType 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, PCEType buffer[]) const |
Deserialize from an indirect char[] buffer. More... | |
Serializer object for all PCE types.
Definition at line 351 of file Sacado_PCE_ScalarTraitsImp.hpp.
typedef ValueSerializer Sacado::PCE::SerializerImp< Ordinal, PCEType, ValueSerializer >::value_serializer_type |
Typename of value serializer.
Definition at line 356 of file Sacado_PCE_ScalarTraitsImp.hpp.
typedef PCEType::expansion_type Sacado::PCE::SerializerImp< Ordinal, PCEType, ValueSerializer >::expansion_type |
Typename of expansion.
Definition at line 359 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
protected |
Definition at line 363 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
protected |
Definition at line 364 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
protected |
Definition at line 365 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Definition at line 376 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Return specified serializer size.
Definition at line 381 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Get nested value serializer.
Definition at line 385 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Return the number of bytes for count
objects.
Definition at line 392 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Serialize to an indirect char[]
buffer.
Definition at line 419 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Return the number of objects for bytes
of storage.
Definition at line 454 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Deserialize from an indirect char[]
buffer.
Definition at line 479 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
protected |
Definition at line 367 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
protected |
Definition at line 368 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
protected |
Definition at line 369 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
static |
Whether the type T supports direct serialization.
Definition at line 374 of file Sacado_PCE_ScalarTraitsImp.hpp.