![]() |
XRootD
|
#include <XrdSfsInterface.hh>
Public Member Functions | |
XrdSfsDirectory (const char *user=0, int MonID=0) | |
XrdSfsDirectory (XrdOucErrInfo &eInfo) | |
XrdSfsDirectory (XrdSfsDirectory &wrapD) | |
virtual | ~XrdSfsDirectory () |
Destructor. More... | |
virtual int | autoStat (struct stat *buf) |
virtual int | close ()=0 |
virtual const char * | FName ()=0 |
virtual const char * | nextEntry ()=0 |
virtual int | open (const char *path, const XrdSecEntity *client=0, const char *opaque=0)=0 |
Public Attributes | |
XrdOucErrInfo & | error |
The XrdSfsDirectory object is returned by XrdSfsFileSystem::newFile() when the caller wants to be able to perform directory oriented operations.
Definition at line 243 of file XrdSfsInterface.hh.
|
inline |
Constructor (user and MonID are the ones passed to newDir()!). This constructor should only be used by base plugins. Plugins that wrap an SfsDirectory should use the second version of the constructor shown below.
user | - Text identifying the client responsible for this call. The pointer may be null if identification is missing. |
MonID | - The monitoring identifier assigned to this and all future requests using the returned object. |
Definition at line 320 of file XrdSfsInterface.hh.
References error.
|
inline |
Constructor for plugins that wrap another SfsDirectory. This constructor inherits the error object from a wrapped SfsDirectory object so that only one identical error object exists for all directory objects in the chain.
wrapD | - Reference to the directory object being wrapped. |
Definition at line 332 of file XrdSfsInterface.hh.
|
inline |
Constructor for base plugins that predefined an error object. This is a convenience constructor for base plugins only.
eInfo | - Reference to the error object to use. |
Definition at line 342 of file XrdSfsInterface.hh.
|
inlinevirtual |
|
virtual |
Set the stat() buffer where stat information is to be placed corresponding to the directory entry returned by nextEntry().
Reimplemented in XrdSsiDir, XrdOfsDirectory, and XrdDigDirectory.
Definition at line 46 of file XrdSfsInterface.cc.
References error, XrdOucErrInfo::setErrInfo(), and SFS_ERROR.
|
pure virtual |
Close the directory.
Implemented in XrdSsiDir, XrdSfsNativeDirectory, XrdOfsDirectory, XrdDigDirectory, and XrdBwmDirectory.
|
pure virtual |
Get the directory path.
Implemented in XrdSsiDir, XrdSfsNativeDirectory, XrdOfsDirectory, XrdDigDirectory, and XrdBwmDirectory.
|
pure virtual |
Get the next directory entry.
Implemented in XrdSsiDir, XrdSfsNativeDirectory, XrdOfsDirectory, XrdDigDirectory, and XrdBwmDirectory.
|
pure virtual |
Open a directory.
path | - Pointer to the path of the directory to be opened. |
client | - Client's identify (see common description). |
opaque | - path's CGI information (see common description). |
Implemented in XrdSsiDir, XrdOfsDirectory, and XrdBwmDirectory.
XrdOucErrInfo& XrdSfsDirectory::error |
The error object is used to return details whenever something other than SFS_OK is returned from the methods in this class, when noted.
Definition at line 252 of file XrdSfsInterface.hh.
Referenced by XrdSfsDirectory(), XrdOfsDirectory::autoStat(), autoStat(), XrdBwmDirectory::close(), XrdOfsDirectory::close(), XrdSfsNativeDirectory::close(), XrdBwmDirectory::copyError(), XrdOfsDirectory::copyError(), XrdSsiDir::copyError(), XrdBwmDirectory::nextEntry(), XrdOfsDirectory::nextEntry(), XrdSfsNativeDirectory::nextEntry(), XrdSfsNativeDirectory::open(), XrdBwmDirectory::open(), and XrdOfsDirectory::open().