Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
irangeelementset.h
1 #pragma once
2 
4 
5 namespace itascaxd {
9  class IRangeElementSet { // name = "set"
10  public:
12  inline static const TType type_ = 0x5149e67c;
14  virtual IRangeElement *getIRangeElement()=0;
15 
17  virtual QSet<QString> getNames(bool checked=true) const=0;
19  virtual QSet<quint64> getIDs(bool checked=true) const=0;
21  virtual QSet<QString> getTypeNames(bool checked=true) const=0;
23  virtual void setNames(const QSet<QString> &ns)=0;
25  virtual void setIDs(const QSet<quint64> &ns)=0;
27  virtual void setTypeNames(const QSet<QString> &ns)=0;
29  virtual void addName(const QString &n)=0;
31  virtual void removeName(const QString &n)=0;
33  virtual void addID(const quint64 &)=0;
35  virtual void removeID(const quint64 &)=0;
37  virtual void addTypeName(const QString &n)=0;
39  virtual void removeTypeName(const QString &n)=0;
40 
41  signals:
43  virtual void nameAdded(const QString &n)=0;
45  virtual void nameRemoved(const QString &n)=0;
47  virtual void idAdded(const quint64 &)=0;
49  virtual void idRemoved(const quint64&)=0;
51  virtual void typeNameAdded(const QString &n)=0;
53  virtual void typeNameRemoved(const QString &n)=0;
54  };
55 
56 } // namespace itascaxd
57 // EoF
virtual void addTypeName(const QString &n)=0
Adds the set typeName.
virtual QSet< quint64 > getIDs(bool checked=true) const =0
Returns the list of set ids that are checked against the getID method.
Interface to a filter element, which is a member of a IRange.
virtual void nameAdded(const QString &n)=0
Signal emitted when a set name is added.
virtual void setNames(const QSet< QString > &ns)=0
Sets the set name list.
virtual void addName(const QString &n)=0
Adds the set name.
virtual void nameRemoved(const QString &n)=0
Signal emitted when a set name is removed.
virtual void typeNameRemoved(const QString &n)=0
Signal emitted when a set name is removed.
Interface to a filter element, which is a member of a IRange..
Definition: irangeelement.h:18
virtual void idRemoved(const quint64 &)=0
Signal emitted when a set name is removed.
Interface to a RangeElement of a general set. A IThing has getIsSet and getSet methods to return the ...
Definition: irangeelementset.h:9
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to itself.
virtual void typeNameAdded(const QString &n)=0
Signal emitted when a set name is added.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: irangeelementset.h:12
virtual QSet< QString > getNames(bool checked=true) const =0
Returns the list of set names that are checked against the getName method.
virtual void removeTypeName(const QString &n)=0
Removes the set name.
virtual QSet< QString > getTypeNames(bool checked=true) const =0
Returns the list of set type names that are checked against the getTypeName method.
unsigned int TType
class type indicator
Definition: basedef.h:41
virtual void removeID(const quint64 &)=0
Removes the set ID.
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4
virtual void setIDs(const QSet< quint64 > &ns)=0
Sets the set id list.
virtual void removeName(const QString &n)=0
Removes the set name.
virtual void idAdded(const quint64 &)=0
Signal emitted when a set name is added.
virtual void setTypeNames(const QSet< QString > &ns)=0
Sets the set typeName list.
virtual void addID(const quint64 &)=0
Adds the set ID.