alpaqa 1.0.0a19
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
ReverseCircularRange< IndexT > Class Template Reference

#include <alpaqa/util/ringbuffer.hpp>

Detailed Description

template<class IndexT>
class alpaqa::ReverseCircularRange< IndexT >

Definition at line 181 of file ringbuffer.hpp.

+ Collaboration diagram for ReverseCircularRange< IndexT >:

Public Types

using ForwardRange = CircularRange< IndexT >
 
using Index = typename ForwardRange::Index
 
using Indices = typename ForwardRange::Indices
 
using const_iterator = typename ForwardRange::const_reverse_iterator
 
using iterator = typename ForwardRange::reverse_iterator
 
using const_reverse_iterator = typename ForwardRange::const_iterator
 
using reverse_iterator = typename ForwardRange::iterator
 

Public Member Functions

 ReverseCircularRange (const ForwardRange &forwardrange)
 
 ReverseCircularRange (Index size, Index idx1, Index idx2, Index max)
 
iterator begin () const
 
iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
reverse_iterator rbegin () const
 
reverse_iterator rend () const
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator crend () const
 

Private Attributes

ForwardRange forwardrange
 

Member Typedef Documentation

◆ ForwardRange

Definition at line 183 of file ringbuffer.hpp.

◆ Index

Definition at line 184 of file ringbuffer.hpp.

◆ Indices

Definition at line 185 of file ringbuffer.hpp.

◆ const_iterator

Definition at line 192 of file ringbuffer.hpp.

◆ iterator

Definition at line 193 of file ringbuffer.hpp.

◆ const_reverse_iterator

Definition at line 195 of file ringbuffer.hpp.

◆ reverse_iterator

Definition at line 196 of file ringbuffer.hpp.

Constructor & Destructor Documentation

◆ ReverseCircularRange() [1/2]

template<class IndexT >
ReverseCircularRange ( const ForwardRange forwardrange)
inline

Definition at line 187 of file ringbuffer.hpp.

◆ ReverseCircularRange() [2/2]

template<class IndexT >
ReverseCircularRange ( Index  size,
Index  idx1,
Index  idx2,
Index  max 
)
inline

Definition at line 189 of file ringbuffer.hpp.

Member Function Documentation

◆ begin()

template<class IndexT >
iterator begin ( ) const
inline

Definition at line 198 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ end()

template<class IndexT >
iterator end ( ) const
inline

Definition at line 199 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ cbegin()

template<class IndexT >
const_iterator cbegin ( ) const
inline

Definition at line 200 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ cend()

template<class IndexT >
const_iterator cend ( ) const
inline

Definition at line 201 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ rbegin()

template<class IndexT >
reverse_iterator rbegin ( ) const
inline

Definition at line 203 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ rend()

template<class IndexT >
reverse_iterator rend ( ) const
inline

Definition at line 204 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ crbegin()

template<class IndexT >
const_reverse_iterator crbegin ( ) const
inline

Definition at line 205 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ crend()

template<class IndexT >
const_reverse_iterator crend ( ) const
inline

Definition at line 206 of file ringbuffer.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ forwardrange

template<class IndexT >
ForwardRange forwardrange
private

Definition at line 209 of file ringbuffer.hpp.


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