labelRangeOp< class > Struct Template Reference

Conversion/extraction to labelRange operation (functor). More...

Detailed Description

template<class>
struct Foam::labelRangeOp< class >

Conversion/extraction to labelRange operation (functor).

Specializations shall provide a corresponding operator(). For example,

template<>
struct labelRangeOp<polyPatch>
{
labelRange operator()(const polyPatch& pp) const
{
return labelRange(pp.start(), pp.size());
}
};

Definition at line 202 of file labelRange.H.


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