Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
irangeelementset.h
1
#pragma once
2
3
#include "
module/interface/irangeelement.h
"
4
#include "shared/interface/signal.h"
5
6
namespace
itascaxd
{
10
class
IRangeElementSet
{
// name = "set"
11
public
:
13
inline
static
const
TType
type_
= 0x5149e67c;
14
15
shared::Signal<const string &> nameAdded;
16
shared::Signal<const string &> nameRemoved;
17
shared::Signal<uint64> idAdded;
18
shared::Signal<uint64> idRemoved;
19
shared::Signal<const string &> typeNameAdded;
20
shared::Signal<const string &> typeNameRemoved;
21
23
virtual
IRangeElement
*
getIRangeElement
()=0;
24
26
virtual
StringSet
getNames
(
bool
checked=
true
)
const
=0;
28
virtual
std::set<uint64>
getIDs
(
bool
checked=
true
)
const
=0;
30
virtual
StringSet
getTypeNames
(
bool
checked=
true
)
const
=0;
32
virtual
void
setNames
(
const
StringSet &ns)=0;
34
virtual
void
setIDs
(
const
std::set<uint64> &ns)=0;
36
virtual
void
setTypeNames
(
const
StringSet &ns)=0;
38
virtual
void
addName
(
const
string
&n)=0;
40
virtual
void
removeName
(
const
string
&n)=0;
42
virtual
void
addID
(
const
uint64 &)=0;
44
virtual
void
removeID
(
const
uint64 &)=0;
46
virtual
void
addTypeName
(
const
string
&n)=0;
48
virtual
void
removeTypeName
(
const
string
&n)=0;
49
};
50
51
}
// namespace itascaxd
52
// EoF
itascaxd::IRangeElement
Interface to a filter element, which is a member of a IRange..
Definition
irangeelement.h:18
itascaxd::IRangeElementSet
Interface to a RangeElement of a general set. A IThing has getIsSet and getSet methods to return the ...
Definition
irangeelementset.h:10
itascaxd::IRangeElementSet::getIDs
virtual std::set< uint64 > getIDs(bool checked=true) const =0
Returns the list of set ids that are checked against the getID method.
itascaxd::IRangeElementSet::removeID
virtual void removeID(const uint64 &)=0
Removes the set ID.
itascaxd::IRangeElementSet::getNames
virtual StringSet getNames(bool checked=true) const =0
Returns the list of set names that are checked against the getName method.
itascaxd::IRangeElementSet::addID
virtual void addID(const uint64 &)=0
Adds the set ID.
itascaxd::IRangeElementSet::setTypeNames
virtual void setTypeNames(const StringSet &ns)=0
Sets the set typeName list.
itascaxd::IRangeElementSet::removeName
virtual void removeName(const string &n)=0
Removes the set name.
itascaxd::IRangeElementSet::removeTypeName
virtual void removeTypeName(const string &n)=0
Removes the set name.
itascaxd::IRangeElementSet::getIRangeElement
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to itself.
itascaxd::IRangeElementSet::addTypeName
virtual void addTypeName(const string &n)=0
Adds the set typeName.
itascaxd::IRangeElementSet::type_
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition
irangeelementset.h:13
itascaxd::IRangeElementSet::setNames
virtual void setNames(const StringSet &ns)=0
Sets the set name list.
itascaxd::IRangeElementSet::addName
virtual void addName(const string &n)=0
Adds the set name.
itascaxd::IRangeElementSet::setIDs
virtual void setIDs(const std::set< uint64 > &ns)=0
Sets the set id list.
itascaxd::IRangeElementSet::getTypeNames
virtual StringSet getTypeNames(bool checked=true) const =0
Returns the list of set type names that are checked against the getTypeName method.
TType
uint32 TType
class type indicator
Definition
basedef.h:47
irangeelement.h
Interface to a filter element, which is a member of a IRange.
itascaxd
Itasca Library standard namespace, specific to 2D or 3D.
Definition
icontactmodule.h:6
common
module
interface
irangeelementset.h
Generated by
1.18.0