Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
irangeelementname.h
1 #pragma once
2 
4 
5 namespace itascaxd {
8  class IRangeElementName { // name = "name"
9  public:
11  inline static const TType type_ = 0x553e95e1;
13  virtual IRangeElement *getIRangeElement()=0;
14 
16  virtual QSet<QString> getNames(bool checked=true) const=0;
18  virtual void setNames(const QSet<QString> &ns)=0;
20  virtual void addName(const QString &n)=0;
22  virtual void removeName(const QString &n)=0;
23 
24  signals:
26  virtual void nameAdded(const QString &n)=0;
28  virtual void nameRemoved(const QString &n)=0;
29  };
30 
31 } // namespace itascaxd
32 // EoF
Interface to a filter element, which is a member of a IRange.
virtual void removeName(const QString &n)=0
Removes the set name.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: irangeelementname.h:11
virtual void nameAdded(const QString &n)=0
Signal emitted when a name is added.
virtual void setNames(const QSet< QString > &ns)=0
Sets the name list.
virtual void nameRemoved(const QString &n)=0
Signal emitted when a name is removed.
Interface to a filter element, which is a member of a IRange..
Definition: irangeelement.h:18
unsigned int TType
class type indicator
Definition: basedef.h:41
virtual QSet< QString > getNames(bool checked=true) const =0
Returns the list of name that are checked against the getName method.
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4
Interface to a RangeElement exposing the IThing getName method.
Definition: irangeelementname.h:8
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to itself.
virtual void addName(const QString &n)=0
Adds the set name.