#include <cs_glue.hpp>
Public Member Functions | |
int | Count () |
const char * | Name (int ndx) |
void | Clear () |
CsoundUtilityList (CSOUND *csound) | |
CsoundUtilityList (Csound *csound) | |
~CsoundUtilityList () | |
Private Attributes | |
char ** | lst |
int | cnt |
Creates an alphabetically sorted list of utilities registered for a Csound instance. Should be called after csoundPreCompile() or Csound::PreCompile().
CsoundUtilityList::CsoundUtilityList | ( | CSOUND * | csound | ) |
CsoundUtilityList::CsoundUtilityList | ( | Csound * | csound | ) |
CsoundUtilityList::~CsoundUtilityList | ( | ) |
void CsoundUtilityList::Clear | ( | ) |
Releases the memory used by the utility list. Should be called before the Csound instance is destroyed or reset.
int CsoundUtilityList::Count | ( | ) |
Returns the number of utilities, or -1 if there is no list.
const char* CsoundUtilityList::Name | ( | int | ndx | ) |
Returns the name of the utility at index 'ndx' (counting from zero), or NULL if the index is out of range.
int CsoundUtilityList::cnt [private] |
char** CsoundUtilityList::lst [private] |