diff options
Diffstat (limited to 'src/utils/scan_name.h')
-rw-r--r-- | src/utils/scan_name.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/utils/scan_name.h b/src/utils/scan_name.h index 5607599dc..9e7af40d6 100644 --- a/src/utils/scan_name.h +++ b/src/utils/scan_name.h @@ -56,7 +56,15 @@ class SCAN_Name /** @param i which argument - @return the ith argument as a u32bit, or a default value + @param def_value the default value + @return the ith argument or the default value + */ + std::string arg(u32bit i, const std::string& def_value) const; + + /** + @param i which argument + @param def_value the default value + @return the ith argument as a u32bit, or the default value */ u32bit arg_as_u32bit(u32bit i, u32bit def_value) const; private: |