ewmscp  ..
Public Member Functions | List of all members
pathHandler Class Referenceabstract

#include <pathHandler.h>

Inheritance diagram for pathHandler:
[legend]

Public Member Functions

virtual ~pathHandler ()=default
 
virtual bool pathExists (const std::string &path)=0
 
virtual std::unique_ptr< const genericStatgetStat (const std::string &path, bool followLink=true)=0
 
virtual std::string getXattr (const std::string &, const std::string &)
 

Detailed Description

Definition at line 6 of file pathHandler.h.

Constructor & Destructor Documentation

◆ ~pathHandler()

virtual pathHandler::~pathHandler ( )
virtualdefault

Member Function Documentation

◆ getStat()

virtual std::unique_ptr<const genericStat> pathHandler::getStat ( const std::string &  path,
bool  followLink = true 
)
pure virtual

Implemented in davixCommon, dcapCommon, libsshCommon, inputHandler::dummy, daosFsCommon, and posixFileCommon.

Referenced by copyRequest::base::init(), cmdLineRequestProvider::prepareMappings(), moveRequestProvider::processSource(), checksumTestRequestProvider::processSource(), policyRunRequestProvider::processSource(), and cmdLineRequestProvider::processSource().

Here is the caller graph for this function:

◆ getXattr()

virtual std::string pathHandler::getXattr ( const std::string &  ,
const std::string &   
)
inlinevirtual

Reimplemented in daosFsCommon, and posixFileCommon.

Definition at line 12 of file pathHandler.h.

13  {
14  throw unimplementedActionError("xattr getting not implemented");
15  };

Referenced by copyRequest::base::init().

Here is the caller graph for this function:

◆ pathExists()

virtual bool pathHandler::pathExists ( const std::string &  path)
pure virtual

Implemented in davixCommon, dcapCommon, libsshCommon, daosFsCommon, posixFileCommon, and inputHandler::dummy.

Referenced by copyRequest::base::removeFileOrDirectory().

Here is the caller graph for this function:

The documentation for this class was generated from the following file:
unimplementedActionError
class for exceptions that result from unimplemented functions Exceptions of this kind are to be throw...
Definition: copyRequestTypes.h:32