Belle II Software
release-08-01-10
|
InputHandler which just takes the uri as XML data. More...
#include <StringHandler.h>
Public Types | |
typedef InputHandler * | Factory(const std::string &uri) |
Factory function which takes a backend uri and returns an InputHandler instance. | |
Public Member Functions | |
StringHandler (const std::string &uri) | |
Create a new InputHandler which always returns uri as XML content. | |
virtual | ~StringHandler () |
empty, virtual destructor | |
virtual InputContext * | open (const std::string &path) override |
Create a new context, path will be ignored. | |
Protected Attributes | |
std::string | m_uri |
URI for the InputHandler. | |
InputHandler which just takes the uri as XML data.
Intended for ease of unit testing, beware that the current implementation does always return the same fragment regardles of resource name, so xincludes will lead to endless loop
Definition at line 42 of file StringHandler.h.