25 using Entry = std::pair<string,string>;
26 using Entries = std::vector<Entry>;
28 shared::Signal<const string &, const string &> entryAdded;
29 shared::Signal<const string &, const string &> entryRemoved;
30 shared::Signal<bool> andChanged;
31 shared::Signal<bool> onlyChanged;
32 shared::Signal<const string &> byNameChanged;
33 shared::Signal<uint32> matchesChanged;
36 virtual Entries getAllEntries()
const=0;
41 virtual uint32 getMatches()
const=0;
42 virtual string getByName()
const=0;
45 virtual Entry decompose(
const string &groupName)
const=0;
46 virtual void setAllSlots(
const string &slot)=0;
51 virtual bool addEntry(
const string &slot,
const string &name)=0;
54 virtual bool removeEntry(
const string &slot,
const string &name)=0;
60 virtual void setMatches(uint32 i)=0;
61 virtual void setByName(
const string &name)=0;
Interface to a group filter element, used to filter objects by group assignment.
Definition irangeelementgroup.h:20
virtual bool addEntry(const string &slot, const string &name)=0
virtual void setAnd(bool b)=0
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition irangeelementgroup.h:23
virtual void enableByParsing()=0
Set that parsing using the BY keyword is enabled.
virtual bool getAnd() const =0
Returns the AND state, if true then object must belong to ALL groups.
virtual bool getOnly() const =0
Returns the ONLY state, if true then object must not be a direct member of any groups not on this lis...
virtual void setOnly(bool b)=0
Returns the ONLY state, if true then object must not be a direct member of any groups not on this lis...
virtual bool removeEntry(const string &slot, const string &name)=0
uint32 TType
class type indicator
Definition basedef.h:47
Interface to a filter element, which is a member of a IRange.
namespace Itasca
Definition basememory.cpp:14
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:6