4#include "shared/interface/signal.h"
36 shared::Signal<IRangeElement *, int> elementChanged;
37 shared::Signal<IRangeElement *, bool> notChanged;
38 shared::Signal<IRangeElement *,const string &> byChanged;
39 shared::Signal<int32> listChanged;
40 shared::Signal<const string &> nameChanged;
41 shared::Signal<bool> unionChanged;
42 shared::Signal<bool> useHiddenChanged;
43 shared::Signal<bool> selectedChanged;
44 shared::Signal<bool> deselectedChanged;
114 virtual bool isIn(int64 index,
const TType &type)
const=0;
116 virtual void save(Archive2 &a)
const=0;
117 virtual bool restore(Archive2 &a,uint64 label)=0;
118 virtual void remap(Archive2 &a)=0;
120 virtual void saveElement(Archive2 &a,
int index)
const=0;
121 virtual bool restoreElement(Archive2 &a)=0;
152 virtual bool setDeselected(
bool b)=0;
153 virtual bool getDeselected()
const=0;
155 virtual bool isDefault()
const=0;
Definition basestring.h:71
Base class for items that will be stored in containers.
Definition ithing.h:31
Interface to a filter element, which is a member of a IRange..
Definition irangeelement.h:18
Interface to a filter, used as the main method for filtering objects.
Definition irange.h:31
virtual bool isIn(const itasca::IThing &t) const =0
virtual const itasca::IThing * getIThing() const =0
Returns a const IThing interface pointer for a filter.
virtual int getNumberOfElements() const =0
Returns the number of RangeElement making up the filter.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition irange.h:34
virtual bool getIsFish() const =0
Returns true if a filter element is a FISH filter element.
virtual void setUnion(bool b)=0
virtual const IRange & operator=(const IRange &ir)=0
Copy a filter - including name.
virtual bool setSelected(bool b)=0
virtual void setName(const string &s)=0
sets the filter name
virtual bool isIn(const itasca::IThing *t) const =0
virtual bool isIn(int64 index, const TType &type) const =0
virtual void removeElement(int index)=0
Removes element at index from the filter, assumes index is less than getNumberOfElements().
virtual void addElement(const string &name)=0
virtual itasca::IThing * getIThing()=0
Returns a IThing interface pointer for a filter.
virtual IRange * clone() const =0
Creates a new instance of a filter - must be destroyed by the caller.
virtual void setUseHidden(bool b)=0
virtual bool getSelected() const =0
Return the current selected state. See setSelected.
virtual const IRange * getNext() const =0
virtual bool isUnion() const =0
Indicates if filter is a union of filter elements.
virtual string getName() const =0
virtual bool isIn(const DVect &pos) const =0
virtual void clear()=0
clear all elements, set to union, and remove name
virtual bool getUseHidden() const =0
Returns the current hidden state. See setUseHidden().
virtual StringList getCommandSwitches() const =0
virtual bool isThreadSafe() const =0
virtual void destroy()=0
Destroys the filter.
virtual IRangeElement * getElement(int index) const =0
Returns the RangeElement at the given index, where index is less than getNumberOfElements().
virtual bool recursionCheck() const =0
Checks to see if an infinitely recursive named filter topology has been created.
DIM - Provides code portability between 2D and 3D codes.
uint32 TType
class type indicator
Definition basedef.h:47
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:156
namespace Itasca
Definition basememory.cpp:14
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:6