SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
CommandLineParserInternal Class Reference

Public Member Functions

 CommandLineParserInternal ()
 
po::variables_map parse (int argc, const char *argv[])
 
std::string describe () const
 

Constructor & Destructor Documentation

Member Function Documentation

std::string describe ( ) const
inline
po::variables_map parse ( int  argc,
const char *  argv[] 
)
inline

basic_command_line_parser::allow_unregistered is needed when launching SCIRun from OS X app bundles; the first argument in argv is the program path, the second is the process serial number (Carbon API ProcessSerialNumber struct), which matches -psn_<unique id>=""> where the unique id matches[0-9_], for example -psn_0_1085705.

If parsing and saving the process serial number flag is ever necessary, it may useful to look at Boost program options non-conventional syntax.


The documentation for this class was generated from the following file: