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.
 
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. 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
 Returns IlTrue. More...
 
virtual IlvMapsError load (IlvTile *tile)
 Virtual method implemented in the subclasses. 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 an 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 ( IldDbms *  dbms)
protected

Initializes an instance of IlvSDOTileLoader.

Parameters
dbmsThe IldDbms.

Member Function Documentation

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.

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 IldRequest
See also
IlvSDOUtil::EnableSQLTraces
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.

See also
IlvSDOTileLoader::load
Parameters
tileThe tile to be filled with the SDO geometries.

Reimplemented in IlvDefaultSDOTileLoader, and IlvDefaultObjectSDOTileLoader.

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.

Returns
0

Reimplemented in IlvDefaultSDOTileLoader, and IlvDefaultObjectSDOTileLoader.

virtual IlBoolean IlvSDOTileLoader::isPersistent ( ) const
virtual

Returns IlTrue.

Returns
IlTrue if the IlvSDOTileLoader is persistent, IlFalse otherwise.

Implements IlvTileLoader.

virtual IlvMapsError IlvSDOTileLoader::load ( IlvTile tile)
virtual

Virtual method implemented in the subclasses.

Returns
IlvMaps::NoError().

Implements IlvTileLoader.

Reimplemented in IlvDefaultSDOTileLoader, and IlvDefaultObjectSDOTileLoader.

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 2016, 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.