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::PCE::SerializationTraitsImp< Ordinal, PCEType > Class Template Reference

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

#include <Sacado_PCE_ScalarTraitsImp.hpp>

Inheritance diagram for Sacado::PCE::SerializationTraitsImp< 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::PCE::SerializationTraitsImp< Ordinal, PCEType >

Implementation of Teuchos::SerializationTraits for all PCE types.

Definition at line 208 of file Sacado_PCE_ScalarTraitsImp.hpp.

Member Typedef Documentation

template<typename Ordinal, typename PCEType>
typedef Sacado::ValueType<PCEType>::type Sacado::PCE::SerializationTraitsImp< Ordinal, PCEType >::ValueT
private

Definition at line 209 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType>
typedef Teuchos::SerializationTraits<Ordinal,ValueT> Sacado::PCE::SerializationTraitsImp< Ordinal, PCEType >::vSerT
private

Definition at line 210 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType>
typedef Teuchos::SerializationTraits<Ordinal,int> Sacado::PCE::SerializationTraitsImp< Ordinal, PCEType >::iSerT
private

Definition at line 211 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename Ordinal, typename PCEType>
typedef Teuchos::SerializationTraits<Ordinal,Ordinal> Sacado::PCE::SerializationTraitsImp< Ordinal, PCEType >::oSerT
private

Definition at line 212 of file Sacado_PCE_ScalarTraitsImp.hpp.

Member Function Documentation

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

Return the number of bytes for count objects.

Definition at line 223 of file Sacado_PCE_ScalarTraitsImp.hpp.

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

Serialize to an indirect char[] buffer.

Definition at line 237 of file Sacado_PCE_ScalarTraitsImp.hpp.

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

Return the number of objects for bytes of storage.

Definition at line 259 of file Sacado_PCE_ScalarTraitsImp.hpp.

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

Deserialize from an indirect char[] buffer.

Definition at line 284 of file Sacado_PCE_ScalarTraitsImp.hpp.

Member Data Documentation

template<typename Ordinal, typename PCEType>
const bool Sacado::PCE::SerializationTraitsImp< Ordinal, PCEType >::supportsDirectSerialization = false
static

Whether the type T supports direct serialization.

Definition at line 217 of file Sacado_PCE_ScalarTraitsImp.hpp.


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