Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members
LocalCDDB Class Reference
A class to read the ini file used by Microsoft's cd player.
More...
#include <LocalCDDB.h>
Inheritance diagram for LocalCDDB
[legend]Collaboration diagram for LocalCDDB:
[legend]List of all members.
Public Methods |
| LocalCDDB () |
| LocalCDDB (string directory) |
virtual | ~LocalCDDB () |
CDInfo::Entry* | GetEntry (string discid) |
bool | Open (string directory) |
bool | WriteEntry (CDInfo::Entry& entry) |
bool | Read (ifstream& fs) |
bool | Write (ofstream& fs) |
Detailed Description
A class to read the ini file used by Microsoft's cd player.
The ini file is simply a flat text file. Each new entry is simply concatenated to the end of the file.
Each entry has the following format [{VolumeSerialNumber of cd eg. D4035D}] EntryType={a number usually 1 not sure what other entry types exist} artist={the artists name} title={The title of the cd} numtracks={the number of tracks} {list of track number=track title - starts at zero eg "0=la femme d'argent"} order={the order of the playback} numplay={the number of tracks to playback - the length of order}
The documentation for this class was generated from the following files:
- /home/pcburns/c/penguinsound/include/PenguinSound/LocalCDDB.h
- /home/pcburns/c/penguinsound/src/PenguinSound/LocalCDDB.cpp
Generated at Mon Nov 27 01:47:00 2000 for LibPenguinPlay by
1.2.3 written by Dimitri van Heesch,
© 1997-2000