rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

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

List of all members.

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

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:
dbms The 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 IlvDefaultObjectSDOTileLoader, and IlvDefaultSDOTileLoader.

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

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

Parameters:
query The 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:
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.

Returns:
0

Reimplemented in IlvDefaultObjectSDOTileLoader, and IlvDefaultSDOTileLoader.

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 IlvDefaultObjectSDOTileLoader, and IlvDefaultSDOTileLoader.

virtual void IlvSDOTileLoader::release ( IlvTile tile  )  [virtual]

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

Parameters:
tile The tile to be released.

Implements IlvTileLoader.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© 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.