Itasca C++ Interface
Loading...
Searching...
No Matches
irangeelementgint.h
Go to the documentation of this file.
1#pragma once
2// irangeelementgroup.h
3
5
11namespace block {
12
13 using namespace itascaxd;
14
16
20 class IRangeElementGInt { // name = "real"
21 public:
23 inline static const TType type_ = 0x52ffc5ee;
24
25 shared::Signal<uint32, const QString &> groupNameChanged; // i, name
26 shared::Signal<const QString &> groupNameRemoved;
27 shared::Signal<const QString &> defaultSlotChanged;
28 shared::Signal<> slotNamesChanged;
29
31 virtual QStringList getGroupNames() const=0;
33 virtual QStringList getSlotNames() const=0;
36 virtual QString getDefaultSlot() const=0;
37 // Looks for "slot=group" string and decomposes into SLOT,GROUP names.
38 // If no = is present then SLOT will be null.
39 virtual std::pair<QString, QString> decompose(const QString& groupKeyword)=0;
40
41 // SLOTS
45 virtual void changeGroupName(uint i, const QString &name)=0;
46 virtual void removeGroupName(const QString& name)=0;
49 virtual void setDefaultSlot(const QString &slot)=0;
52 virtual void clear()=0;
53 };
54} // namespace itasca
55
56// EoF
Interface to a group intersection filter element, used to filter objects by group intersection.
Definition irangeelementgint.h:20
virtual QStringList getSlotNames() const =0
Get the two slot names associated with the filter element.
virtual QStringList getGroupNames() const =0
Returns the two group names associated with this filter element.
virtual QString getDefaultSlot() const =0
virtual void changeGroupName(uint i, const QString &name)=0
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition irangeelementgint.h:23
virtual void clear()=0
virtual void setDefaultSlot(const QString &slot)=0
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