xrootd
Public Member Functions | Static Public Member Functions | Private Attributes
XrdOucEnv Class Reference

#include <XrdOucEnv.hh>

Collaboration diagram for XrdOucEnv:
Collaboration graph
[legend]

List of all members.

Public Member Functions

char * Env (int &envlen)
char * Get (const char *varname)
long GetInt (const char *varname)
void Put (const char *varname, const char *value)
void PutInt (const char *varname, long value)
char * Delimit (char *value)
const XrdSecEntitysecEnv ()
 XrdOucEnv (const char *vardata=0, int vardlen=0, const XrdSecEntity *secent=0)
 ~XrdOucEnv ()

Static Public Member Functions

static int Export (const char *Var, const char *Val)
static int Export (const char *Var, int Val)
static bool Import (const char *var, char *&val)
static bool Import (const char *var, long &val)

Private Attributes

XrdOucHash< char > env_Hash
const XrdSecEntitysecEntity
char * global_env
int global_len

Constructor & Destructor Documentation

XrdOucEnv::XrdOucEnv ( const char *  vardata = 0,
int  vardlen = 0,
const XrdSecEntity secent = 0 
)
XrdOucEnv::~XrdOucEnv ( ) [inline]

References global_env.


Member Function Documentation

char * XrdOucEnv::Delimit ( char *  value)
char* XrdOucEnv::Env ( int &  envlen) [inline]
int XrdOucEnv::Export ( const char *  Var,
const char *  Val 
) [static]
int XrdOucEnv::Export ( const char *  Var,
int  Val 
) [static]

References Export().

char* XrdOucEnv::Get ( const char *  varname) [inline]
long XrdOucEnv::GetInt ( const char *  varname)
bool XrdOucEnv::Import ( const char *  var,
char *&  val 
) [static]
bool XrdOucEnv::Import ( const char *  var,
long &  val 
) [static]

References Import().

void XrdOucEnv::Put ( const char *  varname,
const char *  value 
) [inline]
void XrdOucEnv::PutInt ( const char *  varname,
long  value 
)
const XrdSecEntity* XrdOucEnv::secEnv ( ) [inline]

References secEntity.


Member Data Documentation

Referenced by Get(), GetInt(), Put(), PutInt(), and XrdOucEnv().

char* XrdOucEnv::global_env [private]

Referenced by Env(), XrdOucEnv(), and ~XrdOucEnv().

int XrdOucEnv::global_len [private]

Referenced by Env(), and XrdOucEnv().

Referenced by secEnv().


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