Public Member Functions | Public Attributes

IndexInfo Class Reference

Info on (floating-point) position in an array or StepInterval. More...

List of all members.

Public Member Functions

 IndexInfo (int i, bool r=true, bool u=false)
template<class X , class Y >
 IndexInfo (const StepInterval< X > &s, Y y)
template<class X , class Y >
 IndexInfo (const SamplingData< X > &s, Y y, int len)
template<class T >
 IndexInfo (const T *, int sz, T val)
template<class X , class Y >
void set (const StepInterval< X > &, Y)
template<class X , class Y >
void set (const SamplingData< X > &, Y, int length)

Public Attributes

int nearest_
bool roundedtolow_
bool inundef_

Detailed Description

Info on (floating-point) position in an array or StepInterval.


Constructor & Destructor Documentation

IndexInfo::IndexInfo ( int  i,
bool  r = true,
bool  u = false 
) [inline]
template<class X , class Y >
IndexInfo::IndexInfo ( const StepInterval< X > &  s,
y 
) [inline]
template<class X , class Y >
IndexInfo::IndexInfo ( const SamplingData< X > &  s,
y,
int  len 
) [inline]
template<class T >
IndexInfo::IndexInfo ( const T *  arr,
int  sz,
val 
) [inline]

Member Function Documentation

template<class X , class Y >
void IndexInfo::set ( const StepInterval< X > &  intv,
y 
) [inline]
template<class X , class Y >
void IndexInfo::set ( const SamplingData< X > &  sd,
y,
int  length 
) [inline]

Member Data Documentation