User Tools

Site Tools


api:dk11:delphi:gislayersqldb2.tgis_layersqldb2abstract.cursorfirst_integer_boolean_tgis_extent_string_tgis_shape_string_boolean

Table of Contents

TGIS_LayerSqlDb2Abstract.cursorFirst method

DK11 for Delphi | GisLayerSqlDb2.TGIS_LayerSqlDb2Abstract.cursorFirst | Constructors | Fields | Methods | Properties

Move to the first shape in the cursor.

Available also on: .NET | Java.

Overrides TGIS_LayerVector.cursorFirst.

Syntax

// Delphi
protected
  procedure cursorFirst(
    const _cursor : Integer;
    const _viewerCS : Boolean;
    const _extent : TGIS_Extent;
    const _query : String;
    const _shape : TGIS_Shape;
    const _de9im : String;
    const _skipDeleted : Boolean
  ); override;
// C++ Builder
protected:
  virtual void cursorFirst(
    const int _cursor,
    const bool _viewerCS,
    TGIS_Extent* const _extent,
    const UnicodeString _query,
    TGIS_Shape* const _shape,
    const UnicodeString _de9im,
    const bool _skipDeleted
  );

Parameters

Name Type Description
_cursor Integer cursor identifier (see TGIS_LayerVector.cursorOpen)
_viewerCS Boolean if True an the layer has been attached to the Viewer then expected _extent units are in a Viewer coordinate space; otherwise expected _extent units are in a Layer coordinate space
_extent TGIS_Extent extent of item to be found
_query String query which must be matched by item; closely mimics SQL WHERE clause; for examples you can use 'AGE >= 18'; empty (default) means that no all items will match.
_shape TGIS_Shape if not nil, then only shapes matched _de9im matrix with _shape will be found
_de9im String DE-9IM matrix of comparison
_skipDeleted Boolean set a skip deleted treatment; by default deleted items will be ignored

Remarks

Override this method in inherited class to provide your own layer traversing method.

2019/02/08 01:14