xrootd
Public Member Functions | Private Attributes
XrdCpWorkLst Class Reference

#include <XrdCpWorkLst.hh>

Collaboration diagram for XrdCpWorkLst:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XrdCpWorkLst ()
 ~XrdCpWorkLst ()
int SetSrc (XrdClient **srccli, XrdOucString url, XrdOucString urlopaquedata, bool do_recurse, int newCP=0)
int SetDest (XrdClient **xrddest, const char *url, const char *urlopaquedata, kXR_unt16 xrdopenflags, int newCP=0)
void GetDest (XrdOucString &dest, bool &isdir)
void GetSrc (XrdOucString &src, bool &isdir)
int BuildWorkList_xrd (XrdOucString url, XrdOucString opaquedata)
int BuildWorkList_loc (XrdSysDir *dir, XrdOucString pat)
bool GetCpJob (XrdOucString &src, XrdOucString &dest)

Private Attributes

vecString fWorkList
uint64_t pSourceSize
int srcPathLen
int fWorkIt
XrdClientAdmin * xrda_src
XrdClientAdmin * xrda_dst
XrdOucString fSrc
XrdOucString fDest
bool fDestIsDir
bool fSrcIsDir

Constructor & Destructor Documentation

XrdCpWorkLst::XrdCpWorkLst ( )
XrdCpWorkLst::~XrdCpWorkLst ( )

Member Function Documentation

int XrdCpWorkLst::BuildWorkList_loc ( XrdSysDir *  dir,
XrdOucString  pat 
)
int XrdCpWorkLst::BuildWorkList_xrd ( XrdOucString  url,
XrdOucString  opaquedata 
)
bool XrdCpWorkLst::GetCpJob ( XrdOucString &  src,
XrdOucString &  dest 
)

References FALSE, XrdOucString::rfind(), STR_NPOS, and TRUE.

Referenced by main().

void XrdCpWorkLst::GetDest ( XrdOucString &  dest,
bool &  isdir 
)
inline

References fDest, and fDestIsDir.

Referenced by main().

void XrdCpWorkLst::GetSrc ( XrdOucString &  src,
bool &  isdir 
)
inline

References fSrc, and fSrcIsDir.

int XrdCpWorkLst::SetDest ( XrdClient **  xrddest,
const char *  url,
const char *  urlopaquedata,
kXR_unt16  xrdopenflags,
int  newCP = 0 
)
int XrdCpWorkLst::SetSrc ( XrdClient **  srccli,
XrdOucString  url,
XrdOucString  urlopaquedata,
bool  do_recurse,
int  newCP = 0 
)

Member Data Documentation

XrdOucString XrdCpWorkLst::fDest
private

Referenced by GetDest().

bool XrdCpWorkLst::fDestIsDir
private

Referenced by GetDest().

XrdOucString XrdCpWorkLst::fSrc
private

Referenced by GetSrc().

bool XrdCpWorkLst::fSrcIsDir
private

Referenced by GetSrc().

int XrdCpWorkLst::fWorkIt
private
vecString XrdCpWorkLst::fWorkList
private
uint64_t XrdCpWorkLst::pSourceSize
private
int XrdCpWorkLst::srcPathLen
private
XrdClientAdmin * XrdCpWorkLst::xrda_dst
private
XrdClientAdmin* XrdCpWorkLst::xrda_src
private

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