![]() |
MIPI - Physical Interface for MIDI Files
|
#include <Options.h>

Public Member Functions | |
| Options (void) | |
| Options (int argc, char **argv) | |
| ~Options () | |
| int | argc (void) const |
| const std::vector< std::string > & | argv (void) const |
| int | define (const std::string &aDefinition) |
| int | define (const std::string &aDefinition, const std::string &description) |
| const std::string & | getArg (int index) |
| const std::string & | getArgument (int index) |
| int | getArgCount (void) |
| int | getArgumentCount (void) |
| const std::vector< std::string > & | getArgList (void) |
| const std::vector< std::string > & | getArgumentList (void) |
| bool | getBoolean (const std::string &optionName) |
| std::string | getCommand (void) |
| const std::string & | getCommandLine (void) |
| std::string | getDefinition (const std::string &optionName) |
| double | getDouble (const std::string &optionName) |
| char | getFlag (void) |
| char | getChar (const std::string &optionName) |
| float | getFloat (const std::string &optionName) |
| int | getInt (const std::string &optionName) |
| int | getInteger (const std::string &optionName) |
| std::string | getString (const std::string &optionName) |
| char | getType (const std::string &optionName) |
| int | optionsArg (void) |
| std::ostream & | print (std::ostream &out) |
| std::ostream & | printOptionList (std::ostream &out) |
| std::ostream & | printOptionListBooleanState (std::ostream &out) |
| void | process (int error_check=1, int suppress=0) |
| void | process (int argc, char **argv, int error_check=1, int suppress=0) |
| void | reset (void) |
| void | xverify (int argc, char **argv, int error_check=1, int suppress=0) |
| void | xverify (int error_check=1, int suppress=0) |
| void | setFlag (char aFlag) |
| void | setModified (const std::string &optionName, const std::string &optionValue) |
| void | setOptions (int argc, char **argv) |
| void | appendOptions (int argc, char **argv) |
| void | appendOptions (const std::string &strang) |
| void | appendOptions (const std::vector< std::string > &argv) |
| std::ostream & | printRegister (std::ostream &out) |
| bool | isDefined (const std::string &name) |
Protected Attributes | |
| int | m_options_error_check |
| int | m_oargc |
| std::vector< std::string > | m_oargv |
| std::string | m_commandString |
| char | m_optionFlag |
| std::vector< std::string > | m_argument |
| std::vector< Option_register * > | m_optionRegister |
| std::map< std::string, int > | m_optionList |
| bool | m_processedQ |
| bool | m_suppressQ |
| bool | m_optionsArgument |
| std::vector< std::string > | m_extraArgv |
| std::vector< std::string > | m_extraArgv_strings |
Private Member Functions | |
| int | getRegIndex (const std::string &optionName) |
| int | optionQ (const std::string &aString, int &argp) |
| int | storeOption (int gargp, int &position, int &running) |
| smf::Options::Options | ( | void | ) |
| smf::Options::Options | ( | int | argc, |
| char ** | argv | ||
| ) |

| smf::Options::~Options | ( | ) |

| void smf::Options::appendOptions | ( | const std::string & | strang | ) |

| void smf::Options::appendOptions | ( | const std::vector< std::string > & | argv | ) |

| void smf::Options::appendOptions | ( | int | argc, |
| char ** | argv | ||
| ) |


| int smf::Options::argc | ( | void | ) | const |

| const std::vector< std::string > & smf::Options::argv | ( | void | ) | const |

| int smf::Options::define | ( | const std::string & | aDefinition | ) |


| int smf::Options::define | ( | const std::string & | aDefinition, |
| const std::string & | description | ||
| ) |

| const std::string & smf::Options::getArg | ( | int | index | ) |

| int smf::Options::getArgCount | ( | void | ) |

| const std::vector< std::string > & smf::Options::getArgList | ( | void | ) |

| const std::string & smf::Options::getArgument | ( | int | index | ) |

| int smf::Options::getArgumentCount | ( | void | ) |

| const std::vector< std::string > & smf::Options::getArgumentList | ( | void | ) |

| bool smf::Options::getBoolean | ( | const std::string & | optionName | ) |

| char smf::Options::getChar | ( | const std::string & | optionName | ) |

| std::string smf::Options::getCommand | ( | void | ) |
| const std::string & smf::Options::getCommandLine | ( | void | ) |
| std::string smf::Options::getDefinition | ( | const std::string & | optionName | ) |

| double smf::Options::getDouble | ( | const std::string & | optionName | ) |


| char smf::Options::getFlag | ( | void | ) |

| float smf::Options::getFloat | ( | const std::string & | optionName | ) |

| int smf::Options::getInt | ( | const std::string & | optionName | ) |


| int smf::Options::getInteger | ( | const std::string & | optionName | ) |

|
private |


| std::string smf::Options::getString | ( | const std::string & | optionName | ) |


| char smf::Options::getType | ( | const std::string & | optionName | ) |


| bool smf::Options::isDefined | ( | const std::string & | name | ) |

|
private |


| int smf::Options::optionsArg | ( | void | ) |
| std::ostream & smf::Options::print | ( | std::ostream & | out | ) |

| std::ostream & smf::Options::printOptionList | ( | std::ostream & | out | ) |
| std::ostream & smf::Options::printOptionListBooleanState | ( | std::ostream & | out | ) |
| std::ostream & smf::Options::printRegister | ( | std::ostream & | out | ) |
| void smf::Options::process | ( | int | argc, |
| char ** | argv, | ||
| int | error_check = 1, |
||
| int | suppress = 0 |
||
| ) |

| void smf::Options::process | ( | int | error_check = 1, |
| int | suppress = 0 |
||
| ) |

| void smf::Options::reset | ( | void | ) |

| void smf::Options::setFlag | ( | char | aFlag | ) |
| void smf::Options::setModified | ( | const std::string & | optionName, |
| const std::string & | optionValue | ||
| ) |


| void smf::Options::setOptions | ( | int | argc, |
| char ** | argv | ||
| ) |


|
private |


| void smf::Options::xverify | ( | int | argc, |
| char ** | argv, | ||
| int | error_check = 1, |
||
| int | suppress = 0 |
||
| ) |


| void smf::Options::xverify | ( | int | error_check = 1, |
| int | suppress = 0 |
||
| ) |

|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |