diff options
Diffstat (limited to 'src/utils/locale_independent_float.hpp')
-rw-r--r-- | src/utils/locale_independent_float.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/locale_independent_float.hpp b/src/utils/locale_independent_float.hpp index d41fd0fe..82801868 100644 --- a/src/utils/locale_independent_float.hpp +++ b/src/utils/locale_independent_float.hpp @@ -37,6 +37,8 @@ namespace usdx float value; public: LocaleIndependentFloat(); + LocaleIndependentFloat(std::string& value); + virtual ~LocaleIndependentFloat(); const float get_value(); @@ -44,6 +46,7 @@ namespace usdx LocaleIndependentFloat& operator= (const LocaleIndependentFloat& value); LocaleIndependentFloat& operator= (const float& vaule); + LocaleIndependentFloat& operator= (std::string& vaule); }; std::istream& operator>> (std::istream& is, LocaleIndependentFloat& float_value); |