Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::PortSet::iterator_base< PS, P > Class Template Reference

#include <port_set.h>

Public Member Functions

std::shared_ptr< P > operator* ()
 
std::shared_ptr< P > operator-> ()
 
iterator_base< PS, P > & operator++ ()
 
bool operator== (const iterator_base< PS, P > &other)
 
bool operator!= (const iterator_base< PS, P > &other)
 

Private Member Functions

 iterator_base (PS &list, DataType type, size_t index)
 

Private Attributes

PS & _set
 
DataType _type
 Ignored if NIL (to iterator over entire set) More...
 
size_t _index
 

Friends

class PortSet
 

Detailed Description

template<typename PS, typename P>
class ARDOUR::PortSet::iterator_base< PS, P >

Definition at line 78 of file port_set.h.

Constructor & Destructor Documentation

◆ iterator_base()

template<typename PS , typename P >
ARDOUR::PortSet::iterator_base< PS, P >::iterator_base ( PS &  list,
DataType  type,
size_t  index 
)
inlineprivate

Definition at line 89 of file port_set.h.

Member Function Documentation

◆ operator!=()

template<typename PS , typename P >
bool ARDOUR::PortSet::iterator_base< PS, P >::operator!= ( const iterator_base< PS, P > &  other)
inline

Definition at line 84 of file port_set.h.

◆ operator*()

template<typename PS , typename P >
std::shared_ptr<P> ARDOUR::PortSet::iterator_base< PS, P >::operator* ( )
inline

Definition at line 80 of file port_set.h.

◆ operator++()

template<typename PS , typename P >
iterator_base<PS,P>& ARDOUR::PortSet::iterator_base< PS, P >::operator++ ( )
inline

Definition at line 82 of file port_set.h.

◆ operator->()

template<typename PS , typename P >
std::shared_ptr<P> ARDOUR::PortSet::iterator_base< PS, P >::operator-> ( )
inline

Definition at line 81 of file port_set.h.

◆ operator==()

template<typename PS , typename P >
bool ARDOUR::PortSet::iterator_base< PS, P >::operator== ( const iterator_base< PS, P > &  other)
inline

Definition at line 83 of file port_set.h.

Friends And Related Function Documentation

◆ PortSet

template<typename PS , typename P >
friend class PortSet
friend

Definition at line 87 of file port_set.h.

Member Data Documentation

◆ _index

template<typename PS , typename P >
size_t ARDOUR::PortSet::iterator_base< PS, P >::_index
private

Definition at line 98 of file port_set.h.

◆ _set

template<typename PS , typename P >
PS& ARDOUR::PortSet::iterator_base< PS, P >::_set
private

Definition at line 96 of file port_set.h.

◆ _type

template<typename PS , typename P >
DataType ARDOUR::PortSet::iterator_base< PS, P >::_type
private

Ignored if NIL (to iterator over entire set)

Definition at line 97 of file port_set.h.


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