Itasca C++ Interface
irangeelementseltype.h
Go to the documentation of this file.
1 #pragma once
2 // irangeelementseltype.h
3 
10 #include "shared/interface/signal.h"
11 
12 namespace sel {
13  using namespace itascaxd;
14 
18  public:
20  inline static const TType type_ = 0x4c815be6;
21 
22  shared::Signal<int> selTypeIndexChanged;
23 
24 
28  virtual QStringList getSELTypeNames() const=0;
29  virtual QString getNameFromType(TType type) const=0;
30  virtual int getIndexFromType(TType type) const=0;
33  virtual int getSELTypeIndex() const=0;
34  // slots
36  virtual void setSELTypeIndex(int index)=0;
37  };
38 }
39 // EoF
40 
Interface to a filter element, which is a member of a IRange..
Definition: irangeelement.h:19
Interface to a filter element that allows user to filter based on a SEL type.
Definition: irangeelementseltype.h:17
virtual void setSELTypeIndex(int index)=0
Sets the SEL type as an index into the list returned from getSelTypeNames().
virtual int getSELTypeIndex() const =0
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to itself.
virtual QStringList getSELTypeNames() const =0
Returns a list of valid SEL names: Any, Shell, Beam, Cable, Pile, Liner and Geogrid.
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