Go to the documentation of this file.
31 template <
typename ObjectType>
class ObjectList :
public LinkedItemList
44 typename ObjectType::Iterator
begin()
49 typename ObjectType::Iterator
end()
56 return head() ==
nullptr;
62 for(
auto it =
begin(); it !=
end(); it++) {
75 for(
auto it =
begin(); it !=
end(); it++) {
76 if(it->typeIs(objectType)) {
bool isEmpty() const
Definition: ObjectList.h:88
bool remove(ObjectType *object)
Definition: ObjectList.h:119
Class template for singly-linked list of objects.
Definition: ObjectList.h:116
Class template for singly-linked list of objects.
Definition: ObjectList.h:48
ObjectType::Iterator end()
Definition: ObjectList.h:83
ObjectType * find(const T &objectType)
Search list for matching entry.
Definition: ObjectList.h:107
ObjectType * head()
Definition: ObjectList.h:68
LinkedItem * head()
Definition: LinkedItemList.h:81
Describes device or service class.
Definition: ObjectClass.h:53
Definition: ActionRequest.h:24
ObjectType::Iterator begin()
Definition: ObjectList.h:78
ObjectType
Definition: Libraries/jerryscript/src/include/Jerryscript/Types.h:44
bool remove(LinkedItem *item)
size_t count() const
Definition: ObjectList.h:93
void clear()
Definition: ObjectList.h:126