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 LinkedObjectnext () 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 >
Iterator LinkedObjectTemplate< ObjectType >::begin ( ) const
inline

◆ cbegin()

template<typename ObjectType >
Iterator LinkedObjectTemplate< ObjectType >::cbegin ( ) const
inline

◆ cend()

template<typename ObjectType >
Iterator LinkedObjectTemplate< ObjectType >::cend ( ) const
inline

◆ end()

template<typename ObjectType >
Iterator LinkedObjectTemplate< ObjectType >::end ( ) const
inline

◆ getNext()

template<typename ObjectType >
ObjectType* LinkedObjectTemplate< ObjectType >::getNext ( ) const
inline

◆ insertAfter()

template<typename ObjectType >
bool LinkedObjectTemplate< ObjectType >::insertAfter ( ObjectType *  object)
inline

The documentation for this class was generated from the following file: