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 (uint64_t 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 uint64_t OpCksum = 'C'
static const uint64_t DoCksrc = 0x0000000000000001LL
static const uint64_t DoCksum = 0x0000000000000002LL
static const uint64_t DoCkprt = 0x0000000000000004LL
static const uint64_t OpCoerce = 'F'
static const uint64_t DoCoerce = 0x0000000000000008LL
static const uint64_t OpDebug = 'd'
static const uint64_t DoDebug = 0x0000000000000010LL
static const uint64_t OpForce = 'f'
static const uint64_t DoForce = 0x0000000000000020LL
static const uint64_t OpHelp = 'h'
static const uint64_t DoHelp = 0x0000000000000040LL
static const uint64_t OpIfile = 'I'
static const uint64_t DoIfile = 0x0000000000000080LL
static const uint64_t OpLicense = 'H'
static const uint64_t OpNoPbar = 'N'
static const uint64_t DoNoPbar = 0x0000000000000100LL
static const uint64_t OpPosc = 'P'
static const uint64_t DoPosc = 0x0000000000000200LL
static const uint64_t OpProxy = 'D'
static const uint64_t DoProxy = 0x0000000000000400LL
static const uint64_t OpRecurse = 'r'
static const uint64_t OpRecursv = 'R'
static const uint64_t DoRecurse = 0x0000000000000800LL
static const uint64_t OpRetry = 't'
static const uint64_t DoRetry = 0x0000000000001000LL
static const uint64_t OpServer = 0x03
static const uint64_t DoServer = 0x0000000000002000LL
static const uint64_t OpSilent = 's'
static const uint64_t DoSilent = 0x0000000000004000LL
static const uint64_t OpSources = 'y'
static const uint64_t DoSources = 0x0000000000008000LL
static const uint64_t OpStreams = 'S'
static const uint64_t DoStreams = 0x0000000000010000LL
static const uint64_t OpTpc = 'T'
static const uint64_t DoTpc = 0x0000000000020000LL
static const uint64_t DoTpcOnly = 0x0000000000100000LL
static const uint64_t DoTpcDlgt = 0x0000000000800000LL
static const uint64_t OpVerbose = 'v'
static const uint64_t DoVerbose = 0x0000000000040000LL
static const uint64_t OpVersion = 'V'
static const uint64_t OpXrate = 'X'
static const uint64_t DoXrate = 0x0000000000080000LL
static const uint64_t OpParallel = 0x04
static const uint64_t DoParallel = 0x0000000000200000LL
static const uint64_t OpDynaSrc = 'Z'
static const uint64_t DoDynaSrc = 0x0000000000400000LL
static const uint64_t OpZip = 'z'
static const uint64_t DoZip = 0x0000000001000000LL
static const uint64_t OpPath = 'p'
static const uint64_t DoPath = 0x0000000010000000LL
static const uint64_t OpZipMtlnCksum = 0x08
static const uint64_t DoZipMtlnCksum = 0x0000000040000000LL
static const uint64_t OpRmOnBadCksum = 0x09
static const uint64_t DoRmOnBadCksum = 0x0000000080000000LL
static const uint64_t OpContinue = 0x10
static const uint64_t DoContinue = 0x0000000100000000LL
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 ( uint64_t  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 uint64_t XrdCpConfig::DoCkprt = 0x0000000000000004LL [static]
const uint64_t XrdCpConfig::DoCksrc = 0x0000000000000001LL [static]
const uint64_t XrdCpConfig::DoCksum = 0x0000000000000002LL [static]
const uint64_t XrdCpConfig::DoCoerce = 0x0000000000000008LL [static]
const uint64_t XrdCpConfig::DoContinue = 0x0000000100000000LL [static]
const uint64_t XrdCpConfig::DoDebug = 0x0000000000000010LL [static]
const uint64_t XrdCpConfig::DoDynaSrc = 0x0000000000400000LL [static]
const uint64_t XrdCpConfig::DoForce = 0x0000000000000020LL [static]
const uint64_t XrdCpConfig::DoHelp = 0x0000000000000040LL [static]
const uint64_t XrdCpConfig::DoIfile = 0x0000000000000080LL [static]
const uint64_t XrdCpConfig::DoNoPbar = 0x0000000000000100LL [static]
const uint64_t XrdCpConfig::DoParallel = 0x0000000000200000LL [static]
const uint64_t XrdCpConfig::DoPath = 0x0000000010000000LL [static]
const uint64_t XrdCpConfig::DoPosc = 0x0000000000000200LL [static]
const uint64_t XrdCpConfig::DoProxy = 0x0000000000000400LL [static]
const uint64_t XrdCpConfig::DoRecurse = 0x0000000000000800LL [static]
const uint64_t XrdCpConfig::DoRetry = 0x0000000000001000LL [static]
const uint64_t XrdCpConfig::DoRmOnBadCksum = 0x0000000080000000LL [static]
const uint64_t XrdCpConfig::DoServer = 0x0000000000002000LL [static]
const uint64_t XrdCpConfig::DoSilent = 0x0000000000004000LL [static]
const uint64_t XrdCpConfig::DoSources = 0x0000000000008000LL [static]
const uint64_t XrdCpConfig::DoStreams = 0x0000000000010000LL [static]
const uint64_t XrdCpConfig::DoTpc = 0x0000000000020000LL [static]
const uint64_t XrdCpConfig::DoTpcDlgt = 0x0000000000800000LL [static]
const uint64_t XrdCpConfig::DoTpcOnly = 0x0000000000100000LL [static]
const uint64_t XrdCpConfig::DoVerbose = 0x0000000000040000LL [static]
const uint64_t XrdCpConfig::DoXrate = 0x0000000000080000LL [static]
const uint64_t XrdCpConfig::DoZip = 0x0000000001000000LL [static]
const uint64_t XrdCpConfig::DoZipMtlnCksum = 0x0000000040000000LL [static]
const char* XrdCpConfig::dstOpq
char* XrdCpConfig::inFile [private]
int XrdCpConfig::isLcl [private]
const int XrdCpConfig::OpAllowHttp = 'A' [static]
const uint64_t XrdCpConfig::OpCksum = 'C' [static]
const uint64_t XrdCpConfig::OpCoerce = 'F' [static]
const uint64_t XrdCpConfig::OpContinue = 0x10 [static]
const uint64_t XrdCpConfig::OpDebug = 'd' [static]
const uint64_t XrdCpConfig::OpDynaSrc = 'Z' [static]
const uint64_t XrdCpConfig::OpForce = 'f' [static]
const uint64_t XrdCpConfig::OpHelp = 'h' [static]
const uint64_t XrdCpConfig::OpIfile = 'I' [static]
const char* XrdCpConfig::opLetters [static, private]
const uint64_t XrdCpConfig::OpLicense = 'H' [static]
const uint64_t XrdCpConfig::OpNoPbar = 'N' [static]
const uint64_t XrdCpConfig::OpParallel = 0x04 [static]
const uint64_t XrdCpConfig::OpPath = 'p' [static]
const uint64_t XrdCpConfig::OpPosc = 'P' [static]
const uint64_t XrdCpConfig::OpProxy = 'D' [static]
const uint64_t XrdCpConfig::OpRecurse = 'r' [static]
const uint64_t XrdCpConfig::OpRecursv = 'R' [static]
const uint64_t XrdCpConfig::OpRetry = 't' [static]
const uint64_t XrdCpConfig::OpRmOnBadCksum = 0x09 [static]
const uint64_t XrdCpConfig::OpServer = 0x03 [static]
const uint64_t XrdCpConfig::OpSilent = 's' [static]
const uint64_t XrdCpConfig::OpSources = 'y' [static]

Referenced by Want().

const uint64_t 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 uint64_t XrdCpConfig::OpTpc = 'T' [static]
const int XrdCpConfig::optRmtRec = 0x00000004 [static]
int XrdCpConfig::Opts [private]
struct option XrdCpConfig::opVec[] [static, read, private]
const uint64_t XrdCpConfig::OpVerbose = 'v' [static]
const uint64_t XrdCpConfig::OpVersion = 'V' [static]
const uint64_t XrdCpConfig::OpXrate = 'X' [static]
const uint64_t XrdCpConfig::OpZip = 'z' [static]
const uint64_t XrdCpConfig::OpZipMtlnCksum = 0x08 [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 8 May 2020 for xrootd by  doxygen 1.6.1