Belle II Software  release-08-01-10
StringHandler Class Reference

InputHandler which just takes the uri as XML data. More...

#include <StringHandler.h>

Inheritance diagram for StringHandler:
Collaboration diagram for StringHandler:

Public Types

typedef InputHandlerFactory(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 InputContextopen (const std::string &path) override
 Create a new context, path will be ignored.
 

Protected Attributes

std::string m_uri
 URI for the InputHandler.
 

Detailed Description

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.


The documentation for this class was generated from the following files: