20 virtual double getLow()
const=0;
22 virtual double getHigh()
const=0;
26 virtual void setRange(
const double &low,
const double &high)=0;
29 virtual void setTolerance(
const double &val,
const double &tol)=0;
54 virtual void setRange(
const quint64 &first,
const quint64 &second)=0;
77 virtual QVector<quint64>
getAllEntries(
bool onOnly=
false)
const=0;
85 virtual bool addEntry(
const quint64 &entry,
bool state=
true)=0;
87 virtual void setEntryState(
const quint64 &entry,
bool state)=0;
91 virtual void entryAdded(
const quint64 &entry,
bool state,
const qint64 &numberOfEntries)=0;
93 virtual void entryStateChanged(
const quint64 &entry,
bool state,
const qint64 &numberOfEntries)=0;
113 virtual QStringList
getAllEntries(
bool onOnly=
false)
const=0;
117 virtual bool addEntry(
const QString &entry,
bool state=
true)=0;
118 virtual void setEntryState(
const QString &entry,
bool state)=0;
124 virtual void entryAdded(
const QString &entry,
bool state,
const qint64 &numberOfEntries)=0;
126 virtual void entryStateChanged(
const QString &entry,
bool state,
const qint64 &numberOfEntries)=0;
146 virtual QStringList
getAllEntries(
bool onOnly=
false)
const=0;
150 virtual bool addEntry(
const QString &entry,
bool state=
true)=0;
152 virtual void setEntryState(
const QString &entry,
bool state)=0;
162 virtual void entryAdded(
const QString &entry,
bool state,
const qint64 &numberOfEntries)=0;
164 virtual void entryRemoved(
const QString &entry,
const qint64 &numberOfEntries)=0;
166 virtual void entryStateChanged(
const QString &entry,
bool state,
const qint64 &numberOfEntries)=0;
virtual void allChanged()=0
virtual quint64 getSecond() const =0
Returns the second number in the range, see setRange()
virtual void entryAdded(const QString &entry, bool state, const qint64 &numberOfEntries)=0
Signal emitted when a new entry was added, see addEntry()
Interface to a filter element, which is a member of a IRange.
virtual QStringList getAllEntries(bool onOnly=false) const =0
Returns a list of all entries. If onOnly is true will return a list of all entries whose state is tru...
virtual void firstChanged(const quint64 &first)=0
Signal emitted when the first number in the range has changed, see setRange()
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: irangeelementutil.h:108
virtual bool getEntryState(const QString &entry) const =0
Returns the state of the entry, or false if the entry does not exist.
virtual bool removeEntry(const QString &entry)=0
Remove entry regardless.
DIM - Provides code portability between 2D and 3D codes.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: irangeelementutil.h:47
virtual void secondChanged(const quint64 &second)=0
Signal emitted when the second number in the range has changed, see setRange()
Interface to to a Range Element that selects integers between two values.
Definition: irangeelementutil.h:44
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to the IRangeElement object.
virtual void removeAllOffEntries()=0
Removes all OFF entries from the list.
Interface to a filter element, which is a member of a IRange..
Definition: irangeelement.h:18
virtual bool getEntryState(const QString &entry) const =0
Returns the state of the entry, or false if the entry does not exist.
virtual qint64 getNumberOfEntries(bool onOnly=false) const =0
Returns the total number of entries. If onOnly is true it will return the number of entries whose sta...
virtual void entryStateChanged(const QString &entry, bool state, const qint64 &numberOfEntries)=0
Signal emitted when a state of an existing entry has changed, see addEntry(), changeEntryState()
virtual void toleranceChanged(bool wasTolerance)=0
Signal emittted when the tolerance status has changed, see setTolerance, setRange.
virtual qint64 getNumberOfEntries(bool onOnly=false) const =0
Returns the total number of entries. If onOnly is true it will return the number of entries whose sta...
virtual void entryStateChanged(const QString &entry, bool state, const qint64 &numberOfEntries)=0
Signal emitted when a state of an existing entry has changed, see addEntry(), changeEntryState()
virtual void entryAdded(const quint64 &entry, bool state, const qint64 &numberOfEntries)=0
Signal emitted when a new entry was added, see addEntry()
virtual void allChanged()=0
virtual void changeEntryState(const QString &entry, bool state)=0
Sets the state of entry. Ignored if entry has not already been added.
unsigned int TType
class type indicator
Definition: basedef.h:41
virtual bool addEntry(const quint64 &entry, bool state=true)=0
virtual double getLow() const =0
Returns the low value, see setRange(), setTolerance()
virtual void allChanged()=0
virtual void setTolerance(const double &val, const double &tol)=0
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: irangeelementutil.h:17
virtual QStringList getAllEntries(bool onOnly=false) const =0
Returns a list of all entries. If onOnly is true will return a list of all entries whose state is tru...
virtual void setEntryState(const quint64 &entry, bool state)=0
Sets the state of entry. Ignored if entry has not already been added.
virtual void setRange(const quint64 &first, const quint64 &second)=0
sets the range
virtual void entryRemoved(const QString &entry, const qint64 &numberOfEntries)=0
Signal emitted when an entry is removed.
virtual bool wasTolerance() const =0
Returns if a tolerance was used to compute the low and high value from a given center value,...
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4
virtual void setRange(const double &low, const double &high)=0
Sets the low and high value. wasTolerance() will return false after this call.
Interface to to a Range Element that matches string to a list of stored strings.
Definition: irangeelementutil.h:138
virtual bool removeEntryIfOff(const QString &entry)=0
Removes entry from list if it is present and off. Returns TRUE if it does so, false if not.
virtual bool getEntryState(const quint64 &entry) const =0
Returns the state of the entry, or false if the entry does not exist.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: irangeelementutil.h:141
Interface to to a Range Element that matches an integer to a list of stored integers.
Definition: irangeelementutil.h:69
virtual bool addEntry(const QString &entry, bool state=true)=0
Adds an entry to the list. .
virtual void setEntryState(const QString &entry, bool state)=0
Sets the state of entry. Ignored if entry has not already been added.
virtual quint64 getFirst() const =0
Returns the first number in the range, see setRange()
virtual void valueChanged(const DVect2 &range)=0
Signal emittted when either low or high value have changed, see setLow, setHigh.
virtual QVector< quint64 > getAllEntries(bool onOnly=false) const =0
Returns a list of all entries. If onOnly is true will return a list of all entries whose state is tru...
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: irangeelementutil.h:72
virtual qint64 getNumberOfEntries(bool onOnly=false) const =0
Returns the total number of entries. If onOnly is true it will return the number of entries whose sta...
virtual bool addEntry(const QString &entry, bool state=true)=0
Adds an entry to the list. .
virtual void entryStateChanged(const quint64 &entry, bool state, const qint64 &numberOfEntries)=0
Signal emitted when a state of an existing entry has changed, see addEntry(), setEntryState()
All default base headers if Qt is being used.
virtual double getHigh() const =0
Returns the high value, see setRange(), setTolerance()
virtual void entryAdded(const QString &entry, bool state, const qint64 &numberOfEntries)=0
Signal emitted when a new entry was added, see addEntry()
Base for a filter that can be represented by a real number filter.
Definition: irangeelementutil.h:14
Interface to to a Range Element that matches string to a list of stored strings.
Definition: irangeelementutil.h:105