Public Types | Public Member Functions

LibGeoDecomp::RegionHelpers::RegionRemoveHelper< DIM > Class Template Reference

#include <region.h>

Inherits LibGeoDecomp::RegionHelpers::RegionCommonHelper.

Collaboration diagram for LibGeoDecomp::RegionHelpers::RegionRemoveHelper< DIM >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Region< 1 >::IntPair IntPair
typedef Region< 1 >::VecType VecType

Public Member Functions

template<int MY_DIM>
void operator() (Region< MY_DIM > *region, const Streak< MY_DIM > &s)
template<int MY_DIM>
int operator() (Region< MY_DIM > *region, const Streak< MY_DIM > &s, const int &start, const int &end)
 tries to remove a streak from the set.

template<int DIM>
class LibGeoDecomp::RegionHelpers::RegionRemoveHelper< DIM >


Member Typedef Documentation


Member Function Documentation

template<int DIM>
template<int MY_DIM>
void LibGeoDecomp::RegionHelpers::RegionRemoveHelper< DIM >::operator() ( Region< MY_DIM > *  region,
const Streak< MY_DIM > &  s 
) [inline]
template<int DIM>
template<int MY_DIM>
int LibGeoDecomp::RegionHelpers::RegionRemoveHelper< DIM >::operator() ( Region< MY_DIM > *  region,
const Streak< MY_DIM > &  s,
const int &  start,
const int &  end 
) [inline]

tries to remove a streak from the set.

Returns the number of inserted streaks (may be negative).

References LibGeoDecomp::RegionHelpers::RegionCommonHelper::incRemainder(), LibGeoDecomp::Region< DIM >::indices, and LibGeoDecomp::Streak< DIM >::origin.


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