Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

syn::SampleBuffer::iterator Class Template Reference

#include <SampleBuffer.h>

List of all members.

Public Methods

 iterator (std::vector< DATA_TYPE > *ptr=NULL, unsigned int index=0)
void operator++ ()
DATA_TYPE& operator * ()
bool operator== (const iterator &rhs)
bool operator!= (const iterator &rhs)

Protected Attributes

std::vector<DATA_TYPE>* mBufferPtr
unsigned int mIndex

Friends

class  SampleBuffer< DATA_TYPE, CHAN >

template<typename DATA_TYPE = float, int CHAN = 1> class syn::SampleBuffer::iterator


Constructor & Destructor Documentation

syn::SampleBuffer::iterator::iterator ( std::vector< DATA_TYPE > * ptr = NULL,
unsigned int index = 0 ) [inline]
 

Definition at line 126 of file SampleBuffer.h.


Member Function Documentation

void syn::SampleBuffer::iterator::operator++ ( ) [inline]
 

Definition at line 131 of file SampleBuffer.h.

DATA_TYPE & syn::SampleBuffer::iterator::operator * ( ) [inline]
 

Definition at line 135 of file SampleBuffer.h.

bool syn::SampleBuffer::iterator::operator== ( const iterator & rhs ) [inline]
 

Definition at line 139 of file SampleBuffer.h.

bool syn::SampleBuffer::iterator::operator!= ( const iterator & rhs ) [inline]
 

Definition at line 144 of file SampleBuffer.h.


Friends And Related Function Documentation

class SampleBuffer< DATA_TYPE, CHAN > [friend]
 

Definition at line 149 of file SampleBuffer.h.


Member Data Documentation

std::vector< DATA_TYPE > * syn::SampleBuffer::iterator::mBufferPtr<DATA_TYPE> [protected]
 

Definition at line 150 of file SampleBuffer.h.

unsigned int syn::SampleBuffer::iterator::mIndex [protected]
 

Definition at line 151 of file SampleBuffer.h.


The documentation for this class was generated from the following file:
Generated at Mon Apr 15 09:27:57 2002 for subsynth by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001