Changelog:
CVS Log messages:
Definition in file BaseCut.h.
#include "jbltools/sfh/BaseCutBase.h"
#include "jbltools/sfh/FillIteratorPoR.h"
#include "jbltools/sfh/BaseCutPoR.h"
#include "jbltools/sfh/ROListPoR.h"
Include dependency graph for BaseCut.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Compounds | |
class | ConstBaseCut |
A IntFun that returns a constant value. More... | |
Variables | |
<<<<<<< BaseCut.hclassFloatBaseCut:publicFloatFun{public:FloatBaseCut(constBaseCut &theBaseCut_);virtualfloatoperator()() const{returntheBaseCut();}virtualconstFillIterator *getIterator() const{returntheBaseCut.getIterator();}virtualconstchar *getName() const{returnname;}protected:virtual~FloatBaseCut(){delete[]name;name=0;}constBaseCut &theBaseCut;char *name;private:FloatBaseCut(constFloatBaseCut &rhs);FloatBaseCut &operator=(constFloatBaseCut &rhs);};classIntBaseCut:publicIntFun{public:IntBaseCut(constBaseCut &theBaseCut_);virtualintoperator()() const{returntheBaseCut();}virtualconstFillIterator *getIterator() const{returntheBaseCut.getIterator();}virtualconstchar *getName() const{returnname;}protected:virtual~IntBaseCut(){delete[]name;name=0;}constBaseCut &theBaseCut;char *name;private:IntBaseCut(constIntBaseCut &rhs);IntBaseCut &operator=(constIntBaseCut &rhs);};classTwoCutCompound:publicBaseCut{public:TwoCutCompound(constBaseCut &lhs_, constBaseCut &rhs_, constchar *format="TwoCutCompound(%s,%s)");virtualconstFillIterator *getIterator() const;virtualconstchar *getName() const{returnname;}protected:virtual~TwoCutCompound(){delete[]name;name=0;}constBaseCut &lhs;constBaseCut &rhs;char *name;private:TwoCutCompound(constTwoCutCompound &rhs);TwoCutCompound &operator=(constTwoCutCompound &rhs);};classAndOfTwoCuts:publicTwoCutCompound{public:AndOfTwoCuts(constBaseCut &lhs_, constBaseCut &rhs_):TwoCutCompound(lhs_, rhs_, "(%s)&&(%s)"){};virtualbooloperator()() const{returnlhs()&&rhs();};protected:virtual~AndOfTwoCuts(){};};classOrOfTwoCuts:publicTwoCutCompound{public:OrOfTwoCuts(constBaseCut &lhs_, constBaseCut &rhs_):TwoCutCompound(lhs_, rhs_, "(%s)||(%s)"){};virtualbooloperator()() const{returnlhs()||rhs();}protected:virtual~OrOfTwoCuts(){};};classOneCutCompound:publicBaseCut{public:OneCutCompound(constBaseCut &arg_, constchar *format="OneCutCompound(%s)");virtualconstFillIterator *getIterator() const{returnarg.getIterator();}virtualconstchar *getName() const{returnname;}protected:virtual~OneCutCompound(){delete[]name;name=0;}constBaseCut &arg;char *name;private:OneCutCompound(constOneCutCompound &rhs);OneCutCompound &operator=(constOneCutCompound &rhs);};classNotOfACut:publicOneCutCompound{public:NotOfACut(constBaseCut &arg_):OneCutCompound(arg_, "!(%s)"){}virtualbooloperator()() const{return!arg();}protected:virtual~NotOfACut(){};};classCachedBaseCut:publicBaseCut, publicCachedO{public:CachedBaseCut(constROListPoR &rol, constBaseCut &arg_);virtualbooloperator()() const;virtualvoidinvalidateCache(){cacheValid=false;}virtualconstchar *getName() const{returnname;}protected:virtual~CachedBaseCut(){delete[]name;name=0;}constBaseCut &arg;mutableboolcacheValid;mutableboolcachedValue;char *name;private:CachedBaseCut(constCachedBaseCut &rhs);CachedBaseCut &operator=(constCachedBaseCut &rhs);};classCachedBaseCutIt:publicBaseCut, publicCachedO{public:CachedBaseCutIt(constROListPoR &rol, constBaseCut &arg_, constFillIterator &iter_);virtualbooloperator()() const;virtualconstFillIterator *getIterator() const{return &iter;}virtualvoidinvalidateCache(){cacheValid.resize(0);cachedValues.resize(0);}virtualconstchar *getName() const{returnCachedBaseCutIt::name;}protected:voidgrowCache(unsignedints) const;virtual~CachedBaseCutIt(){delete[]name;name=0;}constBaseCut &arg;constFillIterator &iter;mutablestd::vector< bool >cacheValid;mutablestd::vector< bool >cachedValues;char *name;private:CachedBaseCutIt(constCachedBaseCutIt &rhs);CachedBaseCutIt &operator=(constCachedBaseCutIt &rhs);};=======>>>>>> BaseCut & | operator&& (const BaseCut &lhs_, const BaseCut &rhs_) |
"And" of two BaseCut objects |