Module cRowIdArray.pkg
cRowIdArray.pkg
Class: cRowIdArray
This is a private class that is used by db-grid classes (dbGrid & dbList - code in datalist.pkg) to store
Rowids for each row in the grid. None of these messages in this class should ever be directly accessed from
any of the developer's classes or objects. There should be public messages in the db-grid classes to do
whatever a developer needs to do. Directly using these messages can result in instabilities.
This class is private. It's existance, implementation and interface is likely to change.
If a developer finds that they need a similar type of capability (a set class that stores and
retrieves an array of Rowids) they may wish to use this class as a model for creating their
own custom class. It is quite simple. All we are doing is serializing every value coming into the object
and deserializing every value coming out of the object. This is needed because the array class cannot
store rowId data-types. (Note that the native array data-type, could do this.)
cRowIdArray.pkg (view source)- import declarations
- cRowIdArray : set
- Set(integer iIndex RowId riRec)
- RowIdRowId_Value(integer iIndex)
- StringsRowId
- Insert_RowId(integer iIndex RowId riRec)
- Delete_RowId(integer iIndex)
- integerFind_RowId(RowId riId)
- IntegeriItem
- integerAdd_RowId(RowId riId)
- IntegeriItem
- Remove_RowId(rowId riId)
References (4):
Field References (0):
Module | Containing Symbol | Line |
---|