libgig  3.3.0.svn20
sf2::InstrumentBase Class Reference

#include <SF.h>

Inheritance diagram for sf2::InstrumentBase:
sf2::Instrument sf2::Preset

Public Member Functions

 InstrumentBase (sf2::File *pFile)
 
virtual ~InstrumentBase ()
 
sf2::FileGetFile ()
 
String GetName ()
 
int GetRegionCount ()
 
RegionGetRegion (int idx)
 

Public Attributes

String Name
 
RegionpGlobalRegion
 

Protected Attributes

std::vector< Region * > regions
 
sf2::FilepFile
 

Detailed Description

Definition at line 447 of file SF.h.

Constructor & Destructor Documentation

sf2::InstrumentBase::InstrumentBase ( sf2::File pFile)

Definition at line 724 of file SF.cpp.

References pFile, and pGlobalRegion.

sf2::InstrumentBase::~InstrumentBase ( )
virtual

Definition at line 729 of file SF.cpp.

References pGlobalRegion, and regions.

Member Function Documentation

sf2::File* sf2::InstrumentBase::GetFile ( )
inline

Definition at line 455 of file SF.h.

References pFile.

String sf2::InstrumentBase::GetName ( )
inline

Definition at line 456 of file SF.h.

References Name.

Region * sf2::InstrumentBase::GetRegion ( int  idx)

Definition at line 740 of file SF.cpp.

References GetRegionCount(), and regions.

Referenced by sf2::File::DeleteInstrument(), sf2::File::DeleteSample(), and sf2::Query::next().

int sf2::InstrumentBase::GetRegionCount ( )

Definition at line 736 of file SF.cpp.

References regions.

Referenced by sf2::File::DeleteInstrument(), sf2::File::DeleteSample(), GetRegion(), and sf2::Query::next().

Member Data Documentation

String sf2::InstrumentBase::Name

Definition at line 449 of file SF.h.

Referenced by GetName(), sf2::Instrument::Instrument(), and sf2::Preset::Preset().

sf2::File* sf2::InstrumentBase::pFile
protected

Definition at line 463 of file SF.h.

Referenced by GetFile(), sf2::Instrument::Instrument(), and InstrumentBase().

std::vector<Region*> sf2::InstrumentBase::regions
protected

The documentation for this class was generated from the following files: