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 StringList getGroupNames () const =0
 Returns the two group names associated with this filter element.
 
virtual StringList getSlotNames () const =0
 Get the two slot names associated with the filter element.
 
virtual string getDefaultSlot () const =0
 
virtual std::pair< string, string > decompose (const string &groupKeyword)=0
 
virtual void changeGroupName (uint32 i, const string &name)=0
 
virtual void removeGroupName (const string &name)=0
 
virtual void setDefaultSlot (const string &slot)=0
 
virtual void clear ()=0
 

Public Attributes

shared::Signal< uint32, const string & > groupNameChanged
 
shared::Signal< const string & > groupNameRemoved
 
shared::Signal< const string & > 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 ( uint32 i,
const string & 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<uint32>::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 string 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 string & 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: