The DeviceList class represents a list of Device objects. More...
Inherits Interface.
Public Types | |
| typedef ConstListIterator< DeviceList, Device > | const_iterator |
| A C++ iterator type for the DeviceList class. More... | |
Public Member Functions | |
| DeviceList & | append (const DeviceList &other) |
| Appends the members of the specified DeviceList to this DeviceList. More... | |
| const_iterator | begin () const |
| The C++ iterator set to the beginning of this DeviceList. More... | |
| int | count () const |
| Returns the number of devices in this list. More... | |
| DeviceList (const ListBaseImplementation< Device > &) | |
| DeviceList () | |
| Constructs an empty list of devices. More... | |
| const_iterator | end () const |
| The C++ iterator set to the end of this DeviceList. More... | |
| bool | isEmpty () const |
| Reports whether the list is empty. More... | |
| Device | operator[] (int index) const |
| Access a list member by its position in the list. More... | |
The DeviceList class represents a list of Device objects.
Get a DeviceList object by calling Controller::devices().
| typedef ConstListIterator<DeviceList, Device> const_iterator |
A C++ iterator type for the DeviceList class.
| DeviceList | ( | const ListBaseImplementation< Device > & | ) |
| DeviceList | ( | ) |
Constructs an empty list of devices.
| DeviceList& append | ( | const DeviceList & | other | ) |
Appends the members of the specified DeviceList to this DeviceList.
| other | A DeviceList object containing Device objects to append to the end of this DeviceList. |
| const_iterator begin | ( | ) | const |
The C++ iterator set to the beginning of this DeviceList.
| int count | ( | ) | const |
Returns the number of devices in this list.
| const_iterator end | ( | ) | const |
The C++ iterator set to the end of this DeviceList.
| bool isEmpty | ( | ) | const |
Reports whether the list is empty.