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
- Id
- Env_Value_T.h 80826 2008-03-04 14:51:23Z wotte
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
template<>
void ACE_Convert |
( |
const ACE_TCHAR * |
s, |
|
|
double & |
d | |
|
) |
| | [inline] |
template<>
void ACE_Convert |
( |
const ACE_TCHAR * |
s, |
|
|
u_long & |
ul | |
|
) |
| | [inline] |
template<>
void ACE_Convert |
( |
const ACE_TCHAR * |
s, |
|
|
int & |
i | |
|
) |
| | [inline] |
template<>
void ACE_Convert |
( |
const ACE_TCHAR * |
s, |
|
|
long & |
l | |
|
) |
| | [inline] |
template<>
void ACE_Convert |
( |
const ACE_TCHAR * |
s, |
|
|
u_int & |
i | |
|
) |
| | [inline] |
template<>
void ACE_Convert |
( |
const ACE_TCHAR * |
s, |
|
|
u_short & |
us | |
|
) |
| | [inline] |
template<>
void ACE_Convert |
( |
const ACE_TCHAR * |
s, |
|
|
short & |
si | |
|
) |
| | [inline] |
template<class T >
void ACE_Convert |
( |
const ACE_TCHAR * |
s, |
|
|
T & |
t | |
|
) |
| | [inline] |
Function to convert a string s into type T
.