Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Types | Public Member Functions | Static Public Attributes | List of all members
itascaxd::IRangeElementGroup Class Referenceabstract

Interface to a group filter element, used to filter objects by group assignment. More...

#include <irangeelementgroup.h>

Public Types

typedef std::pair< QString, QString > Entry
 
typedef std::vector< Entry > Entries
 

Public Member Functions

virtual Entries getAllEntries () const =0
 
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 list.
 
virtual uint getMatches () const =0
 
virtual QString getByName () const =0
 
virtual Entry decompose (const QString &groupName) const =0
 
virtual void setAllSlots (const QString &slot)=0
 
virtual void entryAdded (const QString &slot, const QString &group)=0
 This SIGNAL is emitted when a slot/group pair is added to the list being checked.
 
virtual void entryRemoved (const QString &slot, const QString &group)=0
 This SIGNAL is emitted when a slot/group pairt is removed from the list of names being checked.
 
virtual void andChanged (bool b)=0
 This SIGNAL is emitted when the and state is changed.
 
virtual void onlyChanged (bool b)=0
 THis SIGNAL is emitted when the only state is changed.
 
virtual void matchesChanged (uint i)=0
 
virtual void byNameChanged (const QString &name)=0
 
virtual bool addEntry (const QString &slot, const QString &name)=0
 
virtual bool removeEntry (const QString &slot, const QString &name)=0
 
virtual void setAnd (bool b)=0
 
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 list.
 
virtual void setMatches (uint i)=0
 
virtual void setByName (const QString &name)=0
 
virtual void clear ()=0
 
virtual void enableByParsing ()=0
 Set that parsing using the BY keyword is enabled.
 

Static Public Attributes

static const TType type_ = 0x4c815b95
 The type identification number for this class, for use in convert_cast() and convert_getcast().
 

Detailed Description

Interface to a group filter element, used to filter objects by group assignment.

A group filter element filters objects by their associate with group names. Note that a particular object being filtered may or may not have more than one slot.

Member Function Documentation

◆ addEntry()

virtual bool itascaxd::IRangeElementGroup::addEntry ( const QString &  slot,
const QString &  name 
)
pure virtual

This SLOT adds a new slot/group pair to the list of those being checked. Duplicate names are discarded, but all entries are case sensitive at this point.

◆ clear()

virtual void itascaxd::IRangeElementGroup::clear ( )
pure virtual

This SLOT removes all group names being checked, but does not change the current slot setting.

◆ removeEntry()

virtual bool itascaxd::IRangeElementGroup::removeEntry ( const QString &  slot,
const QString &  name 
)
pure virtual

This SLOT removes the group name from the list of those being checked. This operation is case sensitive.

◆ setAnd()

virtual void itascaxd::IRangeElementGroup::setAnd ( bool  b)
pure virtual

Sets the filter element to require the INTERSECTION of all groups. Cannot be used with a specific slot (slot must be limits<uint>::max())


The documentation for this class was generated from the following file: