Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Attributes | Private Types | List of all members
Sacado::UQ::PCESerializationTraitsImp< Ordinal, PCEType > Class Template Reference

Implementation of Teuchos::SerializationTraits for all PCE types. More...

#include <Sacado_UQ_PCE_ScalarTraitsImp.hpp>

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

Static Public Attributes

static const bool supportsDirectSerialization = false
 Whether the type T supports direct serialization. More...
 

Private Types

typedef Sacado::ValueType
< PCEType >::type 
ValueT
 
typedef
Teuchos::SerializationTraits
< Ordinal, ValueT
vSerT
 
typedef
Teuchos::SerializationTraits
< Ordinal, int
iSerT
 
typedef
Teuchos::SerializationTraits
< Ordinal, Ordinal
oSerT
 

Indirect serialization functions (always defined and supported)

static Ordinal fromCountToIndirectBytes (const Ordinal count, const PCEType buffer[])
 Return the number of bytes for count objects. More...
 
static void serialize (const Ordinal count, const PCEType buffer[], const Ordinal bytes, char charBuffer[])
 Serialize to an indirect char[] buffer. More...
 
static Ordinal fromIndirectBytesToCount (const Ordinal bytes, const char charBuffer[])
 Return the number of objects for bytes of storage. More...
 
static void deserialize (const Ordinal bytes, const char charBuffer[], const Ordinal count, PCEType buffer[])
 Deserialize from an indirect char[] buffer. More...
 

Detailed Description

template<typename Ordinal, typename PCEType>
class Sacado::UQ::PCESerializationTraitsImp< Ordinal, PCEType >

Implementation of Teuchos::SerializationTraits for all PCE types.

Definition at line 188 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Member Typedef Documentation

template<typename Ordinal, typename PCEType>
typedef Sacado::ValueType<PCEType>::type Sacado::UQ::PCESerializationTraitsImp< Ordinal, PCEType >::ValueT
private

Definition at line 189 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType>
typedef Teuchos::SerializationTraits<Ordinal,ValueT> Sacado::UQ::PCESerializationTraitsImp< Ordinal, PCEType >::vSerT
private

Definition at line 190 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType>
typedef Teuchos::SerializationTraits<Ordinal,int> Sacado::UQ::PCESerializationTraitsImp< Ordinal, PCEType >::iSerT
private

Definition at line 191 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType>
typedef Teuchos::SerializationTraits<Ordinal,Ordinal> Sacado::UQ::PCESerializationTraitsImp< Ordinal, PCEType >::oSerT
private

Definition at line 192 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Member Function Documentation

template<typename Ordinal, typename PCEType>
static Ordinal Sacado::UQ::PCESerializationTraitsImp< Ordinal, PCEType >::fromCountToIndirectBytes ( const Ordinal  count,
const PCEType  buffer[] 
)
inlinestatic

Return the number of bytes for count objects.

Definition at line 203 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType>
static void Sacado::UQ::PCESerializationTraitsImp< Ordinal, PCEType >::serialize ( const Ordinal  count,
const PCEType  buffer[],
const Ordinal  bytes,
char  charBuffer[] 
)
inlinestatic

Serialize to an indirect char[] buffer.

Definition at line 217 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType>
static Ordinal Sacado::UQ::PCESerializationTraitsImp< Ordinal, PCEType >::fromIndirectBytesToCount ( const Ordinal  bytes,
const char  charBuffer[] 
)
inlinestatic

Return the number of objects for bytes of storage.

Definition at line 239 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType>
static void Sacado::UQ::PCESerializationTraitsImp< Ordinal, PCEType >::deserialize ( const Ordinal  bytes,
const char  charBuffer[],
const Ordinal  count,
PCEType  buffer[] 
)
inlinestatic

Deserialize from an indirect char[] buffer.

Definition at line 264 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Member Data Documentation

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

Whether the type T supports direct serialization.

Definition at line 197 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.


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