Stokhos  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Attributes | List of all members
Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer > Class Template Reference

Serializer object for all PCE types. More...

#include <Sacado_UQ_PCE_ScalarTraitsImp.hpp>

Public Types

typedef ValueSerializer value_serializer_type
 Typename of value serializer.
 
typedef PCEType::cijk_type cijk_type
 Typename of cijk.
 

Public Member Functions

 PCESerializerImp (const cijk_type &cijk_, const Teuchos::RCP< const ValueSerializer > &vs_)
 
cijk_type getSerializerCijk () 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

cijk_type cijk
 
Teuchos::RCP< const
ValueSerializer > 
vs
 
int sz
 

Detailed Description

template<typename Ordinal, typename PCEType, typename ValueSerializer>
class Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >

Serializer object for all PCE types.


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