58 template<
class dstType>
62 clipped_cast<Type,dstType>(
stepping));
105 #define ICL_INSTANTIATE_DEPTH(D) typedef SteppingRange<icl##D> SteppingRange##D; 107 #undef ICL_INSTANTIATE_DEPTH class representing a range defined by min and max value
Definition: Range.h:49
Type maxVal
maximum value of this range
Definition: Range.h:92
const SteppingRange< dstType > castTo() const
casts this range into another depth
Definition: SteppingRange.h:59
undocument this line if you encounter any issues!
Definition: Any.h:37
#define ICL_INSTANTIATE_ALL_DEPTHS
Definition: Macros.h:175
#define ICLUtils_API
this macros are important for creating dll's
Definition: CompatMacros.h:171
class representing a range with defined stepping
Definition: SteppingRange.h:46
Type minVal
minimum value of this range
Definition: Range.h:89
SteppingRange(Type minVal, Type maxVal, Type stepping)
create a special Rage
Definition: SteppingRange.h:51
ICLUtils_API std::ostream & operator<<(std::ostream &s, const ConfigFile &cf)
Default ostream operator to put a ConfigFile into a stream.
virtual bool contains(Type value) const
tests whether a given value is inside of this range
Definition: Range.h:104
Type stepping
internal stepping parameter
Definition: SteppingRange.h:55
ICLUtils_API std::istream & operator>>(std::istream &s, Point &p)
istream operator
Type nearest(Type value)
returns the nearest value to the given one
Definition: SteppingRange.h:79
SteppingRange()
create an empty range (min = max = 0)
Definition: SteppingRange.h:48
virtual bool contains(Type value) const
tests whether a given value is inside of this range
Definition: SteppingRange.h:66