NLSOUND::CSoundPattern::IntervalIterator Class Reference

#include <sound_pattern.h>

Inheritance diagram for NLSOUND::CSoundPattern::IntervalIterator:

NLSOUND::CSoundPattern::Iterator

Public Member Functions

 IntervalIterator (CSoundPattern *pattern, uint16 max)
 IntervalIterator ()
uint32 operator * ()
Iteratoroperator++ ()

Data Fields

uint16 _Max
CSoundPattern_Pattern
uint16 _Value

Constructor & Destructor Documentation

NLSOUND::CSoundPattern::IntervalIterator::IntervalIterator  )  [inline]
 

Definition at line 78 of file sound_pattern.h.

00078 : Iterator(0, 0) {}

NLSOUND::CSoundPattern::IntervalIterator::IntervalIterator CSoundPattern pattern,
uint16  max
[inline]
 

Definition at line 79 of file sound_pattern.h.

References uint16.

00079 : Iterator(pattern, max) {}


Member Function Documentation

uint32 NLSOUND::CSoundPattern::IntervalIterator::operator *  )  [inline]
 

Definition at line 81 of file sound_pattern.h.

References NLSOUND::CSoundPattern::getInterval(), and uint32.

00081                                    {
00082                         return _Pattern->getInterval(this);
00083                 }

Iterator& NLSOUND::CSoundPattern::Iterator::operator++  )  [inline, inherited]
 

Definition at line 56 of file sound_pattern.h.

00056                                        {
00057                         _Value++;
00058                         if (_Value >= _Max) {
00059                                 _Value -= _Max;
00060                         }
00061                 }


Field Documentation

uint16 NLSOUND::CSoundPattern::Iterator::_Max [inherited]
 

Definition at line 50 of file sound_pattern.h.

CSoundPattern* NLSOUND::CSoundPattern::Iterator::_Pattern [inherited]
 

Definition at line 52 of file sound_pattern.h.

Referenced by NLSOUND::CSoundPattern::Iterator::Iterator().

uint16 NLSOUND::CSoundPattern::Iterator::_Value [inherited]
 

Definition at line 51 of file sound_pattern.h.


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 14:45:33 2004 for NeL by doxygen 1.3.6