The ITSet interface
Base class: ITValue
The ITSet class provides random access to rowset or collection members.
This interface provides the following methods.
Method | Description |
---|---|
ITBool IsScrollable() | Returns TRUE if this set is scrollable. |
ITBool IsReadOnly() | Returns TRUE if this set cannot
be updated. |
ITBool Open() | Opens or reopens the set. |
ITBool Close() | Closes the set. Close does not release the interface. |
ITBool Delete(enum ITPosition pos = ITPositionCurrent, long jump = 0) = 0 | Deletes the specified member from the set. Returns TRUE if
successful, FALSE otherwise. |
ITBool Insert(ITDatum *item, enum ITPosition pos = ITPositionCurrent, long jump = 0) = 0 | Inserts the specified item immediately after the
current item. Returns TRUE if successful, FALSE otherwise. |
ITValue *MakeItem(ITEssential **outerunkn = NULL) | Returns a pointer to an ITValue interface of a new object of the same type as the objects in the collection. The value of the object can then be set (for example, with FromPrintable()) and the object can be inserted into the collection object. |
ITValue *Fetch(ITEssential **outerunkn = NULL, enum ITPosition pos = ITPositionNext, long jump = 0) | Fetches the collection member and returns the pointer to its ITValue interface. |