Nsound
0.9.4
|
A circulator iterator for class Buffer. More...
#include <Nsound/CircularIterators.h>
Public Member Functions | |
circular_iterator (FloatVector &v) | |
circular_iterator (const circular_iterator ©) | |
circular_iterator & | operator= (const circular_iterator &rhs) |
void | reset () |
bool | operator== (const circular_iterator &rhs) const |
bool | operator!= (const circular_iterator &rhs) const |
circular_iterator & | operator++ () |
circular_iterator & | operator-- () |
circular_iterator | operator++ (int) |
circular_iterator & | operator+= (int32 i) |
circular_iterator & | operator-= (int32 i) |
FloatVector::value_type & | operator* () |
float64 | __float__ () const |
std::string | __str__ () const |
Private Attributes | |
FloatVector::const_iterator | end_ |
FloatVector::iterator | itor_ |
FloatVector * | data_ |
A circulator iterator for class Buffer.
This iterator should behave like a normal std::vector::iterator, but when the iterator reaches the end of the vector, it will automatically wrap around back to the front.
Definition at line 63 of file CircularIterators.h.
|
inline |
Definition at line 68 of file CircularIterators.h.
|
inline |
Definition at line 75 of file CircularIterators.h.
|
inline |
|
inline |
|
inline |
Definition at line 95 of file CircularIterators.h.
|
inline |
Definition at line 102 of file CircularIterators.h.
|
inline |
Definition at line 109 of file CircularIterators.h.
References data_, end_, and itor_.
Referenced by operator++().
|
inline |
Definition at line 118 of file CircularIterators.h.
|
inline |
Definition at line 126 of file CircularIterators.h.
References operator++().
|
inline |
Definition at line 133 of file CircularIterators.h.
|
inline |
Definition at line 142 of file CircularIterators.h.
|
inline |
|
inline |
|
inline |
Definition at line 162 of file CircularIterators.h.
|
private |
Definition at line 181 of file CircularIterators.h.
Referenced by operator++(), and operator=().
|
private |
Definition at line 182 of file CircularIterators.h.
Referenced by __float__(), __str__(), operator!=(), operator*(), operator++(), operator+=(), operator--(), operator-=(), operator=(), operator==(), and reset().
|
private |
Definition at line 183 of file CircularIterators.h.
Referenced by __str__(), operator!=(), operator++(), operator+=(), operator--(), operator-=(), operator=(), operator==(), and reset().