The base class (to be subclassed) to implement tile loaders for Oracle SDO. More...
#include <ilviews/maps/format/oracle/sdotileload.h>
Public Member Functions | |
| virtual IlvMapsError | dbmsRestored () |
Called by the IlvSDOLayer read from an .ilv file, after the connection to an Oracle SDO database has been restored. More... | |
| IldDbms * | getDbms () const |
Returns the IldDbms representing the connection to the Oracle database. More... | |
| IlvMapsError | getInitStatus () const |
| Returns the error code that may have happened during the loader construction. More... | |
| virtual IldRequest * | getRequest (IlvTile *tile) |
| Returns the request containing the SDO geometries that intersect the specified tile. More... | |
| virtual IlvRect * | getSize () |
| Returns the bounding box of the data set managed by the tile loader. More... | |
| virtual const IlvRect & | getTileOrigin () const |
| Returns the origin tile used by the load-on demand mechanism. | |
| virtual IlBoolean | isPersistent () const |
Indicates whether this IlvSDOTileLoader is persistent. More... | |
| virtual IlvMapsError | load (IlvTile *tile) |
| Loads a tile. More... | |
| virtual void | release (IlvTile *tile) |
| Releases the content of a tile when required by the cache of the layer. More... | |
Public Member Functions inherited from IlvTileLoader | |
| virtual void | controllerDeleted (IlvTileController *controller) |
| Called when the controller is deleted. More... | |
| virtual void | tileDeleted (IlvTile *tile) |
| Called when a tile is deleted during the controller destruction. More... | |
Protected Member Functions | |
| IlvSDOTileLoader (IldDbms *dbms) | |
Initializes a new instance of IlvSDOTileLoader. More... | |
| IldRequest * | executeQuery (const char *query) |
| Executes the specified query and exports a trace if the SQL traces are enabled. More... | |
Friends | |
| class | IlvObjectSDOLayer |
| class | IlvSDOLayer |
The base class (to be subclassed) to implement tile loaders for Oracle SDO.
Library: ilvdbmaps
IlvSDOLayer.
|
protected |
Initializes a new instance of IlvSDOTileLoader.
| dbms | The database connection. |
|
virtual |
Called by the IlvSDOLayer read from an .ilv file, after the connection to an Oracle SDO database has been restored.
IlvMapsError code. Reimplemented in IlvDefaultSDOTileLoader, and IlvDefaultObjectSDOTileLoader.
|
protected |
Executes the specified query and exports a trace if the SQL traces are enabled.
| query | The result set of the executed query. |
IlvSDOUtil::EnableSQLTraces(). | IldDbms* IlvSDOTileLoader::getDbms | ( | ) | const |
Returns the IldDbms representing the connection to the Oracle database.
| IlvMapsError IlvSDOTileLoader::getInitStatus | ( | ) | const |
Returns the error code that may have happened during the loader construction.
|
virtual |
Returns the request containing the SDO geometries that intersect the specified tile.
The default implementation returns 0.
| tile | The tile to be filled with the SDO geometries. |
IldRequest containing the SDO geometries that intersect the specified tile.load(). Reimplemented in IlvDefaultSDOTileLoader, and IlvDefaultObjectSDOTileLoader.
|
virtual |
Returns the bounding box of the data set managed by the tile loader.
If the bounding box cannot be computed, this method can return 0. The IlvSDOLayer using this object will have an undefined size.
The default implementation returns 0.
Reimplemented in IlvDefaultSDOTileLoader, and IlvDefaultObjectSDOTileLoader.
|
virtual |
Indicates whether this IlvSDOTileLoader is persistent.
IlTrue if the IlvSDOTileLoader is persistent, IlFalse otherwise. Implements IlvTileLoader.
|
virtual |
Loads a tile.
The default implementation does nothing and returns IlvMaps::NoError().
Implements IlvTileLoader.
Reimplemented in IlvDefaultSDOTileLoader, and IlvDefaultObjectSDOTileLoader.
|
virtual |
Releases the content of a tile when required by the cache of the layer.
| tile | The tile to be released. |
Implements IlvTileLoader.