The class definition

The class definition itself holds various information about the file, including the name of the file, its access type, the number of the vector layer being accessed, and various other information. A field called AtEnd is used to indicate if there are any more shapes in the layer. Since there is no boolean type in EASI, AtEnd will be defined as a string variable, and by convention will hold only the string values "TRUE" and "FALSE".

define class VLShape
  ReadOnly
    string filename
    string access
    integer layer
    mstring fieldnames
    integer numfields
    integer shape
    string AtEnd
    Vertex ptr Vertices
    integer NumVertices
  EndReadOnly
  Private
    integer fd
  EndPrivate
enddefine

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.