Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
irangeelementseltype.h
Go to the documentation of this file.
1
#pragma once
2
// irangeelementseltype.h
3
8
9
#include "
module/interface/irangeelement.h
"
10
#include "shared/interface/signal.h"
11
12
namespace
sel {
13
using namespace
itascaxd
;
14
17
class
IRangeElementSELType
{
18
public
:
20
inline
static
const
TType
type_
= 0x4c815be6;
21
22
shared::Signal<int> selTypeIndexChanged;
23
24
26
virtual
IRangeElement
*
getIRangeElement
()=0;
28
virtual
StringList
getSELTypeNames
()
const
=0;
29
virtual
string
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
StringList
Definition
basestring.h:71
itascaxd::IRangeElement
Interface to a filter element, which is a member of a IRange..
Definition
irangeelement.h:18
sel::IRangeElementSELType
Interface to a filter element that allows user to filter based on a SEL type.
Definition
irangeelementseltype.h:17
sel::IRangeElementSELType::setSELTypeIndex
virtual void setSELTypeIndex(int index)=0
Sets the SEL type as an index into the list returned from getSelTypeNames().
sel::IRangeElementSELType::type_
static const TType type_
Type identification number for this class, used in convert_cast() & convert_getcast().
Definition
irangeelementseltype.h:20
sel::IRangeElementSELType::getSELTypeIndex
virtual int getSELTypeIndex() const =0
sel::IRangeElementSELType::getSELTypeNames
virtual StringList getSELTypeNames() const =0
Returns a list of valid SEL names: Any, Shell, Beam, Cable, Pile, Liner and Geogrid.
sel::IRangeElementSELType::getIRangeElement
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to itself.
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.
common
sel
interface
irangeelementseltype.h
Generated by
1.18.0