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 319 of file Sacado_PCE_ScalarTraitsImp.hpp.
typedef ValueSerializer Sacado::PCE::SerializerImp< Ordinal, PCEType, ValueSerializer >::value_serializer_type |
Typename of value serializer.
Definition at line 324 of file Sacado_PCE_ScalarTraitsImp.hpp.
typedef PCEType::expansion_type Sacado::PCE::SerializerImp< Ordinal, PCEType, ValueSerializer >::expansion_type |
Typename of expansion.
Definition at line 327 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
protected |
Definition at line 331 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
protected |
Definition at line 332 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
protected |
Definition at line 333 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Definition at line 344 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Return specified serializer size.
Definition at line 349 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Get nested value serializer.
Definition at line 353 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Return the number of bytes for count
objects.
Definition at line 360 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Serialize to an indirect char[]
buffer.
Definition at line 387 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Return the number of objects for bytes
of storage.
Definition at line 422 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
inline |
Deserialize from an indirect char[]
buffer.
Definition at line 447 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
protected |
Definition at line 335 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
protected |
Definition at line 336 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
protected |
Definition at line 337 of file Sacado_PCE_ScalarTraitsImp.hpp.
|
static |
Whether the type T supports direct serialization.
Definition at line 342 of file Sacado_PCE_ScalarTraitsImp.hpp.