UPnP::OwnedObjectList< ObjectType > Class Template Reference
Class template for singly-linked list of objects. More...
#include <ObjectList.h>
Inheritance diagram for UPnP::OwnedObjectList< ObjectType >:
Collaboration diagram for UPnP::OwnedObjectList< ObjectType >:
Public Member Functions | |
| bool | remove (ObjectType *object) |
| void | clear () |
Public Member Functions inherited from UPnP::ObjectList< ObjectType > | |
| 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::OwnedObjectList< ObjectType >
Class template for singly-linked list of objects.
- Note
- We own the objects so are responsible for destroying them when removed
Member Function Documentation
◆ clear()
template<typename ObjectType >
|
inline |
◆ remove()
template<typename ObjectType >
|
inline |
The documentation for this class was generated from the following file:
Public Member Functions inherited from
1.9.1