1288 |
using DLS::Resource::GetParent; |
using DLS::Resource::GetParent; |
1289 |
// overridden methods |
// overridden methods |
1290 |
Region* GetRegionAt(size_t pos); |
Region* GetRegionAt(size_t pos); |
1291 |
Region* GetFirstRegion() LIBGIG_DEPRECATED("Use GetRegionAt() instead."); |
Region* GetFirstRegion() LIBGIG_DEPRECATED_API("Use GetRegionAt() instead."); |
1292 |
Region* GetNextRegion() LIBGIG_DEPRECATED("Use GetRegionAt() instead."); |
Region* GetNextRegion() LIBGIG_DEPRECATED_API("Use GetRegionAt() instead."); |
1293 |
Region* AddRegion(); |
Region* AddRegion(); |
1294 |
void DeleteRegion(Region* pRegion); |
void DeleteRegion(Region* pRegion); |
1295 |
void MoveTo(Instrument* dst); |
void MoveTo(Instrument* dst); |
1365 |
public: |
public: |
1366 |
String Name; ///< Stores the name of this Group. |
String Name; ///< Stores the name of this Group. |
1367 |
|
|
1368 |
Sample* GetFirstSample(); |
Sample* GetSample(size_t index); |
1369 |
Sample* GetNextSample(); |
Sample* GetFirstSample() LIBGIG_DEPRECATED_API("Use GetSample() instead."); |
1370 |
|
Sample* GetNextSample() LIBGIG_DEPRECATED_API("Use GetSample() instead."); |
1371 |
void AddSample(Sample* pSample); |
void AddSample(Sample* pSample); |
1372 |
protected: |
protected: |
1373 |
Group(File* file, RIFF::Chunk* ck3gnm); |
Group(File* file, RIFF::Chunk* ck3gnm); |
1379 |
private: |
private: |
1380 |
File* pFile; |
File* pFile; |
1381 |
RIFF::Chunk* pNameChunk; ///< '3gnm' chunk |
RIFF::Chunk* pNameChunk; ///< '3gnm' chunk |
1382 |
|
size_t SamplesIterator; ///< Used by GetFirstSample(), GetNextSample() only. |
1383 |
}; |
}; |
1384 |
|
|
1385 |
/** @brief Provides convenient access to Gigasampler/GigaStudio .gig files. |
/** @brief Provides convenient access to Gigasampler/GigaStudio .gig files. |
1441 |
// overridden methods |
// overridden methods |
1442 |
File(); |
File(); |
1443 |
File(RIFF::File* pRIFF); |
File(RIFF::File* pRIFF); |
1444 |
Sample* GetFirstSample(progress_t* pProgress = NULL) LIBGIG_DEPRECATED("Use GetSample() instead."); |
Sample* GetFirstSample(progress_t* pProgress = NULL) LIBGIG_DEPRECATED_API("Use GetSample() instead."); |
1445 |
Sample* GetNextSample() LIBGIG_DEPRECATED("Use GetSample() instead."); |
Sample* GetNextSample() LIBGIG_DEPRECATED_API("Use GetSample() instead."); |
1446 |
Sample* GetSample(size_t index, progress_t* pProgress = NULL); |
Sample* GetSample(size_t index, progress_t* pProgress = NULL); |
1447 |
Sample* AddSample(); |
Sample* AddSample(); |
1448 |
size_t CountSamples(); |
size_t CountSamples(); |
1456 |
void DeleteInstrument(Instrument* pInstrument); |
void DeleteInstrument(Instrument* pInstrument); |
1457 |
Group* GetFirstGroup(); ///< Returns a pointer to the first <i>Group</i> object of the file, <i>NULL</i> otherwise. |
Group* GetFirstGroup(); ///< Returns a pointer to the first <i>Group</i> object of the file, <i>NULL</i> otherwise. |
1458 |
Group* GetNextGroup(); ///< Returns a pointer to the next <i>Group</i> object of the file, <i>NULL</i> otherwise. |
Group* GetNextGroup(); ///< Returns a pointer to the next <i>Group</i> object of the file, <i>NULL</i> otherwise. |
1459 |
Group* GetGroup(uint index); |
Group* GetGroup(size_t index); |
1460 |
Group* GetGroup(String name); |
Group* GetGroup(String name); |
1461 |
Group* AddGroup(); |
Group* AddGroup(); |
1462 |
void DeleteGroup(Group* pGroup); |
void DeleteGroup(Group* pGroup); |
1492 |
friend class Group; // so Group can access protected member pRIFF |
friend class Group; // so Group can access protected member pRIFF |
1493 |
friend class ScriptGroup; // so ScriptGroup can access protected member pRIFF |
friend class ScriptGroup; // so ScriptGroup can access protected member pRIFF |
1494 |
private: |
private: |
1495 |
std::list<Group*>* pGroups; |
std::vector<Group*>* pGroups; |
1496 |
std::list<Group*>::iterator GroupsIterator; |
std::vector<Group*>::iterator GroupsIterator; |
1497 |
bool bAutoLoad; |
bool bAutoLoad; |
1498 |
std::list<ScriptGroup*>* pScriptGroups; |
std::list<ScriptGroup*>* pScriptGroups; |
1499 |
|
|