sf2::InstrumentBase Class Reference

#include <SF.h>

Inheritance diagram for sf2::InstrumentBase:

sf2::Instrument sf2::Preset List of all members.

Public Member Functions

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

Public Attributes

String Name

Protected Attributes

std::vector< Region * > regions

Detailed Description

Definition at line 439 of file SF.h.

Constructor & Destructor Documentation

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

Definition at line 636 of file SF.cpp.

References pFile, and pGlobalRegion.

sf2::InstrumentBase::~InstrumentBase (  )  [virtual]

Definition at line 641 of file SF.cpp.

References pGlobalRegion, and regions.

Member Function Documentation

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

Definition at line 447 of file SF.h.

References pFile.

String sf2::InstrumentBase::GetName (  )  [inline]

Definition at line 448 of file SF.h.

References Name.

int sf2::InstrumentBase::GetRegionCount (  ) 

Definition at line 648 of file SF.cpp.

References regions.

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

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

Definition at line 652 of file SF.cpp.

References GetRegionCount(), and regions.

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

Member Data Documentation

String sf2::InstrumentBase::Name

Definition at line 441 of file SF.h.

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

Region* sf2::InstrumentBase::pGlobalRegion

Definition at line 442 of file SF.h.

Referenced by sf2::Preset::CreateRegion(), sf2::Instrument::CreateRegion(), InstrumentBase(), sf2::Preset::LoadRegions(), sf2::Instrument::LoadRegions(), and ~InstrumentBase().

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

Definition at line 454 of file SF.h.

Referenced by sf2::Instrument::DeleteRegion(), GetRegion(), GetRegionCount(), sf2::Preset::LoadRegions(), sf2::Instrument::LoadRegions(), and ~InstrumentBase().

sf2::File* sf2::InstrumentBase::pFile [protected]

Reimplemented in sf2::Preset.

Definition at line 455 of file SF.h.

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

The documentation for this class was generated from the following files:
Generated on Sun May 1 03:22:48 2011 for libgig by  doxygen 1.5.2