#include <SHARC.h>
Public Member Functions | |
| SHARCLibrary () | |
| SHARCLibrary (char *name) | |
| ~SHARCLibrary () | |
| char ** | instrument_names () |
| SHARCInstrument * | instrument_named (char *name) |
| SHARCSpectrum * | spectrum_named (char *inst, char *spect) |
| void | dump_stats () |
| void | dump_example () |
Public Attributes | |
| unsigned | _num_instruments |
| SHARCInstrument ** | _instruments |
Private Member Functions | |
| bool | read_from_directory (char *name) |
| SHARCLibrary::SHARCLibrary | ( | ) |
| SHARCLibrary::SHARCLibrary | ( | char * | name | ) |
References _instruments, _num_instruments, MAX_INSTRUMENTS, and read_from_directory().
| SHARCLibrary::~SHARCLibrary | ( | ) |
References _instruments.
| char ** SHARCLibrary::instrument_names | ( | ) |
References _instruments, csl::SHARCInstrument::_name, and _num_instruments.
Referenced by test_SHARC().
| SHARCInstrument * SHARCLibrary::instrument_named | ( | char * | name | ) |
| SHARCSpectrum * SHARCLibrary::spectrum_named | ( | char * | inst, | |
| char * | spect | |||
| ) |
References instrument_named(), and csl::SHARCInstrument::spectrum_named().
| void SHARCLibrary::dump_stats | ( | ) |
References _instruments, _num_instruments, csl::SHARCInstrument::count_partials(), and csl::SHARCInstrument::count_spectra().
Referenced by test_SHARC().
| void SHARCLibrary::dump_example | ( | ) |
| bool SHARCLibrary::read_from_directory | ( | char * | name | ) | [private] |
| unsigned csl::SHARCLibrary::_num_instruments |
Referenced by dump_stats(), instrument_named(), instrument_names(), read_from_directory(), SHARCLibrary(), and test_SHARC().
Referenced by dump_example(), dump_stats(), instrument_named(), instrument_names(), read_from_directory(), SHARCLibrary(), and ~SHARCLibrary().
1.5.8