#include <inputHandlerDavix.h>
|
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) |
| |
| static void | getPassword (const std::string &prompt, std::string &password) |
| |
| Davix::RequestParams | params |
| |
| Davix::DavPosix | posix |
| |
Protected Member Functions inherited from inputHandler::base |
| | base ()=default |
| |
| int | loginCallbackInner (std::string &login, std::string &password, int count) |
| |
Static Protected Member Functions inherited from inputHandler::base |
| static std::map< std::string, factoryClass * > & | getFactoryMap () |
| |
| static int | loginCallback (void *userdata, const Davix::SessionInfo &info, std::string &login, std::string &password, int count, Davix::DavixError **err) |
| |
| Davix::Context | context |
| |
| std::string | loginName |
| |
| std::string | passWord |
| |
Definition at line 13 of file inputHandlerDavix.h.
◆ davix()
| inputHandler::davix::davix |
( |
| ) |
|
◆ ~davix()
| inputHandler::davix::~davix |
( |
| ) |
|
|
overridedefault |
◆ getDirectory()
| std::unique_ptr< base::Directory > inputHandler::davix::getDirectory |
( |
const std::string & |
path | ) |
|
|
overridevirtual |
◆ newReader()
get a reader for the file at path
- Returns
- unique ptr to a file reader.
- Exceptions
-
| std::system_error | if file can't be opened File will be closed when the pointer goes out of scope. |
- Parameters
-
| [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 12 of file inputHandlerDavix.cpp.
15 return std::unique_ptr<reader>(
new readerDavix(*
this, aPath, state, inititalStat));
◆ factory
The documentation for this class was generated from the following files: