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 QString &> nameAdded;
16
shared::Signal<const QString &> nameRemoved;
17
shared::Signal<uint64> idAdded;
18
shared::Signal<uint64> idRemoved;
19
shared::Signal<const QString &> typeNameAdded;
20
shared::Signal<const QString &> typeNameRemoved;
21
23
virtual
IRangeElement
*
getIRangeElement
()=0;
24
26
virtual
QSet<QString>
getNames
(
bool
checked=
true
)
const
=0;
28
virtual
QSet<uint64>
getIDs
(
bool
checked=
true
)
const
=0;
30
virtual
QSet<QString>
getTypeNames
(
bool
checked=
true
)
const
=0;
32
virtual
void
setNames
(
const
QSet<QString> &ns)=0;
34
virtual
void
setIDs
(
const
QSet<uint64> &ns)=0;
36
virtual
void
setTypeNames
(
const
QSet<QString> &ns)=0;
38
virtual
void
addName
(
const
QString &n)=0;
40
virtual
void
removeName
(
const
QString &n)=0;
42
virtual
void
addID
(
const
uint64 &)=0;
44
virtual
void
removeID
(
const
uint64 &)=0;
46
virtual
void
addTypeName
(
const
QString &n)=0;
48
virtual
void
removeTypeName
(
const
QString &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:19
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::removeID
virtual void removeID(const uint64 &)=0
Removes the set ID.
itascaxd::IRangeElementSet::addID
virtual void addID(const uint64 &)=0
Adds the set ID.
itascaxd::IRangeElementSet::setNames
virtual void setNames(const QSet< QString > &ns)=0
Sets the set name list.
itascaxd::IRangeElementSet::addTypeName
virtual void addTypeName(const QString &n)=0
Adds the set typeName.
itascaxd::IRangeElementSet::getNames
virtual QSet< QString > getNames(bool checked=true) const =0
Returns the list of set names that are checked against the getName method.
itascaxd::IRangeElementSet::getIDs
virtual QSet< uint64 > getIDs(bool checked=true) const =0
Returns the list of set ids that are checked against the getID method.
itascaxd::IRangeElementSet::addName
virtual void addName(const QString &n)=0
Adds the set name.
itascaxd::IRangeElementSet::getTypeNames
virtual QSet< QString > getTypeNames(bool checked=true) const =0
Returns the list of set type names that are checked against the getTypeName method.
itascaxd::IRangeElementSet::removeTypeName
virtual void removeTypeName(const QString &n)=0
Removes the set name.
itascaxd::IRangeElementSet::setIDs
virtual void setIDs(const QSet< uint64 > &ns)=0
Sets the set id list.
itascaxd::IRangeElementSet::getIRangeElement
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to itself.
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::setTypeNames
virtual void setTypeNames(const QSet< QString > &ns)=0
Sets the set typeName list.
itascaxd::IRangeElementSet::removeName
virtual void removeName(const QString &n)=0
Removes the set name.
TType
uint32 TType
class type indicator
Definition
basedef.h:46
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:4
common
module
interface
irangeelementset.h
Generated by
1.18.0