NLSOUND::CSoundPattern::PatternIterator Class Reference

#include <sound_pattern.h>

Inheritance diagram for NLSOUND::CSoundPattern::PatternIterator:

NLSOUND::CSoundPattern::Iterator

Public Member Functions

std::string & operator * ()
Iteratoroperator++ ()
 PatternIterator (CSoundPattern *pattern, uint16 max)
 PatternIterator ()

Data Fields

uint16 _Max
CSoundPattern_Pattern
uint16 _Value

Constructor & Destructor Documentation

NLSOUND::CSoundPattern::PatternIterator::PatternIterator  )  [inline]
 

Definition at line 67 of file sound_pattern.h.

00067 : Iterator(0, 0) {}

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

Definition at line 68 of file sound_pattern.h.

References uint16.

00068 : Iterator(pattern, max) {}


Member Function Documentation

std::string& NLSOUND::CSoundPattern::PatternIterator::operator *  )  [inline]
 

Definition at line 70 of file sound_pattern.h.

References NLSOUND::CSoundPattern::getSound().

00070                                        {
00071                         return _Pattern->getSound(this);
00072                 }

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