Ignore:
Timestamp:
24/08/10 11:23:06 (21 months ago)
Author:
Freddie Akeroyd
Message:

Update to tclap 1.2.0 from http://tclap.sourceforge.net/
Refs #244

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/third_party/tclap/CmdLineInterface.h

    r857 r1515  
    8383                 * \param argv - Array of arguments. 
    8484                 */ 
    85                 virtual void parse(int argc, char** argv)=0; 
     85                virtual void parse(int argc, const char * const * argv)=0; 
     86 
     87        /** 
     88         * Parses the command line. 
     89         * \param args - A vector of strings representing the args.  
     90         * args[0] is still the program name. 
     91         */ 
     92        void parse(std::vector<std::string>& args); 
    8693 
    8794                /** 
     
    124131                 */ 
    125132                virtual std::string& getMessage()=0; 
     133 
     134                /** 
     135                 * Indicates whether or not the help and version switches were created 
     136                 * automatically. 
     137                 */ 
     138                virtual bool hasHelpAndVersion()=0; 
     139 
     140                /**  
     141                 * Resets the instance as if it had just been constructed so that the 
     142                 * instance can be reused.  
     143                 */ 
     144                virtual void reset()=0; 
    126145}; 
    127146 
Note: See TracChangeset for help on using the changeset viewer.