NLSOUND::CSoundPattern::Iterator Class Reference

#include <sound_pattern.h>

Inheritance diagram for NLSOUND::CSoundPattern::Iterator:

NLSOUND::CSoundPattern::IntervalIterator NLSOUND::CSoundPattern::PatternIterator

Public Member Functions

 Iterator (CSoundPattern *pattern, uint16 max)
Iteratoroperator++ ()

Data Fields

uint16 _Max
CSoundPattern_Pattern
uint16 _Value

Constructor & Destructor Documentation

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

Definition at line 54 of file sound_pattern.h.

References _Pattern, and uint16.

00054 : _Pattern(pattern), _Value(0), _Max(max) {}


Member Function Documentation

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

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
 

Definition at line 50 of file sound_pattern.h.

CSoundPattern* NLSOUND::CSoundPattern::Iterator::_Pattern
 

Definition at line 52 of file sound_pattern.h.

Referenced by Iterator().

uint16 NLSOUND::CSoundPattern::Iterator::_Value
 

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:35 2004 for NeL by doxygen 1.3.6