Lists
Background Information
In Caché, the word list can refer either of the following:
-
A native list as defined by functions in a programming language.
See Caché ObjectScript Reference, Caché Basic Reference, and Caché MultiValue Basic Reference. This reference book does not go into details for the languages.
-
An instance of any of the Caché list classes.
This reference topic lists these classes.
List Classes
- %Collection.ListOfDTOpens in a new tab class
-
Defines the interface for a list property whose elements are literal values.
For an introduction, see “Working with Collections” in Using Caché Objects.
Availability: All namespaces.
- %Collection.ListOfObjOpens in a new tab class
-
Defines the interface for a list property whose elements are objects.
For an introduction, see “Working with Collections” in Using Caché Objects.
Availability: All namespaces.
- %ListOfDataTypesOpens in a new tab class
-
Defines a stand-alone object that represents a list of literal values.
Availability: All namespaces.
- %ListOfObjectsOpens in a new tab class
-
Defines a stand-alone object that represents a list of objects.
Availability: All namespaces.
- %ListOpens in a new tab and %ListOfBinaryOpens in a new tab classes
-
These datatype classes represents the ObjectScript native list format.
Availability: All namespaces.
- %ListOfObjectsWithClassNameOpens in a new tab class
-
A version of the %ListOfObjectsOpens in a new tab collection class that stores class names in OIDs. These classes can be used stand alone to store a collection.
Availability: All namespaces.