Logo ROOT   6.07/09
Reference Guide
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes | List of all members
XrdClientEnv Class Reference

Definition at line 49 of file XrdClientEnv.hh.

Public Member Functions

const char * Get (const char *varname)
 
long GetInt (const char *varname)
 
void Lock ()
 
void Put (const char *varname, const char *value)
 
void PutInt (const char *varname, long value)
 
int ReInitLock ()
 
const char * ShellGet (const char *varname)
 Get a string variable from the environment, the same as Get, but checks the shell environment first. More...
 
long ShellGetInt (const char *varname)
 Get an integet variable from the environment, the same as GetInt, but checks the shell environment first. More...
 
void UnLock ()
 

Static Public Member Functions

static XrdClientEnv * Instance ()
 

Protected Member Functions

 XrdClientEnv ()
 
 ~XrdClientEnv ()
 
bool ImportInt (const char *varname)
 
bool ImportStr (const char *varname)
 Import the variables from the shell environment, the variable names are capitalized and prefixed with "XRD_". More...
 

Private Attributes

XrdSysRecMutex fMutex
 
XrdOucEnv * fOucEnv
 
XrdOucEnv * fShellEnv
 

Static Private Attributes

static XrdClientEnv * fgInstance
 

#include </mnt/vdb/lsf/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/proof/xrdinc/XrdClient/XrdClientEnv.hh>

Constructor & Destructor Documentation

XrdClientEnv::XrdClientEnv ( )
protected
XrdClientEnv::~XrdClientEnv ( )
protected

Member Function Documentation

const char* XrdClientEnv::Get ( const char *  varname)
inline

Definition at line 70 of file XrdClientEnv.hh.

long XrdClientEnv::GetInt ( const char *  varname)
inline

Definition at line 78 of file XrdClientEnv.hh.

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

Definition at line 110 of file XrdClientEnv.hh.

void XrdClientEnv::Put ( const char *  varname,
const char *  value 
)
inline

Definition at line 99 of file XrdClientEnv.hh.

void XrdClientEnv::PutInt ( const char *  varname,
long  value 
)
inline

Definition at line 105 of file XrdClientEnv.hh.

int XrdClientEnv::ReInitLock ( )
inline

Definition at line 120 of file XrdClientEnv.hh.

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 ( void  )
inline

Definition at line 115 of file XrdClientEnv.hh.

Member Data Documentation

XrdClientEnv* XrdClientEnv::fgInstance
staticprivate

Definition at line 54 of file XrdClientEnv.hh.

XrdSysRecMutex XrdClientEnv::fMutex
private

Definition at line 53 of file XrdClientEnv.hh.

XrdOucEnv* XrdClientEnv::fOucEnv
private

Definition at line 52 of file XrdClientEnv.hh.

XrdOucEnv* XrdClientEnv::fShellEnv
private

Definition at line 55 of file XrdClientEnv.hh.


The documentation for this class was generated from the following file: