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"

Include dependency graph for Env_Value_T.h:

This graph shows which files directly or indirectly include this file:


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<>
void ACE_Convert ( const ACE_TCHAR s,
const ACE_TCHAR *&  v 
) [inline]

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

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

Function to convert a string s into type T.


Generated on Mon Jul 13 16:02:35 2009 for ACE by  doxygen 1.5.8