RTOp Package Browser (Single Doxygen Collection) Version of the Day
Public Member Functions | Private Member Functions | Private Attributes
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]

List of all members.

Public Member Functions

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

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 119 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 202 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 218 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 225 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 256 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 147 of file RTOpPack_SPMD_apply_op_decl.hpp.

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

Definition at line 148 of file RTOpPack_SPMD_apply_op_decl.hpp.

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

Definition at line 149 of file RTOpPack_SPMD_apply_op_decl.hpp.

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

Definition at line 150 of file RTOpPack_SPMD_apply_op_decl.hpp.

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

Definition at line 151 of file RTOpPack_SPMD_apply_op_decl.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines