|
ewmscp
..
|
#include <inputHandlerDummy.h>
Classes | |
| class | DummyDirectory |
| class | readerDummy |
Public Member Functions | |
| dummy () | |
| ~dummy () override=default | |
| std::unique_ptr< reader > | newReader (const std::string &aPath, copyRequest::stateType &state, const genericStat &inititalStat) override |
| get a reader for the file at path More... | |
| bool | pathExists (const std::string &) override |
| std::unique_ptr< const genericStat > | getStat (const std::string &path, bool followLink) override |
| std::unique_ptr< Directory > | getDirectory (const std::string &path) override |
Public Member Functions inherited from inputHandler::base | |
| virtual | ~base () override=default |
| virtual bool | readLinkTarget (const std::string &, std::vector< char > &) |
| read link target from a symlink More... | |
| virtual std::unique_ptr< acl::list > | getAclData (const std::string &) |
Public Member Functions inherited from pathHandler | |
| virtual | ~pathHandler ()=default |
| virtual std::string | getXattr (const std::string &, const std::string &) |
Static Private Member Functions | |
| static const block & | randomBlock () |
Static Private Attributes | |
| static factoryTemplate< dummy > | factory |
| static options::container< unsigned int > | nFiles |
| static options::container< unsigned int > | nDirs |
| static options::single< options::postFixedNumber< size_t > > | minSize |
| static options::single< options::postFixedNumber< size_t > > | maxSize |
| static options::single< bool > | noCopy |
| static genericStat::clock_type::time_point | mTime |
Additional Inherited Members | |
Static Public Member Functions inherited from inputHandler::base | |
| static base * | newHandler (const std::string &name) |
| create an instance of an inputHandler, select by name More... | |
| template<class T > | |
| static void | addAllowedNamesToOption (T &option) |
Protected Member Functions inherited from inputHandler::base | |
| base ()=default | |
Static Protected Member Functions inherited from inputHandler::base | |
| static std::map< std::string, factoryClass * > & | getFactoryMap () |
Definition at line 14 of file inputHandlerDummy.h.
| inputHandler::dummy::dummy | ( | ) |
Definition at line 41 of file inputHandlerDummy.cpp.
|
overridedefault |
|
overridevirtual |
Implements inputHandler::base.
Definition at line 199 of file inputHandlerDummy.cpp.
References inputHandler::posixFile::getDirectory().
|
overridevirtual |
Implements pathHandler.
Definition at line 119 of file inputHandlerDummy.cpp.
References genericStat::device, posixFileCommon::getStat(), block::max_size(), mTime, and randomBlock().
|
overridevirtual |
get a reader for the file at path
| std::system_error | if file can't be opened File will be closed when the pointer goes out of scope. |
| [in] | path | [in] path to the file to be opened for reading |
| [in,out] | state | [in,out] state may be set to vanished if the file does not exist |
| [in] | inititalStat | [in] genericStat data of the file encountered before reading, needed for checking unchangedness at the end |
Implements inputHandler::base.
Definition at line 44 of file inputHandlerDummy.cpp.
|
overridevirtual |
Implements pathHandler.
Definition at line 116 of file inputHandlerDummy.cpp.
|
staticprivate |
Definition at line 24 of file inputHandlerDummy.cpp.
References timerInst.
Referenced by inputHandler::dummy::DummyDirectory::getNextEntry(), getStat(), inputHandler::dummy::readerDummy::readBlock(), and inputHandler::dummy::readerDummy::readBlockP().
|
staticprivate |
Definition at line 15 of file inputHandlerDummy.h.
|
staticprivate |
Definition at line 20 of file inputHandlerDummy.h.
Referenced by inputHandler::dummy::DummyDirectory::getNextEntry().
|
staticprivate |
Definition at line 19 of file inputHandlerDummy.h.
Referenced by inputHandler::dummy::DummyDirectory::getNextEntry().
|
staticprivate |
Definition at line 22 of file inputHandlerDummy.h.
Referenced by inputHandler::dummy::DummyDirectory::getNextEntry(), and getStat().
|
staticprivate |
Definition at line 18 of file inputHandlerDummy.h.
Referenced by inputHandler::dummy::DummyDirectory::DummyDirectory().
|
staticprivate |
Definition at line 17 of file inputHandlerDummy.h.
Referenced by inputHandler::dummy::DummyDirectory::DummyDirectory().
|
staticprivate |
Definition at line 21 of file inputHandlerDummy.h.
Referenced by inputHandler::dummy::readerDummy::readBlock(), and inputHandler::dummy::readerDummy::readBlockP().
1.8.17