|
ACE
6.3.4
|
Environment Variable Value. More...
#include <Env_Value_T.h>


Public Member Functions | |
| ACE_Env_Value (void) | |
| 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) |
| const ACE_TCHAR * | varname (void) const |
| Returns the name of the variable being tracked. More... | |
Private Member Functions | |
| void | fetch_value (void) |
Private Member Functions inherited from ACE_Copy_Disabled | |
| ACE_Copy_Disabled (void) | |
| Default constructor. More... | |
Private Attributes | |
| const ACE_TCHAR * | varname_ |
| T | value_ |
Environment Variable Value.
Reads a variable from the user environment, providing a default value.
|
inline |
Default constructor which isn't bound to a specific environment variable name or a default value. Before being useful it must open()'d.
|
inline |
Constructor that calls open().
|
inline |
Destroy the value.
|
inlineprivate |
|
inline |
The constructor, read varname from the environment, using defval as its value if it is not defined.
|
inline |
Returns the value as type T.
|
inline |
Returns the name of the variable being tracked.
|
private |
|
private |
1.8.9.1