XRootD
XrdOfsEvsInfo Class Reference

#include <XrdOfsEvs.hh>

+ Collaboration diagram for XrdOfsEvsInfo:

Public Types

enum  evArg {
  evTID =0 ,
  evLFN1 ,
  evCGI1 ,
  evLFN2 ,
  evCGI2 ,
  evFMODE ,
  evFSIZE ,
  evARGS
}
 

Public Member Functions

 XrdOfsEvsInfo (const char *tid, const char *lfn1, const char *cgi1="", XrdOucEnv *env1=0, mode_t mode=0, long long fsize=0, const char *lfn2="$LFN2", const char *cgi2="", XrdOucEnv *env2=0)
 
 ~XrdOfsEvsInfo ()
 
mode_t FMode ()
 
long long FSize ()
 
void Set (evArg aNum, const char *aVal)
 
const char * Val (evArg aNum)
 

Detailed Description

Definition at line 46 of file XrdOfsEvs.hh.

Member Enumeration Documentation

◆ evArg

Enumerator
evTID 
evLFN1 
evCGI1 
evLFN2 
evCGI2 
evFMODE 
evFSIZE 
evARGS 

Definition at line 50 of file XrdOfsEvs.hh.

Constructor & Destructor Documentation

◆ XrdOfsEvsInfo()

XrdOfsEvsInfo::XrdOfsEvsInfo ( const char *  tid,
const char *  lfn1,
const char *  cgi1 = "",
XrdOucEnv env1 = 0,
mode_t  mode = 0,
long long  fsize = 0,
const char *  lfn2 = "$LFN2",
const char *  cgi2 = "",
XrdOucEnv env2 = 0 
)
inline

Definition at line 60 of file XrdOfsEvs.hh.

64  {Arg[evTID] = tid;
65  Arg[evLFN1] = lfn1;
66  Arg[evCGI1] = (cgi1 ? cgi1 : ""); Env1 = env1;
67  Arg[evLFN2] = (lfn2 ? lfn2 : "$LFN2");
68  Arg[evCGI2] = (cgi2 ? cgi2 : ""); Env2 = env2;
69  theFMode = mode; theFSize = fsize;
70  }

References evCGI1, evCGI2, evLFN1, evLFN2, and evTID.

◆ ~XrdOfsEvsInfo()

XrdOfsEvsInfo::~XrdOfsEvsInfo ( )
inline

Definition at line 72 of file XrdOfsEvs.hh.

72 {}

Member Function Documentation

◆ FMode()

mode_t XrdOfsEvsInfo::FMode ( )
inline

Definition at line 54 of file XrdOfsEvs.hh.

54 {return theFMode;}

◆ FSize()

long long XrdOfsEvsInfo::FSize ( )
inline

Definition at line 52 of file XrdOfsEvs.hh.

52 {return theFSize;}

◆ Set()

void XrdOfsEvsInfo::Set ( evArg  aNum,
const char *  aVal 
)
inline

Definition at line 56 of file XrdOfsEvs.hh.

56 {Arg[aNum] = aVal;}

◆ Val()

const char* XrdOfsEvsInfo::Val ( evArg  aNum)
inline

Definition at line 58 of file XrdOfsEvs.hh.

58 {return Arg[aNum];}

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