RTOp Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
RTOpPack::ReductTargetSerializer< Scalar > Class Template Reference

Serializer subclass for ReductTarget objects. More...

#include <RTOpPack_SPMD_apply_op_decl.hpp>

Inheritance diagram for RTOpPack::ReductTargetSerializer< Scalar >:
Inheritance graph
[legend]

Public Member Functions

 ReductTargetSerializer (const Teuchos::RCP< const RTOpT< Scalar > > &op)
 
- Public Member Functions inherited from Teuchos::Serializer< index_type, ReductTarget >
virtual ~Serializer ()
 
virtual index_type getBufferSize (const index_typecount) const =0
 
virtual void serialize (const index_typecount, const ReductTarget *const objs[], const index_typebytes, char charBuffer[]) const =0
 
virtual void deserialize (const index_typebytes, const char charBuffer[], const index_typecount, ReductTarget *const objs[]) const =0
 

Private Member Functions

 ReductTargetSerializer ()
 
ReductTargetSerializeroperator= (const ReductTargetSerializer &)
 

Private Attributes

Teuchos::RCP< const RTOpT
< Scalar > > 
op_
 
int num_values_
 
int num_indexes_
 
int num_chars_
 
int reduct_obj_ext_size_
 

Public functions overridden from Teuchos::Serializer

index_type getBufferSize (const index_type count) const
 
void serialize (const index_type count, const ReductTarget *const reduct_objs[], const index_type bytes, char charBuffer[]) const
 
Teuchos::RCP< ReductTargetcreateObj () const
 
void deserialize (const index_type bytes, const char charBuffer[], const index_type count, ReductTarget *const reduct_objs[]) const
 

Detailed Description

template<class Scalar>
class RTOpPack::ReductTargetSerializer< Scalar >

Serializer subclass for ReductTarget objects.

The copy constructor is allowed and has shallow copy semantics.

Definition at line 124 of file RTOpPack_SPMD_apply_op_decl.hpp.

Constructor & Destructor Documentation

template<class Scalar >
RTOpPack::ReductTargetSerializer< Scalar >::ReductTargetSerializer ( const Teuchos::RCP< const RTOpT< Scalar > > &  op)

Definition at line 203 of file RTOpPack_SPMD_apply_op_def.hpp.

template<class Scalar>
RTOpPack::ReductTargetSerializer< Scalar >::ReductTargetSerializer ( )
private

Member Function Documentation

template<class Scalar >
index_type RTOpPack::ReductTargetSerializer< Scalar >::getBufferSize ( const index_type  count) const

Definition at line 219 of file RTOpPack_SPMD_apply_op_def.hpp.

template<class Scalar >
void RTOpPack::ReductTargetSerializer< Scalar >::serialize ( const index_type  count,
const ReductTarget *const  reduct_objs[],
const index_type  bytes,
char  charBuffer[] 
) const

Definition at line 226 of file RTOpPack_SPMD_apply_op_def.hpp.

template<class Scalar >
Teuchos::RCP< ReductTarget > RTOpPack::ReductTargetSerializer< Scalar >::createObj ( ) const
virtual
template<class Scalar >
void RTOpPack::ReductTargetSerializer< Scalar >::deserialize ( const index_type  bytes,
const char  charBuffer[],
const index_type  count,
ReductTarget *const  reduct_objs[] 
) const

Definition at line 259 of file RTOpPack_SPMD_apply_op_def.hpp.

template<class Scalar>
ReductTargetSerializer& RTOpPack::ReductTargetSerializer< Scalar >::operator= ( const ReductTargetSerializer< Scalar > &  )
private

Member Data Documentation

template<class Scalar>
Teuchos::RCP<const RTOpT<Scalar> > RTOpPack::ReductTargetSerializer< Scalar >::op_
private

Definition at line 152 of file RTOpPack_SPMD_apply_op_decl.hpp.

template<class Scalar>
int RTOpPack::ReductTargetSerializer< Scalar >::num_values_
private

Definition at line 153 of file RTOpPack_SPMD_apply_op_decl.hpp.

template<class Scalar>
int RTOpPack::ReductTargetSerializer< Scalar >::num_indexes_
private

Definition at line 154 of file RTOpPack_SPMD_apply_op_decl.hpp.

template<class Scalar>
int RTOpPack::ReductTargetSerializer< Scalar >::num_chars_
private

Definition at line 155 of file RTOpPack_SPMD_apply_op_decl.hpp.

template<class Scalar>
int RTOpPack::ReductTargetSerializer< Scalar >::reduct_obj_ext_size_
private

Definition at line 156 of file RTOpPack_SPMD_apply_op_decl.hpp.


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