Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
block::IRangeElementGInt Class Referenceabstract

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

#include <irangeelementgint.h>

Public Member Functions

virtual QStringList getGroupNames () const =0
 Returns the two group names associated with this filter element.
 
virtual QStringList getSlotNames () const =0
 Get the two slot names associated with the filter element.
 
virtual QString getDefaultSlot () const =0
 
virtual std::pair< QString, QString > decompose (const QString &groupKeyword)=0
 
virtual void changeGroupName (uint i, const QString &name)=0
 
virtual void removeGroupName (const QString &name)=0
 
virtual void setDefaultSlot (const QString &slot)=0
 
virtual void clear ()=0
 

Public Attributes

shared::Signal< uint32, const QString & > groupNameChanged
 
shared::Signal< const QString & > groupNameRemoved
 
shared::Signal< const QString & > defaultSlotChanged
 
shared::Signal slotNamesChanged
 

Static Public Attributes

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

Detailed Description

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

A group intersection filter element filters objects by the intersection of pairs of groups. For example, a contact may lie on the intersection of two block groups. Currently, this only works for input BLOCK groups.

Member Function Documentation

◆ changeGroupName()

virtual void block::IRangeElementGInt::changeGroupName ( uint i,
const QString & name )
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()) This SLOT changes the ith group name (i = 0,1)

◆ clear()

virtual void block::IRangeElementGInt::clear ( )
pure virtual

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

◆ getDefaultSlot()

virtual QString block::IRangeElementGInt::getDefaultSlot ( ) const
pure virtual

Returns the slot name of the object being checked. null indicates that all slots are to be checked.

◆ setDefaultSlot()

virtual void block::IRangeElementGInt::setDefaultSlot ( const QString & slot)
pure virtual

This SLOT sets the slot number of the object being checked, may be ignored if the object does not support group slots.


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