dlvhex
2.5.0
|
Base class for plugin-specific storage in ProgramCtx. More...
#include <include/dlvhex2/PluginInterface.h>
Public Member Functions | |
PluginData () | |
virtual | ~PluginData () |
Base class for plugin-specific storage in ProgramCtx.
Concrete usage pattern: * derive from this in YourPluginClass::CtxData * default construct this with ProgramCtx::getPluginData<YourPluginClass> * obtain where needed via ProgramCtx::getPluginData<YourPluginClass>
Use this, e.g., to store commandline arguments processed by the plugin. (For an example see QueryPlugin.cpp.)
Definition at line 509 of file PluginInterface.h.
PluginData::PluginData | ( | ) | [inline] |
Definition at line 512 of file PluginInterface.h.
virtual PluginData::~PluginData | ( | ) | [inline, virtual] |
Definition at line 513 of file PluginInterface.h.