MPIInputSpikeBufferIterator< T > Class Template Reference

Convenient iterator-like interface to MPIInputSpikeBuffer. More...

#include <MPIInputSpikeBuffer.h>

Collaboration diagram for MPIInputSpikeBufferIterator< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MPIInputSpikeBufferIterator ()
MPIInputSpikeBufferIterator< T > & operator++ ()
MPIInputSpikeBufferElementoperator* ()
MPIInputSpikeBufferElementoperator-> ()

Protected Attributes

MPIInputSpikeBufferElement elem
T * pbuf
T * curr_pos
unsigned int len
guard_value

Friends

class MPIInputSpikeBuffer< T >
bool operator== (const MPIInputSpikeBufferIterator< T > &it1, const MPIInputSpikeBufferIterator< T > &it2)
bool operator!= (const MPIInputSpikeBufferIterator< T > &it1, const MPIInputSpikeBufferIterator< T > &it2)


Detailed Description

template<typename T = unsigned short>
class MPIInputSpikeBufferIterator< T >

Convenient iterator-like interface to MPIInputSpikeBuffer.

Points to a temporary element contained within itself, constructed on the fly from the actual position in MPIInputSpikeBuffer.

Definition at line 55 of file MPIInputSpikeBuffer.h.


Constructor & Destructor Documentation

template<typename T>
MPIInputSpikeBufferIterator< T >::MPIInputSpikeBufferIterator (  )  [inline]


Member Function Documentation

template<typename T>
MPIInputSpikeBufferIterator< T > & MPIInputSpikeBufferIterator< T >::operator++ (  )  [inline]

template<typename T = unsigned short>
MPIInputSpikeBufferElement& MPIInputSpikeBufferIterator< T >::operator* (  )  [inline]

Definition at line 62 of file MPIInputSpikeBuffer.h.

References MPIInputSpikeBufferIterator< T >::elem.

template<typename T = unsigned short>
MPIInputSpikeBufferElement* MPIInputSpikeBufferIterator< T >::operator-> (  )  [inline]

Definition at line 67 of file MPIInputSpikeBuffer.h.

References MPIInputSpikeBufferIterator< T >::elem.


Friends And Related Function Documentation

template<typename T = unsigned short>
friend class MPIInputSpikeBuffer< T > [friend]

Definition at line 81 of file MPIInputSpikeBuffer.h.

template<typename T = unsigned short>
bool operator== ( const MPIInputSpikeBufferIterator< T > &  it1,
const MPIInputSpikeBufferIterator< T > &  it2 
) [friend]

Definition at line 36 of file MPIInputSpikeBuffer.h.

template<typename T = unsigned short>
bool operator!= ( const MPIInputSpikeBufferIterator< T > &  it1,
const MPIInputSpikeBufferIterator< T > &  it2 
) [friend]

Definition at line 42 of file MPIInputSpikeBuffer.h.


Member Data Documentation

template<typename T = unsigned short>
MPIInputSpikeBufferElement MPIInputSpikeBufferIterator< T >::elem [protected]

template<typename T = unsigned short>
T* MPIInputSpikeBufferIterator< T >::pbuf [protected]

template<typename T = unsigned short>
T* MPIInputSpikeBufferIterator< T >::curr_pos [protected]

template<typename T = unsigned short>
unsigned int MPIInputSpikeBufferIterator< T >::len [protected]

template<typename T = unsigned short>
T MPIInputSpikeBufferIterator< T >::guard_value [protected]


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

Generated on Wed Jul 9 16:34:51 2008 for PCSIM by  doxygen 1.5.5