22 #ifndef CTKCMDLINEMODULEREFERENCE_H
23 #define CTKCMDLINEMODULEREFERENCE_H
25 #include <ctkCommandLineModulesCoreExport.h>
27 #include <QSharedDataPointer>
32 struct ctkCmdLineModuleReferencePrivate;
60 operator bool()
const;
99 QSharedDataPointer<ctkCmdLineModuleReferencePrivate> d;
Description of the parameters of a command line module.
Main manager class to handle loading and unloading of modules.
Defines a reference or handle to a module, including location, XML, description and access to the ass...
QString xmlValidationErrorString() const
Retrieve a validation error string.
QUrl location() const
Get the URL under which the module was registered.
QByteArray rawXmlDescription() const
Get the raw XML description, as supplied by the back-end.
ctkCmdLineModuleDescription description() const
Get the module description for the parameters.
ctkCmdLineModuleReference & operator=(const ctkCmdLineModuleReference &ref)
friend uint CTK_CMDLINEMODULECORE_EXPORT qHash(const ctkCmdLineModuleReference &)
ctkCmdLineModuleBackend * backend() const
Get the back-end which was registered to handle this module.
ctkCmdLineModuleReference(const ctkCmdLineModuleReference &ref)
~ctkCmdLineModuleReference()
ctkCmdLineModuleReference()
Creates an invalid module reference.
uint CTK_CMDLINEMODULECORE_EXPORT qHash(const ctkCmdLineModuleReference &moduleRef)
Q_DECLARE_METATYPE(ctkDICOMPersonName)
Abstract base class for all back-end command line module implementations.