Csound and CsoundAC API  5.17
Public Member Functions | Private Attributes
CsoundOpcodeList Class Reference

#include <cs_glue.hpp>

Public Member Functions

void Clear ()
 Releases the memory used by the opcode list.
int Count ()
 Returns the number of opcodes, or -1 if there is no list.
 CsoundOpcodeList (CSOUND *csound)
 CsoundOpcodeList (Csound *csound)
const char * InTypes (int ndx)
 Returns the input types of the opcode at index 'ndx' (counting from zero), or NULL if the index is out of range.
const char * Name (int ndx)
 Returns the name of the opcode at index 'ndx' (counting from zero), or NULL if the index is out of range.
const char * OutTypes (int ndx)
 Returns the output types of the opcode at index 'ndx' (counting from zero), or NULL if the index is out of range.
 ~CsoundOpcodeList ()

Private Attributes

int cnt
opcodeListEntrylst

Constructor & Destructor Documentation

CsoundOpcodeList::CsoundOpcodeList ( CSOUND csound)
CsoundOpcodeList::CsoundOpcodeList ( Csound *  csound)
CsoundOpcodeList::~CsoundOpcodeList ( )

Member Function Documentation

void CsoundOpcodeList::Clear ( )

Releases the memory used by the opcode list.

Should be called before the Csound instance is destroyed or reset.

int CsoundOpcodeList::Count ( )

Returns the number of opcodes, or -1 if there is no list.

const char* CsoundOpcodeList::InTypes ( int  ndx)

Returns the input types of the opcode at index 'ndx' (counting from zero), or NULL if the index is out of range.

const char* CsoundOpcodeList::Name ( int  ndx)

Returns the name of the opcode at index 'ndx' (counting from zero), or NULL if the index is out of range.

const char* CsoundOpcodeList::OutTypes ( int  ndx)

Returns the output types of the opcode at index 'ndx' (counting from zero), or NULL if the index is out of range.

Field Documentation

int CsoundOpcodeList::cnt
private
opcodeListEntry* CsoundOpcodeList::lst
private