libgig  4.0.0
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 448 of file SF.h.

Constructor & Destructor Documentation

◆ InstrumentBase()

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

Definition at line 724 of file SF.cpp.

◆ ~InstrumentBase()

sf2::InstrumentBase::~InstrumentBase ( )
virtual

Definition at line 729 of file SF.cpp.

Member Function Documentation

◆ GetFile()

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

Definition at line 456 of file SF.h.

◆ GetName()

String sf2::InstrumentBase::GetName ( )
inline

Definition at line 457 of file SF.h.

◆ GetRegion()

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

Definition at line 740 of file SF.cpp.

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

◆ GetRegionCount()

int sf2::InstrumentBase::GetRegionCount ( )

Definition at line 736 of file SF.cpp.

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

Member Data Documentation

◆ Name

String sf2::InstrumentBase::Name

Definition at line 450 of file SF.h.

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

◆ pFile

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

Definition at line 464 of file SF.h.

Referenced by sf2::Instrument::Instrument().

◆ pGlobalRegion

Region* sf2::InstrumentBase::pGlobalRegion

◆ regions

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

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