A simple class for creating argv[] lists for use with functions like csoundCompile().
More...
#include <cs_glue.hpp>
|
| void | Append (const char *s) |
| | Appends a new value at the end of the argument list. More...
|
| |
| int | argc () |
| | Returns the count of arguments in the list, zero if there are none, and -1 if the list could not be allocated. More...
|
| |
| char ** | argv () |
| | Returns a char** pointer for use with csoundCompile() etc. More...
|
| |
| const char * | argv (int ndx) |
| | Returns the argument at the specified index (counting from zero), or NULL if the index is out of range. More...
|
| |
| void | Clear () |
| | Removes all elements of the list. More...
|
| |
| | CsoundArgVList () |
| |
| void | Insert (int ndx, const char *s) |
| | Inserts a new value to the argument list at the specified index (counting from zero). More...
|
| |
| | ~CsoundArgVList () |
| |
A simple class for creating argv[] lists for use with functions like csoundCompile().
| CsoundArgVList::CsoundArgVList |
( |
| ) |
|
| CsoundArgVList::~CsoundArgVList |
( |
| ) |
|
| void CsoundArgVList::Append |
( |
const char * |
s | ) |
|
Appends a new value at the end of the argument list.
If there is not enough memory, the list is not changed.
| int CsoundArgVList::argc |
( |
| ) |
|
Returns the count of arguments in the list, zero if there are none, and -1 if the list could not be allocated.
| char** CsoundArgVList::argv |
( |
| ) |
|
| const char* CsoundArgVList::argv |
( |
int |
ndx | ) |
|
Returns the argument at the specified index (counting from zero), or NULL if the index is out of range.
| void CsoundArgVList::Clear |
( |
| ) |
|
Removes all elements of the list.
| void CsoundArgVList::destroy_argv |
( |
| ) |
|
|
private |
| void CsoundArgVList::Insert |
( |
int |
ndx, |
|
|
const char * |
s |
|
) |
| |
Inserts a new value to the argument list at the specified index (counting from zero).
If there is not enough memory, the list is not changed.
| char** CsoundArgVList::ArgV_ |
|
private |