ACE 8.0.3
Loading...
Searching...
No Matches
Classes | Functions
Env_Value_T.h File Reference
#include "ace/Global_Macros.h"
#include "ace/OS_NS_stdlib.h"
#include "ace/Env_Value_T.inl"
#include "ace/Env_Value_T.cpp"

Classes

class  ACE_Env_Value< T >
 Environment Variable Value. More...
 

Functions

template<class T >
void ACE_Convert (const ACE_TCHAR *s, T &t)
 Function to convert a string s into type T.
 
template<>
void ACE_Convert (const ACE_TCHAR *s, ACE_TCHAR *&v)
 
template<>
void ACE_Convert (const ACE_TCHAR *s, const ACE_TCHAR *&v)
 
template<>
void ACE_Convert (const ACE_TCHAR *s, short &si)
 
template<>
void ACE_Convert (const ACE_TCHAR *s, u_short &us)
 
template<>
void ACE_Convert (const ACE_TCHAR *s, u_int &i)
 
template<>
void ACE_Convert (const ACE_TCHAR *s, long &l)
 
template<>
void ACE_Convert (const ACE_TCHAR *s, int &i)
 
template<>
void ACE_Convert (const ACE_TCHAR *s, u_long &ul)
 
template<>
void ACE_Convert (const ACE_TCHAR *s, double &d)
 

Detailed Description

Template to encapsulate getting a value from an environment variable and using a supplied default value if not in the environment.

Author
Chris Cleeland (derived from work by Carlos O'Ryan)

Function Documentation

◆ ACE_Convert() [1/10]

template<>
void ACE_Convert ( const ACE_TCHAR * s,
ACE_TCHAR *& v )
inline

◆ ACE_Convert() [2/10]

template<>
void ACE_Convert ( const ACE_TCHAR * s,
const ACE_TCHAR *& v )
inline

◆ ACE_Convert() [3/10]

template<>
void ACE_Convert ( const ACE_TCHAR * s,
double & d )
inline

◆ ACE_Convert() [4/10]

template<>
void ACE_Convert ( const ACE_TCHAR * s,
int & i )
inline

◆ ACE_Convert() [5/10]

template<>
void ACE_Convert ( const ACE_TCHAR * s,
long & l )
inline

◆ ACE_Convert() [6/10]

template<>
void ACE_Convert ( const ACE_TCHAR * s,
short & si )
inline

◆ ACE_Convert() [7/10]

template<class T >
void ACE_Convert ( const ACE_TCHAR * s,
T & t )
inline

Function to convert a string s into type T.

◆ ACE_Convert() [8/10]

template<>
void ACE_Convert ( const ACE_TCHAR * s,
u_int & i )
inline

◆ ACE_Convert() [9/10]

template<>
void ACE_Convert ( const ACE_TCHAR * s,
u_long & ul )
inline

◆ ACE_Convert() [10/10]

template<>
void ACE_Convert ( const ACE_TCHAR * s,
u_short & us )
inline