MIDI::Reader Class Reference

#include <MIDIReader.hxx>

List of all members.

Classes

class  Error

Public Member Functions

 Reader (const char *filename)
bool Ok (void)
Byte GetByte (void)
unsigned int GetInt (void)
unsigned short GetShort (void)
ChunkType GetChunkType (void)
unsigned int GetVarLength (void)
void Read (Song &s)

Detailed Description

Definition at line 35 of file MIDIReader.hxx.


Constructor & Destructor Documentation

MIDI::Reader::Reader ( const char *  filename  )  [inline]

Definition at line 43 of file MIDIReader.hxx.


Member Function Documentation

Byte MIDI::Reader::GetByte ( void   )  [inline]

Definition at line 51 of file MIDIReader.hxx.

Referenced by GetChunkType(), GetInt(), GetShort(), GetVarLength(), and Read().

ChunkType MIDI::Reader::GetChunkType ( void   )  [inline]

Definition at line 81 of file MIDIReader.hxx.

References GetByte().

Referenced by Read().

unsigned int MIDI::Reader::GetInt ( void   )  [inline]

Definition at line 56 of file MIDIReader.hxx.

References GetByte().

Referenced by Read().

unsigned short MIDI::Reader::GetShort ( void   )  [inline]

Definition at line 70 of file MIDIReader.hxx.

References GetByte().

Referenced by Read().

unsigned int MIDI::Reader::GetVarLength ( void   )  [inline]

Definition at line 88 of file MIDIReader.hxx.

References GetByte().

Referenced by Read().

bool MIDI::Reader::Ok ( void   )  [inline]

Definition at line 47 of file MIDIReader.hxx.

References NULL.

void MIDI::Reader::Read ( Song s  ) 

The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3