xrootd
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
XrdOucEnv Class Reference

#include <XrdOucEnv.hh>

Collaboration diagram for XrdOucEnv:
Collaboration graph
[legend]

Public Member Functions

char * Env (int &envlen)
 
char * Get (const char *varname)
 
long GetInt (const char *varname)
 
void * GetPtr (const char *varname)
 
void Put (const char *varname, const char *value)
 
void PutInt (const char *varname, long value)
 
void PutPtr (const char *varname, void *value)
 
char * Delimit (char *value)
 
const XrdSecEntitysecEnv () const
 
 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::XrdOucEnv ( const char *  vardata = 0,
int  vardlen = 0,
const XrdSecEntity secent = 0 
)

◆ ~XrdOucEnv()

XrdOucEnv::~XrdOucEnv ( )
inline

References global_env.

Member Function Documentation

◆ Delimit()

char * XrdOucEnv::Delimit ( char *  value)

◆ Env()

char * XrdOucEnv::Env ( int &  envlen)
inline

References global_env, and global_len.

◆ Export() [1/2]

static int XrdOucEnv::Export ( const char *  Var,
const char *  Val 
)
static

◆ Export() [2/2]

static int XrdOucEnv::Export ( const char *  Var,
int  Val 
)
static

◆ Get()

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

◆ GetInt()

long XrdOucEnv::GetInt ( const char *  varname)

◆ GetPtr()

void * XrdOucEnv::GetPtr ( const char *  varname)

◆ Import() [1/2]

static bool XrdOucEnv::Import ( const char *  var,
char *&  val 
)
static

◆ Import() [2/2]

static bool XrdOucEnv::Import ( const char *  var,
long &  val 
)
static

◆ Put()

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

◆ PutInt()

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

◆ PutPtr()

void XrdOucEnv::PutPtr ( const char *  varname,
void *  value 
)

◆ secEnv()

const XrdSecEntity * XrdOucEnv::secEnv ( ) const
inline

References secEntity.

Member Data Documentation

◆ env_Hash

XrdOucHash<char> XrdOucEnv::env_Hash
private

Referenced by Get(), and Put().

◆ global_env

char* XrdOucEnv::global_env
private

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

◆ global_len

int XrdOucEnv::global_len
private

Referenced by Env().

◆ secEntity

const XrdSecEntity* XrdOucEnv::secEntity
private

Referenced by secEnv().


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