Csound and CsoundAC API  5.17
Data Structures | Macros | Functions
CsoundFile.hpp File Reference
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <fstream>
#include <sstream>
#include <stdlib.h>

Data Structures

class  CsoundFile
 Manages a Csound Structured Data (CSD) file with facilities for creating an arrangement of selected instruments in the orchestra, and for programmatically building score files. More...

Macros

#define MYFLT   float
#define PUBLIC

Functions

void PUBLIC gatherArgs (int argc, const char **argv, std::string &commandLine)
bool PUBLIC parseInstrument (const std::string &definition, std::string &preNumber, std::string &id, std::string &name, std::string &postNumber)
 Returns true if definition is a valid Csound instrument definition block.
void PUBLIC scatterArgs (const std::string commandLine, std::vector< std::string > &args, std::vector< char * > &argv)
std::string PUBLICtrim (std::string &value)
std::string PUBLICtrimQuotes (std::string &value)

Macro Definition Documentation

#define MYFLT   float
#define PUBLIC

Function Documentation

void PUBLIC gatherArgs ( int  argc,
const char **  argv,
std::string &  commandLine 
)
bool PUBLIC parseInstrument ( const std::string &  definition,
std::string &  preNumber,
std::string &  id,
std::string &  name,
std::string &  postNumber 
)

Returns true if definition is a valid Csound instrument definition block.

Also returns the part before the instr number, the instr number, the name (all text after the first comment on the same line as the instr number), and the part after the instr number, all by reference.

void PUBLIC scatterArgs ( const std::string  commandLine,
std::vector< std::string > &  args,
std::vector< char * > &  argv 
)
std::string PUBLIC& trim ( std::string &  value)
std::string PUBLIC& trimQuotes ( std::string &  value)