Collection of Concrete Vector Reduction/Transformation Operator Implementations  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | List of all members
RTOpPack::ROpGetElement< Scalar > Class Template Reference

Returns the value of the element at index global_i. More...

#include <RTOpPack_ROpGetElement.hpp>

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

Public Member Functions

 ROpGetElement (const Ordinal &global_i)
 
void initialize (const Ordinal &global_i)
 
Scalar operator() (const ReductTarget &reduct_obj) const
 

Protected Member Functions

virtual Range1D range_impl () const
 

Detailed Description

template<class Scalar>
class RTOpPack::ROpGetElement< Scalar >

Returns the value of the element at index global_i.

Warning! If the element is not found, then 0 is returned!

Definition at line 50 of file RTOpPack_ROpGetElement.hpp.

Constructor & Destructor Documentation

template<class Scalar >
RTOpPack::ROpGetElement< Scalar >::ROpGetElement ( const Ordinal &  global_i)
inline

Definition at line 59 of file RTOpPack_ROpGetElement.hpp.

Member Function Documentation

template<class Scalar >
void RTOpPack::ROpGetElement< Scalar >::initialize ( const Ordinal &  global_i)
inline

Definition at line 66 of file RTOpPack_ROpGetElement.hpp.

template<class Scalar >
Scalar RTOpPack::ROpGetElement< Scalar >::operator() ( const ReductTarget reduct_obj) const
inline

Definition at line 71 of file RTOpPack_ROpGetElement.hpp.

template<class Scalar >
virtual Range1D RTOpPack::ROpGetElement< Scalar >::range_impl ( ) const
inlineprotectedvirtual

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 77 of file RTOpPack_ROpGetElement.hpp.


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