Unit GIS_Functions

DescriptionusesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

GIS_Functions defines GIS functions that can be used with a TRbwParser from within GoPhast.

Some of the functions require access to global variables. Most of these are set through "Update" procedures but one (GlobalEvaluatedAt) is declared in the interface section.

For a list of the functions, see the User's Guide.

uses

Overview

Functions and Procedures

procedure AddGIS_Functions(const Parser: TRbwParser);
procedure UpdateGlobalLocations(const Col, Row, Layer: integer; const EvaluatedAt: TEvaluatedAt);
procedure UpdateCurrentScreenObject(const AScreenObject: TScreenObject);
procedure UpdateCurrentSegment(const ASegment: TCellElementSegment);

Constants

rsListRealValue = 'ListRealValue';
rsListIntegerValue = 'ListIntegerValue';

Variables

GlobalEvaluatedAt: TEvaluatedAt;

Description

Functions and Procedures

procedure AddGIS_Functions(const Parser: TRbwParser);

AddGIS_Functions adds a series of (mostly) GIS function to Parser. The functions are defined in the initialization section. In addition, one descendant of TSelectExpression is defined in the implementation section and added to RbwParser.SpecialImplentorList.

Parameters
Parser
is the TRbwParser to which the GIS functions will be added.
procedure UpdateGlobalLocations(const Col, Row, Layer: integer; const EvaluatedAt: TEvaluatedAt);

UpdateGlobalLocations updates a series of global values related to location.

procedure UpdateCurrentScreenObject(const AScreenObject: TScreenObject);

UpdateCurrentScreenObject stores AScreenObject in a global variable and resets the global variable for TCellElementSegment to nil.

procedure UpdateCurrentSegment(const ASegment: TCellElementSegment);

UpdateCurrentSegment stores ASegment in a global variable.

Constants

rsListRealValue = 'ListRealValue';

rsListRealValue is the name of a function added in AddGIS_Functions.

rsListIntegerValue = 'ListIntegerValue';

rsListIntegerValue is the name of a function added in AddGIS_Functions.

Variables

GlobalEvaluatedAt: TEvaluatedAt;

GlobalEvaluatedAt is the TEvaluatedAt of the current context. This should probably be defined in the implementation section.


Generated by PasDoc 0.10.0 on 2006-10-31 09:56:38