LinkedObjectListTemplate< ObjectType > Class Template Reference
#include <LinkedObjectList.h>
Inheritance diagram for LinkedObjectListTemplate< ObjectType >:
Collaboration diagram for LinkedObjectListTemplate< ObjectType >:
Public Types | |
using | Iterator = typename LinkedObjectTemplate< ObjectType >::template IteratorTemplate< ObjectType, ObjectType *, ObjectType & > |
using | ConstIterator = typename LinkedObjectTemplate< ObjectType >::template IteratorTemplate< const ObjectType, const ObjectType *, const ObjectType & > |
Public Member Functions | |
LinkedObjectListTemplate ()=default | |
LinkedObjectListTemplate (ObjectType *object) | |
ObjectType * | head () |
const ObjectType * | head () const |
Iterator | begin () |
Iterator | end () |
ConstIterator | begin () const |
ConstIterator | end () const |
bool | add (ObjectType *object) |
bool | add (const ObjectType *object) |
bool | insert (ObjectType *object) |
bool | insert (const ObjectType *object) |
ObjectType * | pop () |
size_t | count () const |
bool | contains (const ObjectType &object) const |
Public Member Functions inherited from LinkedObjectList | |
LinkedObjectList () | |
LinkedObjectList (LinkedObject *object) | |
bool | add (LinkedObject *object) |
bool | add (const LinkedObject *object) |
bool | insert (LinkedObject *object) |
bool | insert (const LinkedObject *object) |
bool | remove (LinkedObject *object) |
LinkedObject * | pop () |
void | clear () |
LinkedObject * | head () |
const LinkedObject * | head () const |
bool | isEmpty () const |
Additional Inherited Members | |
Protected Attributes inherited from LinkedObjectList | |
LinkedObject * | mHead {nullptr} |
Member Typedef Documentation
◆ ConstIterator
template<typename ObjectType >
using LinkedObjectListTemplate< ObjectType >::ConstIterator = typename LinkedObjectTemplate<ObjectType>::template IteratorTemplate<const ObjectType, const ObjectType*, const ObjectType&> |
◆ Iterator
template<typename ObjectType >
using LinkedObjectListTemplate< ObjectType >::Iterator = typename LinkedObjectTemplate<ObjectType>::template IteratorTemplate<ObjectType, ObjectType*, ObjectType&> |
Constructor & Destructor Documentation
◆ LinkedObjectListTemplate() [1/2]
template<typename ObjectType >
|
default |
◆ LinkedObjectListTemplate() [2/2]
template<typename ObjectType >
|
inline |
Member Function Documentation
◆ add() [1/2]
template<typename ObjectType >
|
inline |
◆ add() [2/2]
template<typename ObjectType >
|
inline |
◆ begin() [1/2]
template<typename ObjectType >
|
inline |
◆ begin() [2/2]
template<typename ObjectType >
|
inline |
◆ contains()
template<typename ObjectType >
|
inline |
◆ count()
template<typename ObjectType >
|
inline |
◆ end() [1/2]
template<typename ObjectType >
|
inline |
◆ end() [2/2]
template<typename ObjectType >
|
inline |
◆ head() [1/2]
template<typename ObjectType >
|
inline |
◆ head() [2/2]
template<typename ObjectType >
|
inline |
◆ insert() [1/2]
template<typename ObjectType >
|
inline |
◆ insert() [2/2]
template<typename ObjectType >
|
inline |
◆ pop()
template<typename ObjectType >
|
inline |
The documentation for this class was generated from the following file: