Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Env_Value_T.h File Reference

`#include "ace/pre.h"`
`#include "ace/OS.h"`
`#include "ace/post.h"`

Include dependency graph for Env_Value_T.h:

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

## Compounds
class | ACE_Env_Value
## Functions
template<classT> void | ACE_Convert (const ACE_TCHAR *s, T &t)
void | ACE_Convert (const ACE_TCHAR *s, ACE_TCHAR *&v)
void | ACE_Convert (const ACE_TCHAR *s, const ACE_TCHAR *&v)
void | ACE_Convert (const ACE_TCHAR *s, short &si)
void | ACE_Convert (const ACE_TCHAR *s, u_short &us)
void | ACE_Convert (const ACE_TCHAR *s, u_int &i)
void | ACE_Convert (const ACE_TCHAR *s, long &l)
void | ACE_Convert (const ACE_TCHAR *s, int &i)
void | ACE_Convert (const ACE_TCHAR *s, u_long &ul)
void | ACE_Convert (const ACE_TCHAR *s, double &d)

## Detailed Description

Env_Value_T.h,v 4.20 2000/11/01 22:16:22 coryan Exp

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

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

## Function Documentation

void ACE_Convert ( | const ACE_TCHAR * s,
| double & d )`[inline]`

void ACE_Convert ( | const ACE_TCHAR * s,
| u_long & ul )`[inline]`

void ACE_Convert ( | const ACE_TCHAR * s,
| int & i )`[inline]`

void ACE_Convert ( | const ACE_TCHAR * s,
| long & l )`[inline]`

void ACE_Convert ( | const ACE_TCHAR * s,
| u_int & i )`[inline]`

void ACE_Convert ( | const ACE_TCHAR * s,
| u_short & us )`[inline]`

void ACE_Convert ( | const ACE_TCHAR * s,
| short & si )`[inline]`

void ACE_Convert ( | const ACE_TCHAR * s,
| const ACE_TCHAR *& v )`[inline]`

void ACE_Convert ( | const ACE_TCHAR * s,
| ACE_TCHAR *& v )`[inline]`

template<classT>
void ACE_Convert ( | const ACE_TCHAR * s,
| T & t )`[inline]`