Ardour  9.0-pre0-582-g084a23a80d
AudioGrapher::FlagField::iterator Class Reference

Bi-directional iterator for flag set. Iterates over flags that are set in this field. More...

#include <flag_field.h>

Inheritance diagram for AudioGrapher::FlagField::iterator:
[legend]

Public Types

using iterator_category = std::bidirectional_iterator_tag
 
using value_type = Flag
 

Public Member Functions

 iterator (FlagField const &parent, Flag position)
 
 iterator (iterator const &other)
 
value_type operator* () const
 
value_type const * operator-> () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
bool operator< (iterator const &other) const
 

Private Attributes

FlagField const & parent
 
Flag position
 

Detailed Description

Bi-directional iterator for flag set. Iterates over flags that are set in this field.

Definition at line 28 of file flag_field.h.

Member Typedef Documentation

◆ iterator_category

using AudioGrapher::FlagField::iterator::iterator_category = std::bidirectional_iterator_tag

Definition at line 34 of file flag_field.h.

◆ value_type

Constructor & Destructor Documentation

◆ iterator() [1/2]

AudioGrapher::FlagField::iterator::iterator ( FlagField const &  parent,
Flag  position 
)
inline

Definition at line 37 of file flag_field.h.

◆ iterator() [2/2]

AudioGrapher::FlagField::iterator::iterator ( iterator const &  other)
inline

Definition at line 38 of file flag_field.h.

Member Function Documentation

◆ operator*()

value_type AudioGrapher::FlagField::iterator::operator* ( ) const
inline

Definition at line 40 of file flag_field.h.

◆ operator++() [1/2]

iterator& AudioGrapher::FlagField::iterator::operator++ ( )
inline

Definition at line 43 of file flag_field.h.

◆ operator++() [2/2]

iterator AudioGrapher::FlagField::iterator::operator++ ( int  )
inline

Definition at line 50 of file flag_field.h.

◆ operator--() [1/2]

iterator& AudioGrapher::FlagField::iterator::operator-- ( )
inline

Definition at line 52 of file flag_field.h.

◆ operator--() [2/2]

iterator AudioGrapher::FlagField::iterator::operator-- ( int  )
inline

Definition at line 59 of file flag_field.h.

◆ operator->()

value_type const* AudioGrapher::FlagField::iterator::operator-> ( ) const
inline

Definition at line 41 of file flag_field.h.

◆ operator<()

bool AudioGrapher::FlagField::iterator::operator< ( iterator const &  other) const
inline

Definition at line 61 of file flag_field.h.

Member Data Documentation

◆ parent

FlagField const& AudioGrapher::FlagField::iterator::parent
private

Definition at line 64 of file flag_field.h.

◆ position

Flag AudioGrapher::FlagField::iterator::position
private

Definition at line 65 of file flag_field.h.


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