#include <Env_Value_T.h>
Public Methods | |
| ACE_Env_Value (void) | |
| ACE_Env_Value (const ACE_TCHAR *varname, const T &vardefault) | |
| Constructor that calls <open>. | |
| ~ACE_Env_Value (void) | |
| Destroy the value. | |
| operator T (void) | |
| Returns the value as type T. | |
| 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. | |
| const ACE_TCHAR* | varname (void) const |
| Returns the name of the variable being tracked. | |
Private Methods | |
| ACE_Env_Value (const ACE_Env_Value<T> &) | |
| Disallow copying and assignment. | |
| ACE_Env_Value<T> | operator= (const ACE_Env_Value<T> &) |
| void | fetch_value (void) |
Private Attributes | |
| const ACE_TCHAR* | varname_ |
| T | value_ |
Reads a variable from the user enviroment, providing a default value. = AUTHOR Chris Cleeland, Carlos O'Ryan
|
||||
|
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.3 written by Dimitri van Heesch,
© 1997-2000