Logo ROOT   6.10/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 XrdClientEnvInstance ()
 

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 XrdClientEnvfgInstance
 

#include </mnt/build/workspace/root-makedoc-v610/rootspi/rdoc/src/v6-10-00-patches/proof/xrdinc/XrdClient/XrdClientEnv.hh>

Constructor & Destructor Documentation

◆ XrdClientEnv()

XrdClientEnv::XrdClientEnv ( )
protected

◆ ~XrdClientEnv()

XrdClientEnv::~XrdClientEnv ( )
protected

Member Function Documentation

◆ Get()

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

Definition at line 70 of file XrdClientEnv.hh.

◆ GetInt()

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

Definition at line 78 of file XrdClientEnv.hh.

◆ ImportInt()

bool XrdClientEnv::ImportInt ( const char *  varname)
protected

◆ ImportStr()

bool XrdClientEnv::ImportStr ( const char *  varname)
protected

Import the variables from the shell environment, the variable names are capitalized and prefixed with "XRD_".

◆ Instance()

static XrdClientEnv* XrdClientEnv::Instance ( )
static

◆ Lock()

void XrdClientEnv::Lock ( )
inline

Definition at line 110 of file XrdClientEnv.hh.

◆ Put()

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

Definition at line 99 of file XrdClientEnv.hh.

◆ PutInt()

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

Definition at line 105 of file XrdClientEnv.hh.

◆ ReInitLock()

int XrdClientEnv::ReInitLock ( )
inline

Definition at line 120 of file XrdClientEnv.hh.

◆ ShellGet()

const char* XrdClientEnv::ShellGet ( const char *  varname)

Get a string variable from the environment, the same as Get, but checks the shell environment first.

◆ ShellGetInt()

long XrdClientEnv::ShellGetInt ( const char *  varname)

Get an integet variable from the environment, the same as GetInt, but checks the shell environment first.

◆ UnLock()

void XrdClientEnv::UnLock ( void  )
inline

Definition at line 115 of file XrdClientEnv.hh.

Member Data Documentation

◆ fgInstance

XrdClientEnv* XrdClientEnv::fgInstance
staticprivate

Definition at line 54 of file XrdClientEnv.hh.

◆ fMutex

XrdSysRecMutex XrdClientEnv::fMutex
private

Definition at line 53 of file XrdClientEnv.hh.

◆ fOucEnv

XrdOucEnv* XrdClientEnv::fOucEnv
private

Definition at line 52 of file XrdClientEnv.hh.

◆ fShellEnv

XrdOucEnv* XrdClientEnv::fShellEnv
private

Definition at line 55 of file XrdClientEnv.hh.


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