src/ds++/XGetopt.hh
XGetopt(int const argc, char **&argv, std::string const &shortopts, csmap helpstrings_ = csmap())
      : optind(0), optarg(),                                     // empty string
        cmd_line_args(argv + 1, argv + argc), longopts(csmap()), // empty
        vshortopts_hasarg(std::map<char, bool>()), vshortopts(decompose_shortopts(shortopts)),
        helpstrings(std::move(helpstrings_)) {
    match_args_to_options();
  }
/*!
   * \brief Xgetopt constructor that only supports single character command line arguments.
   *
   * \param[in] argc The number of command line arguments
   * \param[in] argv An array of C-style strings that represent the command line.
   * \param[in] shortopts A string of letters that represent known command line arguments.  Any
   *            letter followed by a colon represents an option that requires that an argument be
   *            provided.
   * \param[in] helpstrings_ A map of strings whose keys must match values proivded in shortopts and
   *            whose values are messages related to each option that will be printed by the member
   *            function display_help.
   */
\brief Xgetopt constructor that only supports single character command line arguments.
\param[in] argc The number of command line arguments
\param[in] argv An array of C-style strings that represent the command line.
\param[in] shortopts A string of letters that represent known command line arguments.  Any
letter followed by a colon represents an option that requires that an argument be
provided.
\param[in] helpstrings_ A map of strings whose keys must match values proivded in shortopts and
whose values are messages related to each option that will be printed by the member
function display_help.
\ brief Xgetopt constructor that only supports single character command line arguments . \ param [ in ] argc The number of command line arguments \ param [ in ] argv An array of C - style strings that represent the command line . \ param [ in ] shortopts A string of letters that represent known command line arguments . Any letter followed by a colon represents an option that requires that an argument be provided . \ param [ in ] helpstrings_ A map of strings whose keys must match values proivded in shortopts and whose values are messages related to each option that will be printed by the member function display_help .
XGetopt(int const argc, char **&argv, std::string const &shortopts, csmap helpstrings_ = csmap())
      : optind(0), optarg(),                                     
        cmd_line_args(argv + 1, argv + argc), longopts(csmap()), 
        vshortopts_hasarg(std::map<char, bool>()), vshortopts(decompose_shortopts(shortopts)),
        helpstrings(std::move(helpstrings_)) {
    match_args_to_options();
  }
XGetopt ( int const argc , char * * & argv , std :: string const & shortopts , csmap helpstrings_ = csmap ( ) ) : optind ( 0 ) , optarg ( ) , cmd_line_args ( argv + 1 , argv + argc ) , longopts ( csmap ( ) ) , vshortopts_hasarg ( std :: map < char , bool > ( ) ) , vshortopts ( decompose_shortopts ( shortopts ) ) , helpstrings ( std :: move ( helpstrings_ ) ) { match_args_to_options ( ) ; }
\brief Xgetopt constructor that only supports single character command line arguments.
\ brief Xgetopt constructor that only supports single character command line arguments .
// empty string // empty