Changeset 11345
- Timestamp:
- 07/11/11 16:06:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Configuration.h
r11336 r11345 132 132 template<class T> 133 133 T Get(const std::string &var) const { return fVariables[var].as<T>(); } 134 template<class T> 135 std::vector<T> Vec(const std::string &var) const { return Has(var) ? fVariables[var].as<std::vector<T>>() : std::vector<T>(); } 134 136 bool Has(const std::string &var) const { return fVariables.count(var)>0; } 135 137
Note:
See TracChangeset
for help on using the changeset viewer.