2 |
* * |
* * |
3 |
* libgig - C++ cross-platform Gigasampler format file access library * |
* libgig - C++ cross-platform Gigasampler format file access library * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003-2006 by Christian Schoenebeck * |
* Copyright (C) 2003-2007 by Christian Schoenebeck * |
6 |
* <cuse@users.sourceforge.net> * |
* <cuse@users.sourceforge.net> * |
7 |
* * |
* * |
8 |
* This library is free software; you can redistribute it and/or modify * |
* This library is free software; you can redistribute it and/or modify * |
326 |
class Region; |
class Region; |
327 |
class Group; |
class Group; |
328 |
|
|
329 |
/** Encapsulates articulation information of a dimension region. |
/** @brief Encapsulates articulation information of a dimension region. |
330 |
* |
* |
331 |
* Every Gigasampler Instrument has at least one dimension region |
* Every Gigasampler Instrument has at least one dimension region |
332 |
* (exactly then when it has no dimension defined). |
* (exactly then when it has no dimension defined). |
713 |
Group* GetGroup(uint index); |
Group* GetGroup(uint index); |
714 |
Group* AddGroup(); |
Group* AddGroup(); |
715 |
void DeleteGroup(Group* pGroup); |
void DeleteGroup(Group* pGroup); |
716 |
|
void DeleteGroupOnly(Group* pGroup); |
717 |
virtual ~File(); |
virtual ~File(); |
718 |
protected: |
protected: |
719 |
// overridden protected methods from DLS::File |
// overridden protected methods from DLS::File |
731 |
std::list<Group*>::iterator GroupsIterator; |
std::list<Group*>::iterator GroupsIterator; |
732 |
}; |
}; |
733 |
|
|
734 |
/** Will be thrown whenever a gig specific error occurs while trying to access a Gigasampler File. */ |
/** |
735 |
|
* Will be thrown whenever a gig specific error occurs while trying to |
736 |
|
* access a Gigasampler File. Note: In your application you should |
737 |
|
* better catch for RIFF::Exception rather than this one, except you |
738 |
|
* explicitly want to catch and handle gig::Exception, DLS::Exception |
739 |
|
* and RIFF::Exception independently, which usually shouldn't be |
740 |
|
* necessary though. |
741 |
|
*/ |
742 |
class Exception : public DLS::Exception { |
class Exception : public DLS::Exception { |
743 |
public: |
public: |
744 |
Exception(String Message); |
Exception(String Message); |