This section provides information about the
- Parent class
- Child classes
Listclass is a
Dictionarysubclass that is used for representing lists populated by the methods
Beginning with NDB 8.0.29, this class has three methods, listed here:
a constructor (
a destructor (
None of the methods just listed take any arguments.
Calling the constructor creates a new
elementsattributes are both set equal to
clear()method, introduced in NDB 8.0.29, removes all data from the list. You can use this to prepare an existing
Listfor reuse with
The destructor (
~List()) removes all elements and their properties. Beginning with NDB 8.0.29, it first invokes
clear()before doing so.
The definition of this class can be found in
Listhas the following two attributes:
count, an unsigned integer, which stores the number of elements in the list.
elements, a pointer to an array of
Elementdata structures contained in the list. See Section 2.3.4, “The Element Structure”.
Listclass also defines the