Ilwis-Objects  1.0
GIS and Remote Sensing framework for data access and processing
 All Classes Functions Enumerations Pages
Public Types | Protected Member Functions | Protected Attributes | List of all members
Ilwis::NumericOperation Class Reference
Inheritance diagram for Ilwis::NumericOperation:
Ilwis::OperationImplementation Ilwis::Identity

Public Types

enum  OperatorType { otPLUS, otMINUS, otMULT, otDIV }
 
- Public Types inherited from Ilwis::OperationImplementation
enum  State { sNOTPREPARED, sPREPARED, sPREPAREFAILED }
 

Protected Member Functions

 NumericOperation (quint64 metaid, const Ilwis::OperationExpression &expr)
 
NumericRangeconstructRangeFrom (const SPNumericRange &range1, const SPNumericRange &range2) const
 
NumericRangeconstructRangeFrom (const SPNumericRange &range, double number) const
 
void mathoperator (const QString &oper)
 
double calc (double v1, double v2) const
 
- Protected Member Functions inherited from Ilwis::OperationImplementation
virtual State prepare (ExecutionContext *ctx, const SymbolTable &symTable)=0
 
- Protected Member Functions inherited from Ilwis::Identity
 Identity (const QString &name, qint64 id=i64UNDEF, const QString &cde=sUNDEF, const QString &descr=sUNDEF)
 
void prepare (quint64 base=0)
 
void setId (quint64 newid)
 

Protected Attributes

double _number1 = rUNDEF
 
double _number2 = rUNDEF
 
OperatorType _operator
 
- Protected Attributes inherited from Ilwis::OperationImplementation
IOperationMetaData _metadata
 
OperationExpression _expression
 
State _prepState
 

Additional Inherited Members

- Public Member Functions inherited from Ilwis::OperationImplementation
 OperationImplementation (quint64 metaid, const Ilwis::OperationExpression &e)
 
const IOperationMetaDatametadata () const
 
virtual bool execute (ExecutionContext *ctx, SymbolTable &symTable)=0
 
virtual bool isValid () const
 
OperationExpression expression () const
 

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