Itasca C++ Interface
irangeelementset.h
1 #pragma once
2 
4 #include "shared/interface/signal.h"
5 
6 namespace itascaxd {
10  class IRangeElementSet { // name = "set"
11  public:
13  inline static const TType type_ = 0x5149e67c;
14 
15  shared::Signal<const QString &> nameAdded;
16  shared::Signal<const QString &> nameRemoved;
17  shared::Signal<uint64> idAdded;
18  shared::Signal<uint64> idRemoved;
19  shared::Signal<const QString &> typeNameAdded;
20  shared::Signal<const QString &> typeNameRemoved;
21 
24 
26  virtual QSet<QString> getNames(bool checked=true) const=0;
28  virtual QSet<uint64> getIDs(bool checked=true) const=0;
30  virtual QSet<QString> getTypeNames(bool checked=true) const=0;
32  virtual void setNames(const QSet<QString> &ns)=0;
34  virtual void setIDs(const QSet<uint64> &ns)=0;
36  virtual void setTypeNames(const QSet<QString> &ns)=0;
38  virtual void addName(const QString &n)=0;
40  virtual void removeName(const QString &n)=0;
42  virtual void addID(const uint64 &)=0;
44  virtual void removeID(const uint64 &)=0;
46  virtual void addTypeName(const QString &n)=0;
48  virtual void removeTypeName(const QString &n)=0;
49  };
50 
51 } // namespace itascaxd
52 // EoF
Interface to a filter element, which is a member of a IRange..
Definition: irangeelement.h:19
Interface to a RangeElement of a general set. A IThing has getIsSet and getSet methods to return the ...
Definition: irangeelementset.h:10
virtual void removeID(const uint64 &)=0
Removes the set ID.
virtual void addID(const uint64 &)=0
Adds the set ID.
virtual void setNames(const QSet< QString > &ns)=0
Sets the set name list.
virtual QSet< uint64 > getIDs(bool checked=true) const =0
Returns the list of set ids that are checked against the getID method.
virtual void addTypeName(const QString &n)=0
Adds the set typeName.
virtual void addName(const QString &n)=0
Adds 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.
virtual void removeTypeName(const QString &n)=0
Removes the set name.
virtual void setIDs(const QSet< uint64 > &ns)=0
Sets the set id list.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: irangeelementset.h:13
virtual void setTypeNames(const QSet< QString > &ns)=0
Sets the set typeName list.
virtual void removeName(const QString &n)=0
Removes the set name.
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to itself.
virtual QSet< QString > getNames(bool checked=true) const =0
Returns the list of set names that are checked against the getName method.
uint32 TType
class type indicator
Definition: basedef.h:46
Interface to a filter element, which is a member of a IRange.
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4