Itasca C++ Interface
Loading...
Searching...
No Matches
irangelist.h
Go to the documentation of this file.
1#pragma once
2
4#include "iparse.h"
5
11namespace itasca {
12 class IContainer;
13}
14
15namespace itascaxd {
16 using namespace itasca;
17
18 class IRange;
19 class IRangeElement;
20
23 class IRangeList {
24 public:
26 inline static const TType type_ = 0x4c815b97;
27
30 virtual const IRange *getFirst() const=0;
31
34 virtual const IRange *findRangeWithName(const QString &name) const=0;
35 virtual IRange * findRangeWithName(const QString &name)=0;
36
39 virtual IRange *createRange(const IRange *prev)=0;
40
49 virtual void parse(IRange *rng,const IParse &par,const QString &keywords=QString(),IParse::IMark *p=0,bool includeFish=true)=0;
50
54 virtual const IContainer *getIContainer() const=0;
55
57 virtual QStringList getAllNames(bool includeFish=true) const=0;
58
61 virtual IRange * add(const IRange &rng)=0;
62 };
63} // namespace itascaxd
64
65// EoF
Interface for containers of IThings.
Definition icontainer.h:21
Opaque position indicator class. Do not attempt to use directly for anything.
Definition iparse.h:53
Interface to the main command processing class.
Definition iparse.h:50
Interface to a filter, used as the main method for filtering objects.
Definition irange.h:32
Interface to the global list of all named filters.
Definition irangelist.h:23
virtual void parse(IRange *rng, const IParse &par, const QString &keywords=QString(), IParse::IMark *p=0, bool includeFish=true)=0
virtual IRange * add(const IRange &rng)=0
virtual const IRange * getFirst() const =0
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition irangelist.h:26
virtual const IRange * findRangeWithName(const QString &name) const =0
virtual IRange * findRangeWithName(const QString &name)=0
virtual IContainer * getIContainer()=0
Returns the IContainer interface const pointer representing the list of filters.
virtual const IContainer * getIContainer() const =0
Returns the IContainer interface pointer representing the list of filters.
virtual QStringList getAllNames(bool includeFish=true) const =0
Returns a list of all named filters (not sorted).
virtual IRange * createRange(const IRange *prev)=0
DIM - Provides code portability between 2D and 3D codes.
uint32 TType
class type indicator
Definition basedef.h:46
Interface to the main command processing class.
namespace Itasca
Definition basememory.cpp:14
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4