Changeset 7401 for code/trunk/src/libraries/core/CommandLineParser.cc
- Timestamp:
- Sep 11, 2010, 12:34:00 AM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/doc (added) merged: 7290-7292,7296-7300,7302-7304,7306-7312,7315-7318,7323,7325,7327,7331-7332,7334-7335,7345-7347,7352-7353,7356-7357,7361,7363-7367,7371-7375,7388
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/CommandLineParser.cc
r7284 r7401 126 126 @param arguments 127 127 Vector of space separated strings. 128 @param bParsingFile 129 Parsing a file or the command line itself 128 130 */ 129 131 void CommandLineParser::_parse(const std::vector<std::string>& arguments, bool bParsingFile) … … 244 246 @param value 245 247 String containing the value 248 @param bParsingFile 249 Parsing a file or the command line itself 246 250 */ 247 251 void CommandLineParser::checkFullArgument(const std::string& name, const std::string& value, bool bParsingFile) … … 258 262 Parses an argument based on its shortcut. 259 263 @param shortcut 260 Sho tcut to the argument264 Shortcut to the argument 261 265 @param value 262 266 String containing the value 267 @param bParsingFile 268 Parsing a file or the command line itself 263 269 */ 264 270 void CommandLineParser::checkShortcut(const std::string& shortcut, const std::string& value, bool bParsingFile) … … 308 314 } 309 315 316 void CommandLineParser::generateDoc(std::ofstream& file) 317 { 318 file << "/** @page cmdargspage Command Line Arguments Reference" << endl; 319 file << " @verbatim"; /*no endl*/ 320 file << getUsageInformation(); /*no endl*/ 321 file << " @endverbatim" << endl; 322 file << "*/" << endl; 323 } 324 310 325 /** 311 326 @brief … … 313 328 The method throws an exception if 'name' was not found or the value could not be converted. 314 329 @note 315 You sho ld of course not call this method before the command line has been parsed.330 You should of course not call this method before the command line has been parsed. 316 331 */ 317 332 const CommandLineArgument* CommandLineParser::getArgument(const std::string& name)
Note: See TracChangeset
for help on using the changeset viewer.