LinkedObjectTemplate< ObjectType > Class Template Reference
Base class template for linked items with type casting. More...
#include <LinkedObject.h>
Inheritance diagram for LinkedObjectTemplate< ObjectType >:
Collaboration diagram for LinkedObjectTemplate< ObjectType >:
Classes | |
class | IteratorTemplate |
Public Types | |
using | Iterator = IteratorTemplate< ObjectType, ObjectType *, ObjectType & > |
using | ConstIterator = IteratorTemplate< const ObjectType, const ObjectType *, const ObjectType & > |
Public Member Functions | |
ObjectType * | getNext () const |
bool | insertAfter (ObjectType *object) |
Iterator | begin () const |
Iterator | end () const |
Iterator | cbegin () const |
Iterator | cend () const |
Public Member Functions inherited from LinkedObject | |
virtual | ~LinkedObject () |
virtual LinkedObject * | next () const |
bool | insertAfter (LinkedObject *object) |
bool | operator== (const LinkedObject &other) const |
bool | operator!= (const LinkedObject &other) const |
Detailed Description
template<typename ObjectType>
class LinkedObjectTemplate< ObjectType >
Base class template for linked items with type casting.
Member Typedef Documentation
◆ ConstIterator
template<typename ObjectType >
using LinkedObjectTemplate< ObjectType >::ConstIterator = IteratorTemplate<const ObjectType, const ObjectType*, const ObjectType&> |
◆ Iterator
template<typename ObjectType >
using LinkedObjectTemplate< ObjectType >::Iterator = IteratorTemplate<ObjectType, ObjectType*, ObjectType&> |
Member Function Documentation
◆ begin()
template<typename ObjectType >
|
inline |
◆ cbegin()
template<typename ObjectType >
|
inline |
◆ cend()
template<typename ObjectType >
|
inline |
◆ end()
template<typename ObjectType >
|
inline |
◆ getNext()
template<typename ObjectType >
|
inline |
◆ insertAfter()
template<typename ObjectType >
|
inline |
The documentation for this class was generated from the following file: