|
AudioDataLib
A C++ library of classes supporting a variety of audio-data tasks.
|
The base class for any kind of data (typically audio data) loaded from a file. More...
#include <FileData.h>
Public Member Functions | |
| FileData () | |
| virtual | ~FileData () |
| virtual void | DumpInfo (FILE *fp) const =0 |
| virtual void | DumpCSV (FILE *fp) const =0 |
| virtual FileData * | Clone () const =0 |
The base class for any kind of data (typically audio data) loaded from a file.
Dynamic casts are typically used to decypher what kind of data the user is given when handed a pointer to this base class.
| FileData::FileData | ( | ) |
|
virtual |
|
pure virtual |
The derived implimentation should return a new derived instance of the class in question with identical, but separate data.
Implemented in AudioDataLib::AudioData, AudioDataLib::MidiData, AudioDataLib::WaveTableData, and AudioDataLib::WaveTableData::AudioSampleData.
|
pure virtual |
Derivative implimentations should produce a command-separated list of human-readable data which can also be loaded as a CVS in spreadsheet software.
| [in] | fp | A pointer to a FILE object to which the text should be written. |
Implemented in AudioDataLib::AudioData, AudioDataLib::MidiData, and AudioDataLib::WaveTableData.
|
pure virtual |
Derivative implimentations should produce informative, human-readable text about the file data.
| [in] | fp | A pointer to a FILE object to which the text should be written. |
Implemented in AudioDataLib::AudioData, AudioDataLib::MidiData, AudioDataLib::WaveTableData, AudioDataLib::WaveTableData::AudioSampleData, AudioDataLib::SoundFontData, and AudioDataLib::DownloadableSoundData.