Changeset 708 for code/branches/FICN/src/orxonox/core/ArgReader.h
- Timestamp:
- Dec 28, 2007, 10:30:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/core/ArgReader.h
r682 r708 35 35 #define _ArgReader_H__ 36 36 37 #include <string>37 #include "CorePrereqs.h" 38 38 39 #include " CorePrereqs.h"39 #include "misc/String.h" 40 40 41 41 namespace orxonox { … … 45 45 public: 46 46 ArgReader(int argc, char **argv); 47 void checkArgument( std::string option, std::string& string, bool must=false);48 void checkArgument( std::string option, int& integer, bool must=false);49 void checkArgument( std::string option, float& floating, bool must=false);47 void checkArgument(String option, String& string, bool must=false); 48 void checkArgument(String option, int& integer, bool must=false); 49 void checkArgument(String option, float& floating, bool must=false); 50 50 bool errorHandling(); 51 51 private: 52 int checkOption( std::string option);52 int checkOption(String option); 53 53 54 54 private: … … 56 56 char **arguments_; 57 57 bool fail_; 58 std::string errorStr_;58 String errorStr_; 59 59 }; 60 60
Note: See TracChangeset
for help on using the changeset viewer.