diff options
Diffstat (limited to 'ace/Env_Value_T.i')
-rw-r--r-- | ace/Env_Value_T.i | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/ace/Env_Value_T.i b/ace/Env_Value_T.i deleted file mode 100644 index 25598c8dad5..00000000000 --- a/ace/Env_Value_T.i +++ /dev/null @@ -1,51 +0,0 @@ -// $Id$ - -template <class T> ACE_INLINE -ACE_Env_Value<T>::operator T (void) -{ - return value_; -} - -template <class T> ACE_INLINE -ACE_Env_Value<T>::ACE_Env_Value (void) - : varname_ (0) -{ -} - -template <class T> ACE_INLINE -ACE_Env_Value<T>::ACE_Env_Value (const ASYS_TCHAR *varname, - const T &defval) - : varname_ (varname), - value_(defval) -{ - this->fetch_value (); -} - -template <class T> ACE_INLINE void -ACE_Env_Value<T>::open (const ASYS_TCHAR *varname, - const T &defval) -{ - varname_ = varname; - value_ = defval; - this->fetch_value (); -} - -template <class T> ACE_INLINE void -ACE_Env_Value<T>::fetch_value (void) -{ - const ASYS_TCHAR *env = ACE_OS::getenv (varname_); - - if (env != 0) - ACE_Convert (env, value_); -} - -template <class T> ACE_INLINE const ASYS_TCHAR* -ACE_Env_Value<T>::varname (void) const -{ - return varname_; -} - -template <class T> ACE_INLINE -ACE_Env_Value<T>::~ACE_Env_Value (void) -{ -} |