696 |
/// Load an existing SFZ file |
/// Load an existing SFZ file |
697 |
File(std::string file, SampleManager* pSampleManager = NULL); |
File(std::string file, SampleManager* pSampleManager = NULL); |
698 |
void parseFile(std::string file, SampleManager* pSampleManager); |
void parseFile(std::string file, SampleManager* pSampleManager); |
699 |
|
std::string filename() const; |
700 |
virtual ~File(); |
virtual ~File(); |
701 |
|
|
702 |
/// Returns a pointer to the instrument object |
/// Returns a pointer to the instrument object |
713 |
int ToInt(const std::string& s) throw(LinuxSampler::Exception); |
int ToInt(const std::string& s) throw(LinuxSampler::Exception); |
714 |
float ToFloat(const std::string& s) throw(LinuxSampler::Exception); |
float ToFloat(const std::string& s) throw(LinuxSampler::Exception); |
715 |
|
|
716 |
|
std::string rootFile; |
717 |
int currentLine; |
int currentLine; |
718 |
std::string currentDir; |
std::string currentDir; |
719 |
/// Pointer to the Instrument belonging to this file |
/// Pointer to the Instrument belonging to this file |