- Timestamp:
- May 29, 2011, 10:58:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/unity_build/src/libraries/core/CommandLineParser.h
r8520 r8670 99 99 100 100 //! Returns the actual value of the argument. Can be equal to default value. 101 MultiTypegetValue() const { return value_; }101 const MultiType& getValue() const { return value_; } 102 102 //! Returns the given default value as type T. 103 MultiTypegetDefaultValue() const { return defaultValue_; }103 const MultiType& getDefaultValue() const { return defaultValue_; } 104 104 105 105 private: … … 156 156 static void getValue(const std::string& name, T* value) 157 157 { *value = (T)(getArgument(name)->getValue()); } 158 static MultiTypegetValue(const std::string& name)158 static const MultiType& getValue(const std::string& name) 159 159 { return getArgument(name)->getValue(); } 160 160 template <class T>
Note: See TracChangeset
for help on using the changeset viewer.