#include <XrdClientEnv.hh>
Collaboration diagram for XrdClientEnv:

Public Member Functions | |
| const char * | Get (const char *varname) |
| long | GetInt (const char *varname) |
| const char * | ShellGet (const char *varname) |
| long | ShellGetInt (const char *varname) |
| void | Put (const char *varname, const char *value) |
| void | PutInt (const char *varname, long value) |
| void | Lock () |
| void | UnLock () |
| int | ReInitLock () |
Static Public Member Functions | |
| static XrdClientEnv * | Instance () |
Protected Member Functions | |
| XrdClientEnv () | |
| ~XrdClientEnv () | |
| bool | ImportStr (const char *varname) |
| bool | ImportInt (const char *varname) |
Private Attributes | |
| XrdOucEnv * | fOucEnv |
| XrdSysRecMutex | fMutex |
| XrdOucEnv * | fShellEnv |
Static Private Attributes | |
| static XrdClientEnv * | fgInstance |
| XrdClientEnv::XrdClientEnv | ( | ) | [protected] |
| XrdClientEnv::~XrdClientEnv | ( | ) | [protected] |
| const char* XrdClientEnv::Get | ( | const char * | varname | ) | [inline] |
| long XrdClientEnv::GetInt | ( | const char * | varname | ) | [inline] |
| bool XrdClientEnv::ImportInt | ( | const char * | varname | ) | [protected] |
| bool XrdClientEnv::ImportStr | ( | const char * | varname | ) | [protected] |
Import the variables from the shell environment, the variable names are capitalized and prefixed with "XRD_"
| static XrdClientEnv* XrdClientEnv::Instance | ( | ) | [static] |
| void XrdClientEnv::Lock | ( | ) | [inline] |
| void XrdClientEnv::Put | ( | const char * | varname, | |
| const char * | value | |||
| ) | [inline] |
| void XrdClientEnv::PutInt | ( | const char * | varname, | |
| long | value | |||
| ) | [inline] |
| int XrdClientEnv::ReInitLock | ( | ) | [inline] |
| const char* XrdClientEnv::ShellGet | ( | const char * | varname | ) |
Get a string variable from the environment, the same as Get, but checks the shell environment first
| long XrdClientEnv::ShellGetInt | ( | const char * | varname | ) |
Get an integet variable from the environment, the same as GetInt, but checks the shell environment first
| void XrdClientEnv::UnLock | ( | ) | [inline] |
XrdClientEnv* XrdClientEnv::fgInstance [static, private] |
XrdSysRecMutex XrdClientEnv::fMutex [private] |
XrdOucEnv* XrdClientEnv::fOucEnv [private] |
XrdOucEnv* XrdClientEnv::fShellEnv [private] |
1.4.7