Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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>

Inheritance diagram for Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

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

cijk_type cijk
 
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...
 

Detailed Description

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

Serializer object for all PCE types.

Definition at line 267 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Member Typedef Documentation

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

Typename of value serializer.

Definition at line 272 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Typename of cijk.

Definition at line 275 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType, typename ValueSerializer>
typedef Sacado::ValueType<PCEType>::type Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::ValueT
protected

Definition at line 279 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType, typename ValueSerializer>
typedef Teuchos::SerializationTraits<Ordinal,int> Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::iSerT
protected

Definition at line 280 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType, typename ValueSerializer>
typedef Teuchos::SerializationTraits<Ordinal,Ordinal> Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::oSerT
protected

Definition at line 281 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Constructor & Destructor Documentation

template<typename Ordinal, typename PCEType, typename ValueSerializer>
Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::PCESerializerImp ( const cijk_type cijk_,
const Teuchos::RCP< const ValueSerializer > &  vs_ 
)
inline

Definition at line 292 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Member Function Documentation

template<typename Ordinal, typename PCEType, typename ValueSerializer>
cijk_type Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::getSerializerCijk ( ) const
inline

Return specified serializer size.

Definition at line 297 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType, typename ValueSerializer>
Teuchos::RCP<const value_serializer_type> Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::getValueSerializer ( ) const
inline

Get nested value serializer.

Definition at line 300 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType, typename ValueSerializer>
Ordinal Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::fromCountToIndirectBytes ( const Ordinal  count,
const PCEType  buffer[] 
) const
inline

Return the number of bytes for count objects.

Definition at line 307 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType, typename ValueSerializer>
void Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::serialize ( const Ordinal  count,
const PCEType  buffer[],
const Ordinal  bytes,
char  charBuffer[] 
) const
inline

Serialize to an indirect char[] buffer.

Definition at line 334 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType, typename ValueSerializer>
Ordinal Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::fromIndirectBytesToCount ( const Ordinal  bytes,
const char  charBuffer[] 
) const
inline

Return the number of objects for bytes of storage.

Definition at line 369 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType, typename ValueSerializer>
void Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::deserialize ( const Ordinal  bytes,
const char  charBuffer[],
const Ordinal  count,
PCEType  buffer[] 
) const
inline

Deserialize from an indirect char[] buffer.

Definition at line 394 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Member Data Documentation

template<typename Ordinal, typename PCEType, typename ValueSerializer>
cijk_type Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::cijk
protected

Definition at line 283 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType, typename ValueSerializer>
Teuchos::RCP<const ValueSerializer> Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::vs
protected

Definition at line 284 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType, typename ValueSerializer>
int Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::sz
protected

Definition at line 285 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType, typename ValueSerializer>
const bool Sacado::UQ::PCESerializerImp< Ordinal, PCEType, ValueSerializer >::supportsDirectSerialization = false
static

Whether the type T supports direct serialization.

Definition at line 290 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.


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