CsoundUtilityList Class Reference

#include <cs_glue.hpp>


Detailed Description

CsoundUtilityList(CSOUND *) CsoundUtilityList(Csound *)

Creates an alphabetically sorted list of utilities registered for a Csound instance. Should be called after csoundPreCompile() or Csound::PreCompile().

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


Constructor & Destructor Documentation

CsoundUtilityList::CsoundUtilityList ( CSOUND csound  ) 

CsoundUtilityList::CsoundUtilityList ( Csound *  csound  ) 

CsoundUtilityList::~CsoundUtilityList (  ) 


Member Function Documentation

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.

void CsoundUtilityList::Clear (  ) 

Releases the memory used by the utility list. Should be called before the Csound instance is destroyed or reset.


Field Documentation

char** CsoundUtilityList::lst [private]

int CsoundUtilityList::cnt [private]


Generated on Sun Nov 9 00:08:21 2008 for Csound and CsoundAC by  doxygen 1.5.6