XrdCpConfig Class Reference

#include <XrdCpConfig.hh>

Collaboration diagram for XrdCpConfig:
Collaboration graph
[legend]

List of all members.

Classes

struct  defVar

Public Member Functions

void Config (int argc, char **argv, int Opts=0)
int Want (int What)
 XrdCpConfig (const char *pgname)
 ~XrdCpConfig ()

Public Attributes

defVarintDefs
defVarstrDefs
const char * dstOpq
const char * srcOpq
const char * Pgm
long long xRate
int Parallel
char * pHost
int pPort
int OpSpec
int Dlvl
int nSrcs
int nStrm
int Retry
int Verbose
int CksLen
int numFiles
long long totBytes
XrdCksData CksData
XrdCksCksMan
XrdCksCalcCksObj
const char * CksVal
XrdCpFilesrcFile
XrdCpFiledstFile
char * zipFile

Static Public Attributes

static XrdSysErrorLog
static const int OpCksum = 'C'
static const int DoCksrc = 0x00000001
static const int DoCksum = 0x00000002
static const int DoCkprt = 0x00000004
static const int OpCoerce = 'F'
static const int DoCoerce = 0x00000008
static const int OpDebug = 'd'
static const int DoDebug = 0x00000010
static const int OpForce = 'f'
static const int DoForce = 0x00000020
static const int OpHelp = 'h'
static const int DoHelp = 0x00000040
static const int OpIfile = 'I'
static const int DoIfile = 0x00000080
static const int OpLicense = 'H'
static const int OpNoPbar = 'N'
static const int DoNoPbar = 0x00000100
static const int OpPath = 'p'
static const int DoPath = 0x00800000
static const int OpPosc = 'P'
static const int DoPosc = 0x00000200
static const int OpProxy = 'D'
static const int DoProxy = 0x00000400
static const int OpRecurse = 'r'
static const int OpRecursv = 'R'
static const int DoRecurse = 0x00000800
static const int OpRetry = 't'
static const int DoRetry = 0x00001000
static const int OpServer = 0x03
static const int DoServer = 0x00002000
static const int OpSilent = 's'
static const int DoSilent = 0x00004000
static const int OpSources = 'y'
static const int DoSources = 0x00008000
static const int OpStreams = 'S'
static const int DoStreams = 0x00010000
static const int OpTpc = 'T'
static const int DoTpc = 0x00020000
static const int DoTpcOnly = 0x00100000
static const int DoTpcDlgt = 0x00800000
static const int OpVerbose = 'v'
static const int DoVerbose = 0x00040000
static const int OpVersion = 'V'
static const int OpXrate = 'X'
static const int DoXrate = 0x00080000
static const int OpParallel = 0x04
static const int DoParallel = 0x00200000
static const int OpDynaSrc = 'Z'
static const int DoDynaSrc = 0x00400000
static const int OpZip = 'z'
static const int DoZip = 0x01000000
static const int OpAllowHttp = 'A'
static const int DoAllowHttp = 0x2000000
static const int opt1Src = 0x00000001
static const int optNoXtnd = 0x00000002
static const int optRmtRec = 0x00000004
static const int optNoStdIn = 0x00000008
static const int optNoLclCp = 0x00000010

Private Member Functions

int a2i (const char *item, int *val, int minv, int maxv=-1)
int a2l (const char *item, long long *val, long long minv, long long maxv=-1)
int a2t (const char *item, int *val, int minv, int maxv=-1)
int a2x (const char *Val, char *Buff, int Vlen)
int a2z (const char *item, long long *val, long long minv, long long maxv=-1)
int defCks (const char *opval)
int defOpq (const char *theOp)
int defOpt (const char *theOp, const char *theArg)
void defPxy (const char *opval)
const char * Human (long long Val, char *Buff, int Blen)
int Legacy (int oIndex)
int Legacy (const char *theOp, const char *theArg)
void License ()
const char * OpName ()
void ProcFile (const char *fname)
void Usage (int rc=0)

Static Private Member Functions

static void toLower (char cstr[])

Private Attributes

const char * PName
int Opts
int Argc
char ** Argv
defVarintDend
defVarstrDend
XrdCpFilepFile
XrdCpFilepLast
XrdCpFilepPrev
char * inFile
char ** parmVal
int parmCnt
int isLcl

Static Private Attributes

static const char * opLetters
static struct option opVec []
static const int dfltSrcs = 12

Constructor & Destructor Documentation

XrdCpConfig::XrdCpConfig ( const char *  pgname  ) 
XrdCpConfig::~XrdCpConfig (  ) 

Member Function Documentation

int XrdCpConfig::a2i ( const char *  item,
int *  val,
int  minv,
int  maxv = -1 
) [private]
int XrdCpConfig::a2l ( const char *  item,
long long *  val,
long long  minv,
long long  maxv = -1 
) [private]
int XrdCpConfig::a2t ( const char *  item,
int *  val,
int  minv,
int  maxv = -1 
) [private]
int XrdCpConfig::a2x ( const char *  Val,
char *  Buff,
int  Vlen 
) [private]
int XrdCpConfig::a2z ( const char *  item,
long long *  val,
long long  minv,
long long  maxv = -1 
) [private]
void XrdCpConfig::Config ( int  argc,
char **  argv,
int  Opts = 0 
)
int XrdCpConfig::defCks ( const char *  opval  )  [private]
int XrdCpConfig::defOpq ( const char *  theOp  )  [private]
int XrdCpConfig::defOpt ( const char *  theOp,
const char *  theArg 
) [private]
void XrdCpConfig::defPxy ( const char *  opval  )  [private]
const char* XrdCpConfig::Human ( long long  Val,
char *  Buff,
int  Blen 
) [private]
int XrdCpConfig::Legacy ( const char *  theOp,
const char *  theArg 
) [private]
int XrdCpConfig::Legacy ( int  oIndex  )  [private]
void XrdCpConfig::License (  )  [private]
const char* XrdCpConfig::OpName (  )  [private]
void XrdCpConfig::ProcFile ( const char *  fname  )  [private]
static void XrdCpConfig::toLower ( char  cstr[]  )  [inline, static, private]
void XrdCpConfig::Usage ( int  rc = 0  )  [private]
int XrdCpConfig::Want ( int  What  )  [inline]

References OpSpec.


Member Data Documentation

int XrdCpConfig::Argc [private]
char** XrdCpConfig::Argv [private]
const char* XrdCpConfig::CksVal
const int XrdCpConfig::dfltSrcs = 12 [static, private]
const int XrdCpConfig::DoAllowHttp = 0x2000000 [static]
const int XrdCpConfig::DoCkprt = 0x00000004 [static]
const int XrdCpConfig::DoCksrc = 0x00000001 [static]
const int XrdCpConfig::DoCksum = 0x00000002 [static]
const int XrdCpConfig::DoCoerce = 0x00000008 [static]
const int XrdCpConfig::DoDebug = 0x00000010 [static]
const int XrdCpConfig::DoDynaSrc = 0x00400000 [static]
const int XrdCpConfig::DoForce = 0x00000020 [static]
const int XrdCpConfig::DoHelp = 0x00000040 [static]
const int XrdCpConfig::DoIfile = 0x00000080 [static]
const int XrdCpConfig::DoNoPbar = 0x00000100 [static]
const int XrdCpConfig::DoParallel = 0x00200000 [static]
const int XrdCpConfig::DoPath = 0x00800000 [static]
const int XrdCpConfig::DoPosc = 0x00000200 [static]
const int XrdCpConfig::DoProxy = 0x00000400 [static]
const int XrdCpConfig::DoRecurse = 0x00000800 [static]
const int XrdCpConfig::DoRetry = 0x00001000 [static]
const int XrdCpConfig::DoServer = 0x00002000 [static]
const int XrdCpConfig::DoSilent = 0x00004000 [static]
const int XrdCpConfig::DoSources = 0x00008000 [static]
const int XrdCpConfig::DoStreams = 0x00010000 [static]
const int XrdCpConfig::DoTpc = 0x00020000 [static]
const int XrdCpConfig::DoTpcDlgt = 0x00800000 [static]
const int XrdCpConfig::DoTpcOnly = 0x00100000 [static]
const int XrdCpConfig::DoVerbose = 0x00040000 [static]
const int XrdCpConfig::DoXrate = 0x00080000 [static]
const int XrdCpConfig::DoZip = 0x01000000 [static]
const char* XrdCpConfig::dstOpq
char* XrdCpConfig::inFile [private]
int XrdCpConfig::isLcl [private]
const int XrdCpConfig::OpAllowHttp = 'A' [static]
const int XrdCpConfig::OpCksum = 'C' [static]
const int XrdCpConfig::OpCoerce = 'F' [static]
const int XrdCpConfig::OpDebug = 'd' [static]
const int XrdCpConfig::OpDynaSrc = 'Z' [static]
const int XrdCpConfig::OpForce = 'f' [static]
const int XrdCpConfig::OpHelp = 'h' [static]
const int XrdCpConfig::OpIfile = 'I' [static]
const char* XrdCpConfig::opLetters [static, private]
const int XrdCpConfig::OpLicense = 'H' [static]
const int XrdCpConfig::OpNoPbar = 'N' [static]
const int XrdCpConfig::OpParallel = 0x04 [static]
const int XrdCpConfig::OpPath = 'p' [static]
const int XrdCpConfig::OpPosc = 'P' [static]
const int XrdCpConfig::OpProxy = 'D' [static]
const int XrdCpConfig::OpRecurse = 'r' [static]
const int XrdCpConfig::OpRecursv = 'R' [static]
const int XrdCpConfig::OpRetry = 't' [static]
const int XrdCpConfig::OpServer = 0x03 [static]
const int XrdCpConfig::OpSilent = 's' [static]
const int XrdCpConfig::OpSources = 'y' [static]

Referenced by Want().

const int XrdCpConfig::OpStreams = 'S' [static]
const int XrdCpConfig::opt1Src = 0x00000001 [static]
const int XrdCpConfig::optNoLclCp = 0x00000010 [static]
const int XrdCpConfig::optNoStdIn = 0x00000008 [static]
const int XrdCpConfig::optNoXtnd = 0x00000002 [static]
const int XrdCpConfig::OpTpc = 'T' [static]
const int XrdCpConfig::optRmtRec = 0x00000004 [static]
int XrdCpConfig::Opts [private]
struct option XrdCpConfig::opVec[] [static, read, private]
const int XrdCpConfig::OpVerbose = 'v' [static]
const int XrdCpConfig::OpVersion = 'V' [static]
const int XrdCpConfig::OpXrate = 'X' [static]
const int XrdCpConfig::OpZip = 'z' [static]
int XrdCpConfig::parmCnt [private]
char** XrdCpConfig::parmVal [private]
const char* XrdCpConfig::Pgm
const char* XrdCpConfig::PName [private]
const char* XrdCpConfig::srcOpq
long long XrdCpConfig::xRate

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Jul 2019 for xrootd by  doxygen 1.6.1