Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::RangeFunctorT< InstanceType > Class Template Reference

Functor over an iteration interval. More...

#include <arccore/base/RangeFunctor.h>

Public Member Functions

 RangeFunctorT (InstanceType *instance, FunctionType function)
virtual void executeFunctor (Integer begin, Integer size)
 Executes the associated method.
Public Member Functions inherited from Arcane::IRangeFunctor
virtual ~IRangeFunctor ()=default
 Releases resources.

Detailed Description

template<typename InstanceType>
class Arcane::RangeFunctorT< InstanceType >

Functor over an iteration interval.

Definition at line 34 of file arccore/src/base/arccore/base/RangeFunctor.h.

Constructor & Destructor Documentation

◆ RangeFunctorT()

template<typename InstanceType>
Arcane::RangeFunctorT< InstanceType >::RangeFunctorT ( InstanceType * instance,
FunctionType function )
inline

Definition at line 43 of file arccore/src/base/arccore/base/RangeFunctor.h.

Member Function Documentation

◆ executeFunctor()

template<typename InstanceType>
virtual void Arcane::RangeFunctorT< InstanceType >::executeFunctor ( Integer begin,
Integer size )
inlinevirtual

Executes the associated method.

Parameters
beginindex of the start of the iteration.
sizenumber of elements to iterate.

Implements Arcane::IRangeFunctor.

Definition at line 51 of file arccore/src/base/arccore/base/RangeFunctor.h.


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