quala main
Quasi-Newton and other accelerators
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
ReverseCircularRange< IndexT > Class Template Reference

#include <quala/util/ringbuffer.hpp>

Detailed Description

template<class IndexT>
class quala::ReverseCircularRange< IndexT >

Definition at line 220 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

using ForwardRange = CircularRange<IndexT>

Definition at line 222 of file ringbuffer.hpp.

◆ Index

using Index = typename ForwardRange::Index

Definition at line 223 of file ringbuffer.hpp.

◆ Indices

using Indices = typename ForwardRange::Indices

Definition at line 224 of file ringbuffer.hpp.

◆ const_iterator

Definition at line 231 of file ringbuffer.hpp.

◆ iterator

Definition at line 232 of file ringbuffer.hpp.

◆ const_reverse_iterator

Definition at line 234 of file ringbuffer.hpp.

◆ reverse_iterator

Definition at line 235 of file ringbuffer.hpp.

Constructor & Destructor Documentation

◆ ReverseCircularRange() [1/2]

ReverseCircularRange ( const ForwardRange forwardrange)
inline

Definition at line 226 of file ringbuffer.hpp.

◆ ReverseCircularRange() [2/2]

ReverseCircularRange ( Index  size,
Index  idx1,
Index  idx2,
Index  max 
)
inline

Definition at line 228 of file ringbuffer.hpp.

Member Function Documentation

◆ begin()

iterator begin ( ) const
inline

Definition at line 237 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ end()

iterator end ( ) const
inline

Definition at line 238 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ cbegin()

const_iterator cbegin ( ) const
inline

Definition at line 239 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ cend()

const_iterator cend ( ) const
inline

Definition at line 240 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ rbegin()

reverse_iterator rbegin ( ) const
inline

Definition at line 242 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ rend()

reverse_iterator rend ( ) const
inline

Definition at line 243 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ crbegin()

const_reverse_iterator crbegin ( ) const
inline

Definition at line 244 of file ringbuffer.hpp.

+ Here is the call graph for this function:

◆ crend()

const_reverse_iterator crend ( ) const
inline

Definition at line 245 of file ringbuffer.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ forwardrange

ForwardRange forwardrange
private

Definition at line 248 of file ringbuffer.hpp.


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