Stokhos
Development
|
Serializer object for all PCE types. More...
#include <Sacado_PCE_ScalarTraitsImp.hpp>
Public Types | |
typedef ValueSerializer | value_serializer_type |
Typename of value serializer. | |
typedef PCEType::expansion_type | expansion_type |
Typename of expansion. | |
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. | |
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 PCEType buffer[]) const |
Return the number of bytes for count objects. | |
void | serialize (const Ordinal count, const PCEType 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, PCEType buffer[]) const |
Deserialize from an indirect char[] buffer. | |
Static Public Attributes | |
static const bool | supportsDirectSerialization = false |
Whether the type T supports direct serialization. | |
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 |
Serializer object for all PCE types.