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

An indirect serialization object for all Vector types. More...

#include <Sacado_MP_ScalarTraitsImp.hpp>

Public Types

typedef ValueSerializer value_serializer_type
 Typename of value serializer.
 

Public Member Functions

 SerializerImp (const Teuchos::RCP< const ValueSerializer > &vs_, Ordinal sz_=0)
 Constructor.
 
Ordinal getSerializerSize () 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 VecType buffer[]) const
 Return the number of bytes for count objects.
 
void serialize (const Ordinal count, const VecType 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, VecType buffer[]) const
 Deserialize from an indirect char[] buffer.
 

Static Public Attributes

static const bool supportsDirectSerialization
 Whether we support direct serialization. More...
 

Detailed Description

template<typename Ordinal, typename VecType, typename ValueSerializer>
class Sacado::MP::SerializerImp< Ordinal, VecType, ValueSerializer >

An indirect serialization object for all Vector types.

Member Data Documentation

template<typename Ordinal, typename VecType, typename ValueSerializer>
const bool Sacado::MP::SerializerImp< Ordinal, VecType, ValueSerializer >::supportsDirectSerialization
static
Initial value:

Whether we support direct serialization.


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