#include <Env_Value_T.h>
Collaboration diagram for ACE_Env_Value:

Public Methods | |
| ACE_Env_Value (void) | |
| Default constructor which isn't bound to a specific environment variable name or a default value. More... | |
| ACE_Env_Value (const ACE_TCHAR *varname, const T &vardefault) | |
| Constructor that calls <open>. More... | |
| ~ACE_Env_Value (void) | |
| Destroy the value. More... | |
| operator T (void) | |
| Returns the value as type T. More... | |
| void | open (const ACE_TCHAR *varname, const T &defval) |
| The constructor, read <varname> from the enviroment, using <vardefault> as its value if it is not defined. More... | |
| const ACE_TCHAR * | varname (void) const |
| Returns the name of the variable being tracked. More... | |
Private Methods | |
| ACE_UNIMPLEMENTED_FUNC (ACE_Env_Value(const ACE_Env_Value< T > &)) ACE_UNIMPLEMENTED_FUNC(ACE_Env_Value< T > operator=(const ACE_Env_Value< T > &)) void fetch_value(void) | |
| Disallow copying and assignment. More... | |
Private Attributes | |
| const ACE_TCHAR * | varname_ |
| T | value_ |
Reads a variable from the user enviroment, providing a default value.
|
||||||||||
|
Default constructor which isn't bound to a specific environment variable name or a default value. Before being useful it must <open>'d. |
|
||||||||||||||||
|
Constructor that calls <open>.
|
|
||||||||||
|
Destroy the value.
|
|
||||||||||
|
Disallow copying and assignment.
|
|
||||||||||||||||
|
The constructor, read <varname> from the enviroment, using <vardefault> as its value if it is not defined.
|
|
||||||||||
|
Returns the value as type T.
|
|
||||||||||
|
Returns the name of the variable being tracked.
|
|
|||||
|
|
|
|||||
|
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001