![]() |
XRootD
|
Public Member Functions | |
XrdOucN2N (XrdSysError *erp, const char *lpfx, const char *rpfx) | |
virtual int | lfn2pfn (const char *lfn, char *buff, int blen) |
virtual int | lfn2rfn (const char *lfn, char *buff, int blen) |
virtual std::vector< std::string * > * | n2nVec (const char *lfn) |
virtual int | pfn2lfn (const char *lfn, char *buff, int blen) |
![]() | |
XrdOucName2Name () | |
Constructor. More... | |
virtual | ~XrdOucName2Name () |
Destructor. More... | |
![]() | |
XrdOucName2NameVec () | |
Constructor and Destructor. More... | |
virtual | ~XrdOucName2NameVec () |
virtual void | Recycle (std::vector< std::string * > *nvP) |
Definition at line 50 of file XrdOucName2Name.cc.
XrdOucN2N::XrdOucN2N | ( | XrdSysError * | erp, |
const char * | lpfx, | ||
const char * | rpfx | ||
) |
Definition at line 82 of file XrdOucName2Name.cc.
|
virtual |
Map a logical file name to a physical file name.
lfn | -> Logical file name. |
buff | -> Buffer where the physical file name of an existing file is to be placed. It must end with a null byte. |
blen | The length of the buffer. |
Implements XrdOucName2Name.
Definition at line 110 of file XrdOucName2Name.cc.
References XrdSysError::Emsg().
Referenced by n2nVec().
|
virtual |
Map a logical file name to the name the file would have in a remote storage system (e.g. Mass Storage System at a remote location).
lfn | -> Logical file name. |
buff | -> Buffer where the remote file name is to be placed. It need not actually exist in that location but could be created there with that name. It must end with a null byte. |
blen | The length of the buffer. |
Implements XrdOucName2Name.
Definition at line 121 of file XrdOucName2Name.cc.
References XrdSysError::Emsg().
|
virtual |
Map a logical file name to all of its possible physical file names.
lfn | -> Logical file name. |
Implements XrdOucName2NameVec.
Definition at line 171 of file XrdOucName2Name.cc.
References lfn2pfn().
|
virtual |
Map a physical file name to it's logical file name.
pfn | -> Physical file name. This is always a valid name of either an existing file or a file that could been created. |
buff | -> Buffer where the logical file name is to be placed. It need not actually exist but could be created with that name. It must end with a null byte. |
blen | The length of the buffer. |
Implements XrdOucName2Name.
Definition at line 153 of file XrdOucName2Name.cc.
References strlcpy().