Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 11, 2006, 1:57:27 PM (19 years ago)
Author:
bensch
Message:

trunk: fixed most -Wall warnings… but there are still many missing :/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/parser/cmdline_parser/cmdline_parser.h

    r7256 r8316  
    1717struct ArgTableEntry
    1818{
    19   int         id;
    20   std::string longOption;
    21   char        shortOption;
    22   int         numArgs;
    23   std::string argNames;
    24   std::string help;
     19  unsigned int    id;
     20  std::string     longOption;
     21  char            shortOption;
     22  unsigned int    numArgs;
     23  std::string     argNames;
     24  std::string     help;
    2525};
    2626
     
    3636    CmdLineParser();
    3737    virtual ~CmdLineParser();
    38    
     38
    3939    bool add( int id, const std::string& longOption, char shortOption, int numArgs, const std::string & argNames, const std::string& help, bool back=false );
    4040
    4141    bool parse( ArgParserCallback cb, void* data, int argc, char** argv );
    42    
     42
    4343    void showHelp();
    44    
     44
    4545  private:
    4646    ArgTable argTable;
    4747    std::string exeName;
    48    
     48
    4949    inline bool matches( ArgTableEntry entry, std::string arg, bool & finish );
    5050
Note: See TracChangeset for help on using the changeset viewer.