Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
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. | |
IldDbms * | getDbms () const |
Returns the IldDbms representing the connection to the Oracle database. | |
IlvMapsError | getInitStatus () const |
Returns the error code that may have happened during the loader construction. | |
virtual IldRequest * | getRequest (IlvTile *tile) |
Returns the IldRequest containing the SDO geometries that intersect the specified tile. | |
virtual IlvRect * | getSize () |
Returns the bounding box of the data set managed by the tile loader. | |
virtual const IlvRect & | getTileOrigin () const |
Returns the origin tile used by the load-on demand mechanism. | |
virtual IlBoolean | isPersistent () const |
Returns IlTrue . | |
virtual IlvMapsError | load (IlvTile *tile) |
Virtual method implemented in the subclasses. | |
virtual void | release (IlvTile *tile) |
Releases the content of a tile when required by the cache of the layer. | |
Protected Member Functions | |
IlvSDOTileLoader (IldDbms *dbms) | |
Initializes an instance of IlvSDOTileLoader . | |
IldRequest * | executeQuery (const char *query) |
Executes the specified query and exports a trace if the SQL traces are enabled. | |
Friends | |
class | IlvObjectSDOLayer |
class | IlvSDOLayer |
The base class (to be subclassed) to implement tile loaders for Oracle SDO.
Library: ilvdbmaps
IlvSDOTileLoader::IlvSDOTileLoader | ( | IldDbms * | dbms | ) | [protected] |
Initializes an instance of IlvSDOTileLoader
.
dbms | The IldDbms . |
virtual IlvMapsError IlvSDOTileLoader::dbmsRestored | ( | ) | [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 IlvDefaultObjectSDOTileLoader, and IlvDefaultSDOTileLoader.
IldRequest* IlvSDOTileLoader::executeQuery | ( | const char * | query | ) | [protected] |
Executes the specified query and exports a trace if the SQL traces are enabled.
query | The result set of the executed query. |
IldRequest
virtual IldRequest* IlvSDOTileLoader::getRequest | ( | IlvTile * | tile | ) | [virtual] |
Returns the IldRequest
containing the SDO geometries that intersect the specified tile.
Returns 0 and must be implemented in the subclass.
tile | The tile to be filled with the SDO geometries. |
Reimplemented in IlvDefaultObjectSDOTileLoader, and IlvDefaultSDOTileLoader.
virtual IlvRect* IlvSDOTileLoader::getSize | ( | ) | [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.
Reimplemented in IlvDefaultObjectSDOTileLoader, and IlvDefaultSDOTileLoader.
virtual IlBoolean IlvSDOTileLoader::isPersistent | ( | ) | const [virtual] |
Returns IlTrue
.
IlTrue
if the IlvSDOTileLoader
is persistent, IlFalse
otherwise. Implements IlvTileLoader.
virtual IlvMapsError IlvSDOTileLoader::load | ( | IlvTile * | tile | ) | [virtual] |
Virtual method implemented in the subclasses.
Implements IlvTileLoader.
Reimplemented in IlvDefaultObjectSDOTileLoader, and IlvDefaultSDOTileLoader.
virtual void IlvSDOTileLoader::release | ( | IlvTile * | tile | ) | [virtual] |
Releases the content of a tile when required by the cache of the layer.
tile | The tile to be released. |
Implements IlvTileLoader.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.