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

Public Types

enum  State { sNOTPREPARED, sPREPARED, sPREPAREFAILED }
 

Public Member Functions

 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
 
- Public Member Functions inherited from Ilwis::Identity
virtual void setCode (const QString &code)
 sets the code for this instance More...
 
QString code () const
 code returns the code of the identity. If no code is attached it will return sUNDEF ("?"). More...
 
quint64 id () const
 id returns a unsigned 64-bit number unique for the objects using the identity More...
 
virtual QString name () const
 name returns the name of an object. All objects have names though names need not to be unique More...
 
void setName (const QString &n)
 setName sets the name of an object. All objects have names though names need not to be unique More...
 
virtual QString description () const
 
void setDescription (const QString &desc)
 

Protected Member Functions

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

IOperationMetaData _metadata
 
OperationExpression _expression
 
State _prepState
 

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