Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
irangeelementgint.h
Go to the documentation of this file.
1
#pragma once
2
// irangeelementgroup.h
3
4
#include "
module/interface/irangeelement.h
"
5
10
11
namespace
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 string &> groupNameChanged;
// i, name
26
shared::Signal<const string &> groupNameRemoved;
27
shared::Signal<const string &> defaultSlotChanged;
28
shared::Signal<> slotNamesChanged;
29
31
virtual
StringList
getGroupNames
()
const
=0;
33
virtual
StringList
getSlotNames
()
const
=0;
36
virtual
string
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<string, string> decompose(
const
string
& groupKeyword)=0;
40
41
// SLOTS
45
virtual
void
changeGroupName
(uint32 i,
const
string
&name)=0;
46
virtual
void
removeGroupName(
const
string
& name)=0;
49
virtual
void
setDefaultSlot
(
const
string
&slot)=0;
52
virtual
void
clear
()=0;
53
};
54
}
// namespace itasca
55
56
// EoF
StringList
Definition
basestring.h:71
block::IRangeElementGInt
Interface to a group intersection filter element, used to filter objects by group intersection.
Definition
irangeelementgint.h:20
block::IRangeElementGInt::changeGroupName
virtual void changeGroupName(uint32 i, const string &name)=0
block::IRangeElementGInt::getSlotNames
virtual StringList getSlotNames() const =0
Get the two slot names associated with the filter element.
block::IRangeElementGInt::getGroupNames
virtual StringList getGroupNames() const =0
Returns the two group names associated with this filter element.
block::IRangeElementGInt::setDefaultSlot
virtual void setDefaultSlot(const string &slot)=0
block::IRangeElementGInt::type_
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition
irangeelementgint.h:23
block::IRangeElementGInt::clear
virtual void clear()=0
block::IRangeElementGInt::getDefaultSlot
virtual string getDefaultSlot() const =0
TType
uint32 TType
class type indicator
Definition
basedef.h:47
itascaxd
#define itascaxd
Expands to itasca2d in 2D, itasca3d in 3D, for use as a namespace name....
Definition
dim.h:181
irangeelement.h
Interface to a filter element, which is a member of a IRange.
3dec
block
interface
irangeelementgint.h
Generated by
1.18.0