| Base Module VST 3.7
    SDK for developing VST plug-in | 
Very simple command-line parser. More...
| Classes | |
| class | Description | 
| The description of one single command-line option.  More... | |
| class | Descriptions | 
| List of command-line option descriptions.  More... | |
| class | VariablesMap | 
| Command-line parsing result.  More... | |
| Typedefs | |
| using | FilesVector = std::vector< std::string > | 
| type of the list of elements on the command line that are not handled by options parsing  More... | |
| Functions | |
| bool | parse (int ac, char *av[], const Descriptions &desc, VariablesMap &result, FilesVector *files=nullptr) | 
| Parse the command - line.  More... | |
| std::ostream & | operator<< (std::ostream &os, const Descriptions &desc) | 
| Make Descriptions stream able.  More... | |
Very simple command-line parser.
Parses the command-line into a CommandLine::VariablesMap.
The command-line parser uses CommandLine::Descriptions to define the available options.
Example:
SMTG_NO_IMPLEMENTATION in all but one file. | using FilesVector = std::vector<std::string> | 
type of the list of elements on the command line that are not handled by options parsing
| bool parse | ( | int | ac, | 
| char * | av[], | ||
| const Descriptions & | desc, | ||
| VariablesMap & | result, | ||
| FilesVector * | files | ||
| ) | 
Parse the command - line.
| [in] | ac | count of command-line parameters | 
| [in] | av | command-line as array of strings | 
| [in] | desc | Descriptions including all allowed options | 
| [out] | result | the parsing result | 
| [out] | files | optional list of elements on the command line that are not handled by options parsing | 
| std::ostream & operator<< | ( | std::ostream & | os, | 
| const Descriptions & | desc | ||
| ) | 
Make Descriptions stream able.