#include <Nsound/CircularIterators.h>
Definition at line 212 of file CircularIterators.h.
Nsound::const_circular_iterator::const_circular_iterator |
( |
const FloatVector & |
v | ) |
|
|
inline |
Definition at line 216 of file CircularIterators.h.
220 data_(const_cast<FloatVector*>(&v))
FloatVector::const_iterator itor_
FloatVector::const_iterator end_
Definition at line 223 of file CircularIterators.h.
FloatVector::const_iterator itor_
FloatVector::const_iterator end_
Definition at line 230 of file CircularIterators.h.
References data_, end_, and itor_.
232 if(
this == &rhs)
return *
this;
FloatVector::const_iterator itor_
FloatVector::const_iterator end_
void Nsound::const_circular_iterator::reset |
( |
| ) |
|
|
inline |
Definition at line 281 of file CircularIterators.h.
References data_, and itor_.
283 if(i < 0)
return *
this -= -i;
284 auto pos = std::distance(const_cast<const FloatVector *>(
data_)->begin(),
itor_);
285 pos = (pos + i) %
data_->size();
FloatVector::const_iterator itor_
Definition at line 290 of file CircularIterators.h.
References data_, and itor_.
292 if(i < 0)
return *
this += -i;
293 auto pos = std::distance(const_cast<const FloatVector *>(
data_)->begin(),
itor_);
294 pos -= (i %
data_->size());
295 if(pos < 0) pos +=
data_->size();
FloatVector::const_iterator itor_
const FloatVector::value_type& Nsound::const_circular_iterator::operator* |
( |
| ) |
|
|
inline |
float64 Nsound::const_circular_iterator::__float__ |
( |
| ) |
const |
|
inline |
FloatVector::const_iterator Nsound::const_circular_iterator::end_ |
|
private |
FloatVector::const_iterator Nsound::const_circular_iterator::itor_ |
|
private |
The documentation for this class was generated from the following file: