dlvhex  2.5.0
PluginData Class Reference

Base class for plugin-specific storage in ProgramCtx. More...

#include <include/dlvhex2/PluginInterface.h>

Inheritance diagram for PluginData:

Public Member Functions

 PluginData ()
virtual ~PluginData ()

Detailed Description

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.


Constructor & Destructor Documentation

PluginData::PluginData ( ) [inline]

Definition at line 512 of file PluginInterface.h.

virtual PluginData::~PluginData ( ) [inline, virtual]

Definition at line 513 of file PluginInterface.h.


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