Indexes Used in the Server/Views Mapping
In the Server/Views mapping, two set of indexes are used.
The Rogue Wave Server index whose range is
1 to
n.
This index is used to access table columns or rows in the dynamic view specification file. This kind of index is specified as instances of IlsSvInt (an Rogue Wave® Server redefinition of the integer type) in the API documentation. All the member functions called from the server generic protocol use the Rogue Wave Server index type.
The Rogue Wave Views index whose range is
0 to
n-1.
This index is used by Rogue Wave Views to access columns in Rogue Wave Views tables and data sources. This kind of index is specified as instances of the class IlvInt in the API documentation. All the member functions called as the result of a user-defined action on the server use the Rogue Wave Views index type.
The following methods are provided to convert one index type to the other or to retrieve the identifier of a representation attribute from an Rogue Wave Views column number:
IlsSwRepresentation::serverIndexToInFormIndex IlsSwRepresentation::inFormIndexToServerIndex IlsSwTable::colToAttributeId IlsSwRow::colToAttributeId
Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.