Ilwis-Objects
1.0
GIS and Remote Sensing framework for data access and processing
|
The ConnectorInterface class all connectors are derived from this interface. More...
#include <connectorinterface.h>
Public Member Functions | |
virtual bool | loadMetaData (IlwisObject *) |
loads the metadata and non binary information into the ilwisobject. After this method it should be a valid object More... | |
virtual Grid * | loadGridData (IlwisObject *) |
loadGridData loads the 2D or 3D raster data from the source into memory More... | |
virtual bool | loadData (IlwisObject *) |
loadData loads bulk binary data into the ilwisobject. More... | |
virtual bool | dataIsLoaded () const |
virtual bool | store (IlwisObject *, int) |
virtual bool | execute (const OperationExpression &, ExecutionContext *) |
virtual bool | isReadOnly () |
isReadOnly returns if a connector can write to a source. More... | |
virtual ConnectorInterface * | clone () const |
clone copies the connector for use with another object More... | |
virtual Resource & | source ()=0 |
source returns the resource location were this connector is attached to More... | |
virtual QString | provider () const =0 |
virtual void | format (const QString &) |
virtual QString | format () const |
virtual bool | isValid () const |
virtual bool | canUse (const Resource &) const |
The ConnectorInterface class all connectors are derived from this interface.
*The connector interface enumerates the methods that may be implemented by a derivative. It is unlikely that a derivative will implement all methods so a default implementation is provied. *Usualy the MetaData methods are implemented and depending on the nature of the source also one or more of the binary (Grid/table) ones is implemented.
|
inlinevirtual |
clone copies the connector for use with another object
*A connector is dedicated to one IlwisObject only. If one needs an identical connector for whatever reason one can clone it and reuse it
|
inlinevirtual |
isReadOnly returns if a connector can write to a source.
*This return is more of the physical possibility of writing data. There is also a readonly flag at ilwisobject level but describes usualy the logical readonly status (e.g. I dont want that this will be written)
|
inlinevirtual |
loadData loads bulk binary data into the ilwisobject.
Reimplemented in Ilwis::CatalogConnector.
|
inlinevirtual |
loadGridData loads the 2D or 3D raster data from the source into memory
*Grid data can be of any size as the memory manager of Ilwis will swap any excess out to its disk cache. *Note that Ilwis doesnt make a difference between 2D and 3D griddata. If the local format has different storage methods for those they have to be resolved at connector level
|
inlinevirtual |
loads the metadata and non binary information into the ilwisobject. After this method it should be a valid object
data | the ilwisobject to be initialized |
Reimplemented in Ilwis::CatalogConnector.
|
pure virtual |
source returns the resource location were this connector is attached to
Implemented in Ilwis::IlwisObjectConnector.