UPnP::ObjectList< ObjectType > Class Template Reference
Class template for singly-linked list of objects. More...
#include <ObjectList.h>
Inheritance diagram for UPnP::ObjectList< ObjectType >:
Collaboration diagram for UPnP::ObjectList< ObjectType >:
Public Member Functions | |
| ObjectType * | head () |
| const ObjectType * | head () const |
| ObjectType::Iterator | begin () |
| ObjectType::Iterator | end () |
| bool | isEmpty () const |
| size_t | count () const |
| template<typename T > | |
| ObjectType * | find (const T &objectType) |
| Search list for matching entry. More... | |
| ObjectType * | find (const ObjectClass &objectClass) |
| Search list for matching entry given its class @objectClass Class information for object. More... | |
Public Member Functions inherited from UPnP::LinkedItemList | |
| bool | add (LinkedItem *item) |
| bool | add (const LinkedItem *item) |
| bool | remove (LinkedItem *item) |
| void | clear () |
| LinkedItem * | head () |
| const LinkedItem * | head () const |
| LinkedItem * | find (LinkedItem *item) |
| const LinkedItem * | find (LinkedItem *item) const |
| bool | contains (LinkedItem *item) const |
Detailed Description
template<typename ObjectType>
class UPnP::ObjectList< ObjectType >
Class template for singly-linked list of objects.
- Note
- We don't own the objects, just keep references to them
Member Function Documentation
◆ begin()
template<typename ObjectType >
|
inline |
◆ count()
template<typename ObjectType >
|
inline |
◆ end()
template<typename ObjectType >
|
inline |
◆ find() [1/2]
template<typename ObjectType >
|
inline |
Search list for matching entry given its class @objectClass Class information for object.
- Return values
-
ObjectType* Located definition or nullptr if not found
◆ find() [2/2]
template<typename ObjectType >
template<typename T >
|
inline |
◆ head() [1/2]
template<typename ObjectType >
|
inline |
◆ head() [2/2]
template<typename ObjectType >
|
inline |
◆ isEmpty()
template<typename ObjectType >
|
inline |
The documentation for this class was generated from the following file:
Public Member Functions inherited from
1.8.17