|
xrootd
|
#include <XrdOucName2Name.hh>

Public Member Functions | |
| virtual int | lfn2pfn (const char *lfn, char *buff, int blen)=0 |
| virtual int | lfn2rfn (const char *lfn, char *buff, int blen)=0 |
| virtual int | pfn2lfn (const char *pfn, char *buff, int blen)=0 |
| XrdOucName2Name () | |
| Constructor. | |
| virtual | ~XrdOucName2Name () |
| Destructor. | |
| XrdOucName2Name::XrdOucName2Name | ( | ) | [inline] |
Constructor.
| virtual XrdOucName2Name::~XrdOucName2Name | ( | ) | [inline, virtual] |
Destructor.
| virtual int XrdOucName2Name::lfn2pfn | ( | const char * | lfn, |
| char * | buff, | ||
| int | blen | ||
| ) | [pure 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. |
Implemented in XrdOucN2N.
Referenced by XrdOssSys::Chmod(), XrdCmsAdmin::do_RmDid(), XrdCmsNode::fsExec(), XrdOssSys::GenLocalPath(), XrdOssSys::getCname(), XrdOucMsubs::getVal(), XrdPssSys::Lfn2Pfn(), XrdOssSys::Lfn2Pfn(), XrdFrmConfig::LocalPath(), XrdOssSys::Mkdir(), XrdOssFile::Open(), XrdOssDir::Opendir(), XrdPssSys::P2URL(), XrdOssSys::Stat(), XrdOssSys::StatFS(), and XrdOssSys::Truncate().
| virtual int XrdOucName2Name::lfn2rfn | ( | const char * | lfn, |
| char * | buff, | ||
| int | blen | ||
| ) | [pure 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. |
Implemented in XrdOucN2N.
Referenced by XrdOssSys::GenRemotePath(), XrdOucMsubs::getVal(), XrdOssDir::Opendir(), XrdFrmConfig::RemotePath(), XrdOssSys::Stage_RT(), and XrdOssSys::Stat().
| virtual int XrdOucName2Name::pfn2lfn | ( | const char * | pfn, |
| char * | buff, | ||
| int | blen | ||
| ) | [pure 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. |
Implemented in XrdOucN2N.
Referenced by XrdCmsAdmin::do_RmDid(), XrdCmsAdmin::do_RmDud(), and XrdFrmConfig::LogicalPath().
1.7.6.1