Changeset 11481 for trunk/FACT++/src/Configuration.h
- Timestamp:
- 07/20/11 08:03:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Configuration.h
r11387 r11481 46 46 47 47 /// Pointer to the mapper function for environment variables 48 boost::function<std::string(std::string)> fNameMapper;49 boost::function<void()> fPrintUsage;50 boost::function<void(const std::string&)> fPrintVersion;48 std::function<std::string(std::string)> fNameMapper; 49 std::function<void()> fPrintUsage; 50 std::function<void(const std::string&)> fPrintVersion; 51 51 52 52 /// Helper function which return the max of the two arguments in the first argument … … 95 95 void SetArgumentPositions(const po::positional_options_description &desc); 96 96 97 void SetNameMapper(const boost::function<std::string(std::string)> &func);97 void SetNameMapper(const std::function<std::string(std::string)> &func); 98 98 void SetNameMapper(); 99 99 100 void SetPrintUsage(const boost::function<void(void)> &func);100 void SetPrintUsage(const std::function<void(void)> &func); 101 101 void SetPrintUsage(); 102 102 103 void SetPrintVersion(const boost::function<void(const std::string &)> &func);103 void SetPrintVersion(const std::function<void(const std::string &)> &func); 104 104 void SetPrintVersion(); 105 105
Note:
See TracChangeset
for help on using the changeset viewer.