Audio Processing Framework (APF) version 0.5.0
Public Types | Public Member Functions | List of all members
apf::fixed_matrix< T, Allocator >::channels_iterator Class Reference

Iterator over fixed_matrix::Channels. More...

#include <apf/container.h>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = Channel
 
using reference = Channel
 
using difference_type = typename _base_type::difference_type
 
using pointer = ChannelArrowProxy
 

Public Member Functions

 channels_iterator ()
 Default constructor. More...
 
 channels_iterator (channel_iterator base_iterator, size_type step)
 Constructor. More...
 
reference operator* () const
 Dereference operator. More...
 
pointer operator-> () const
 Arrow operator. More...
 

Detailed Description

template<typename T, typename Allocator = std::allocator<T>>
class apf::fixed_matrix< T, Allocator >::channels_iterator

Iterator over fixed_matrix::Channels.

Definition at line 431 of file container.h.

Member Typedef Documentation

◆ iterator_category

template<typename T , typename Allocator = std::allocator<T>>
using apf::fixed_matrix< T, Allocator >::channels_iterator::iterator_category = std::random_access_iterator_tag

Definition at line 445 of file container.h.

◆ value_type

template<typename T , typename Allocator = std::allocator<T>>
using apf::fixed_matrix< T, Allocator >::channels_iterator::value_type = Channel

Definition at line 446 of file container.h.

◆ reference

template<typename T , typename Allocator = std::allocator<T>>
using apf::fixed_matrix< T, Allocator >::channels_iterator::reference = Channel

Definition at line 447 of file container.h.

◆ difference_type

template<typename T , typename Allocator = std::allocator<T>>
using apf::fixed_matrix< T, Allocator >::channels_iterator::difference_type = typename _base_type::difference_type

Definition at line 448 of file container.h.

◆ pointer

template<typename T , typename Allocator = std::allocator<T>>
using apf::fixed_matrix< T, Allocator >::channels_iterator::pointer = ChannelArrowProxy

Definition at line 449 of file container.h.

Constructor & Destructor Documentation

◆ channels_iterator() [1/2]

template<typename T , typename Allocator = std::allocator<T>>
apf::fixed_matrix< T, Allocator >::channels_iterator::channels_iterator ( )
inline

Default constructor.

Note
This constructor creates a singular iterator. Another channels_iterator can be assigned to it, but nothing else works.

Definition at line 454 of file container.h.

◆ channels_iterator() [2/2]

template<typename T , typename Allocator = std::allocator<T>>
apf::fixed_matrix< T, Allocator >::channels_iterator::channels_iterator ( channel_iterator  base_iterator,
size_type  step 
)
inline

Constructor.

Definition at line 459 of file container.h.

Member Function Documentation

◆ operator*()

template<typename T , typename Allocator = std::allocator<T>>
reference apf::fixed_matrix< T, Allocator >::channels_iterator::operator* ( ) const
inline

Dereference operator.

Returns
a proxy object of type fixed_matrix::Channel

Definition at line 466 of file container.h.

References apf::no_nullptr().

◆ operator->()

template<typename T , typename Allocator = std::allocator<T>>
pointer apf::fixed_matrix< T, Allocator >::channels_iterator::operator-> ( ) const
inline

Arrow operator.

Returns
a proxy object of type fixed_matrix::ChannelArrowProxy

Definition at line 475 of file container.h.


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