Stokhos Development
Loading...
Searching...
No Matches
Sacado::PCE::SerializerImp< Ordinal, PCEType, ValueSerializer > Class Template Reference

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_typegetSerializerExpansion () const
 Return specified serializer size.
Teuchos::RCP< const value_serializer_typegetValueSerializer () 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_typeexpansion
Teuchos::RCP< const ValueSerializer > vs
int sz

Detailed Description

template<typename Ordinal, typename PCEType, typename ValueSerializer>
class Sacado::PCE::SerializerImp< Ordinal, PCEType, ValueSerializer >

Serializer object for all PCE types.


The documentation for this class was generated from the following file: