Rogue Wave Views
Maps Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions | Protected Member Functions | Friends
IlvSDOTileLoader Class Reference

The base class (to be subclassed) to implement tile loaders for Oracle SDO. More...

#include <ilviews/maps/format/oracle/sdotileload.h>

Inheritance diagram for IlvSDOTileLoader:
IlvTileLoader IlvDefaultObjectSDOTileLoader IlvDefaultSDOTileLoader

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 IlvRectgetSize ()
 Returns the bounding box of the data set managed by the tile loader. More...
 
virtual const IlvRectgetTileOrigin () 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
 

Detailed Description

The base class (to be subclassed) to implement tile loaders for Oracle SDO.

Library: ilvdbmaps

See also
IlvSDOLayer.

Constructor & Destructor Documentation

§ IlvSDOTileLoader()

IlvSDOTileLoader::IlvSDOTileLoader ( IldDbms *  dbms)
protected

Initializes a new instance of IlvSDOTileLoader.

Parameters
dbmsThe database connection.

Member Function Documentation

§ dbmsRestored()

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.

Returns
An IlvMapsError code.

Reimplemented in IlvDefaultSDOTileLoader, and IlvDefaultObjectSDOTileLoader.

§ executeQuery()

IldRequest* IlvSDOTileLoader::executeQuery ( const char *  query)
protected

Executes the specified query and exports a trace if the SQL traces are enabled.

Parameters
queryThe result set of the executed query.
Returns
The request.
See also
IlvSDOUtil::EnableSQLTraces().

§ getDbms()

IldDbms* IlvSDOTileLoader::getDbms ( ) const

Returns the IldDbms representing the connection to the Oracle database.

Returns
The connection to the Oracle database.

§ getInitStatus()

IlvMapsError IlvSDOTileLoader::getInitStatus ( ) const

Returns the error code that may have happened during the loader construction.

Returns
The error code that may have happened during the loader construction.

§ getRequest()

virtual IldRequest* IlvSDOTileLoader::getRequest ( IlvTile tile)
virtual

Returns the request containing the SDO geometries that intersect the specified tile.

The default implementation returns 0.

Parameters
tileThe tile to be filled with the SDO geometries.
Returns
The IldRequest containing the SDO geometries that intersect the specified tile.
See also
load().

Reimplemented in IlvDefaultSDOTileLoader, and IlvDefaultObjectSDOTileLoader.

§ getSize()

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.

The default implementation returns 0.

Returns
The bounding box of the data set managed by the tile loader.

Reimplemented in IlvDefaultSDOTileLoader, and IlvDefaultObjectSDOTileLoader.

§ isPersistent()

virtual IlBoolean IlvSDOTileLoader::isPersistent ( ) const
virtual

Indicates whether this IlvSDOTileLoader is persistent.

Returns
IlTrue if the IlvSDOTileLoader is persistent, IlFalse otherwise.

Implements IlvTileLoader.

§ load()

virtual IlvMapsError IlvSDOTileLoader::load ( IlvTile tile)
virtual

Loads a tile.

The default implementation does nothing and returns IlvMaps::NoError().

Returns
The resulting error code.

Implements IlvTileLoader.

Reimplemented in IlvDefaultSDOTileLoader, and IlvDefaultObjectSDOTileLoader.

§ release()

virtual void IlvSDOTileLoader::release ( IlvTile tile)
virtual

Releases the content of a tile when required by the cache of the layer.

Parameters
tileThe tile to be released.

Implements IlvTileLoader.


© Copyright 2017, 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.