UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator Class Reference

#include <BaseObject.h>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = ObjectType
 
using difference_type = std::ptrdiff_t
 
using pointer = ObjectType *
 
using reference = ObjectType &
 

Public Member Functions

 Iterator (ObjectType *x)
 
 Iterator (ObjectType &x)
 
 Iterator (const Iterator &other)
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator== (const Iterator &rhs) const
 
bool operator!= (const Iterator &rhs) const
 
ObjectType & operator* ()
 
ObjectType * operator-> ()
 
 operator ObjectType * ()
 

Member Typedef Documentation

◆ difference_type

template<typename ObjectType , typename BaseObjectType >
using UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::difference_type = std::ptrdiff_t

◆ iterator_category

template<typename ObjectType , typename BaseObjectType >
using UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::iterator_category = std::random_access_iterator_tag

◆ pointer

template<typename ObjectType , typename BaseObjectType >
using UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::pointer = ObjectType*

◆ reference

template<typename ObjectType , typename BaseObjectType >
using UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::reference = ObjectType&

◆ value_type

template<typename ObjectType , typename BaseObjectType >
using UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::value_type = ObjectType

Constructor & Destructor Documentation

◆ Iterator() [1/3]

template<typename ObjectType , typename BaseObjectType >
UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::Iterator ( ObjectType *  x)
inline

◆ Iterator() [2/3]

template<typename ObjectType , typename BaseObjectType >
UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::Iterator ( ObjectType &  x)
inline

◆ Iterator() [3/3]

template<typename ObjectType , typename BaseObjectType >
UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::Iterator ( const Iterator other)
inline

Member Function Documentation

◆ operator ObjectType *()

template<typename ObjectType , typename BaseObjectType >
UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::operator ObjectType * ( )
inline

◆ operator!=()

template<typename ObjectType , typename BaseObjectType >
bool UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::operator!= ( const Iterator rhs) const
inline

◆ operator*()

template<typename ObjectType , typename BaseObjectType >
ObjectType& UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::operator* ( )
inline

◆ operator++() [1/2]

template<typename ObjectType , typename BaseObjectType >
Iterator& UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::operator++ ( )
inline

◆ operator++() [2/2]

template<typename ObjectType , typename BaseObjectType >
Iterator UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::operator++ ( int  )
inline

◆ operator->()

template<typename ObjectType , typename BaseObjectType >
ObjectType* UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::operator-> ( )
inline

◆ operator==()

template<typename ObjectType , typename BaseObjectType >
bool UPnP::ObjectTemplate< ObjectType, BaseObjectType >::Iterator::operator== ( const Iterator rhs) const
inline

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