RTOp Package Browser (Single Doxygen Collection)  Version of the Day
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>

Inherits Serializer< index_type, ReductTarget >.

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 124 of file RTOpPack_SPMD_apply_op_decl.hpp.

Constructor & Destructor Documentation

◆ ReductTargetSerializer() [1/2]

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.

◆ ReductTargetSerializer() [2/2]

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

Member Function Documentation

◆ getBufferSize()

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.

◆ serialize()

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.

◆ createObj()

template<class Scalar >
Teuchos::RCP< ReductTarget > RTOpPack::ReductTargetSerializer< Scalar >::createObj ( ) const

Definition at line 253 of file RTOpPack_SPMD_apply_op_def.hpp.

◆ deserialize()

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.

◆ operator=()

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

Member Data Documentation

◆ op_

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.

◆ num_values_

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

Definition at line 153 of file RTOpPack_SPMD_apply_op_decl.hpp.

◆ num_indexes_

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

Definition at line 154 of file RTOpPack_SPMD_apply_op_decl.hpp.

◆ num_chars_

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

Definition at line 155 of file RTOpPack_SPMD_apply_op_decl.hpp.

◆ reduct_obj_ext_size_

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: