Belle II Software development
|
Class representing a resource context for gearbox. More...
#include <InputHandler.h>
Public Member Functions | |
virtual int | readXmlData (char *buffer, int buffsize)=0 |
Read a block of XML data into buffer, at most buffsize bytes and return the number of bytes read. | |
virtual | ~InputContext () |
Close the context. | |
Class representing a resource context for gearbox.
This class is responsible for providing read access to an XML resource and to free any memory associated with the resource on destruction
Definition at line 25 of file InputHandler.h.
|
inlinevirtual |
|
pure virtual |
Read a block of XML data into buffer, at most buffsize bytes and return the number of bytes read.
buffer | pointer where to write XML data |
buffsize | number of bytes to write, actual number of bytes can be less if XML is shorter |
Implemented in FileContext, and StringContext.