Belle II Software light-2406-ragdoll
|
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.
|
inherited |
Factory function which takes a backend uri and returns an InputHandler instance.
Definition at line 53 of file InputHandler.h.
|
inlineexplicit |
Create a new InputHandler which always returns uri as XML content.
Definition at line 45 of file StringHandler.h.
|
inlinevirtual |
|
overridevirtual |
Create a new context, path will be ignored.
Implements InputHandler.
Definition at line 17 of file StringHandler.cc.
|
protectedinherited |
URI for the InputHandler.
Definition at line 79 of file InputHandler.h.