itom 2.0.0
ito::AutoInterval Class Reference

class for a interval type containing a min-max-range and an auto-flag. More...

#include <interval.h>

List of all members.

Public Member Functions

 AutoInterval (float min, float max, bool autoInterval=false)
 > default constructor: auto-mode, min=-Inf, max=+Inf
float minimum () const
float maximum () const
float & rmin ()
float & rmax ()
bool isAuto () const
bool & rauto ()
void setRange (float min, float max)
void setMinimum (float min)
void setMaximum (float max)
void setAuto (bool autoInterval)
bool operator== (const AutoInterval &) const
bool operator!= (const AutoInterval &) const

Private Attributes

float m_min
float m_max
bool m_auto

Detailed Description

class for a interval type containing a min-max-range and an auto-flag.

This class can be used as datatype if you want to provide a range- or interval-object that contains of two float min and max boundaries as well as an auto-flag. If auto is set, the min and max boundaries can be calculated by an automatic mode within your code.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends