This MML ComponentPlugin allows you to manipulate MML document.
More...
#include <MMLComponentExtension.h>
Public Member Functions |
virtual QString | getDescription () const |
| get the plugin description (can be html)
|
virtual QStringList | getFileExtensions () const |
| get the list of managed extensions (each file with an extension in the list can be loaded by this Extension
|
virtual QString | getName () const |
| get the plugin name
|
| MMLComponentExtension () |
| the constructor (do nothing really)
|
virtual Component * | open (const QString &) throw (AbortException) |
| get a new instance from data stored in a file (this is the most important method to redefine in your subclass)
|
virtual bool | save (Component *component) const |
| save (only work with mml component)
|
virtual | ~ComponentExtension () |
| protected destructor,
|
virtual bool | hasDataDirectory () const |
| return true if this component manages directory instead of individual files (e.g. Dicom series are stored in directories, not files)
|
QString | getLocation () const |
| get the file path (location of the .dll/.so/.dylib) of this plugin
|
void | setLocation (const QString loc) |
| set the file path (once loaded as a dynamic library)
|
Detailed Description
This MML ComponentPlugin allows you to manipulate MML document.
see http://www-timc.imag.fr/Aurelien.Deram/ for more information on this type of documents.
Constructor & Destructor Documentation
MMLComponentExtension::MMLComponentExtension |
( |
| ) |
|
|
inline |
the constructor (do nothing really)
virtual MMLComponentExtension::~MMLComponentExtension |
( |
| ) |
|
|
inlineprotectedvirtual |
Member Function Documentation
QString MMLComponentExtension::getDescription |
( |
| ) |
const |
|
virtual |
QStringList MMLComponentExtension::getFileExtensions |
( |
| ) |
const |
|
virtual |
get the list of managed extensions (each file with an extension in the list can be loaded by this Extension
Implements camitk::ComponentExtension.
QString MMLComponentExtension::getName |
( |
| ) |
const |
|
virtual |
get a new instance from data stored in a file (this is the most important method to redefine in your subclass)
Implements camitk::ComponentExtension.
bool MMLComponentExtension::save |
( |
Component * |
component | ) |
const |
|
virtual |
The documentation for this class was generated from the following files: