Public Member Functions
Plugin Class Reference

Brief description of class still missing. More...

#include <Plugin.h>

Inheritance diagram for Plugin:
GeopsyCore::GeopsyCoreInterface

List of all members.

Public Member Functions

virtual QString description () const
virtual const char * interfaceVersion () const
 Plugin ()
virtual QString tag () const
virtual QString title () const
 ~Plugin ()

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

Creates MAT format if not already created

References GeopsyCore::CustomFileFormats::add(), GeopsyCore::CustomFileFormats::contains(), GeopsyCore::GeopsyCoreEngine::customFileFormats(), QGpCoreTools::endl(), GeopsyCore::geopsyCore, GeopsyCore::AbstractFileFormat::name(), QGpCoreTools::tr(), and TRACE.

{
  TRACE;
#ifdef GP_MATLAB_LIBS
  CustomFileFormats * formats=geopsyCore->customFileFormats();
  if(!formats->contains(MatFormat::name)) {
    formats->add(new MatFormat);
  }
#else
  App::stream() << tr("Not linked to Matlab libraries, no Mat-file support.") << endl;
#endif
}

Description of destructor still missing

References TRACE.

{
  TRACE;
}

Member Function Documentation

virtual QString Plugin::description ( ) const [inline, virtual]

Return a complete description of the plugin. By default, it returns a null string.

Reimplemented from GeopsyCore::GeopsyCoreInterface.

References QGpCoreTools::tr().

{return tr("Import/export of signals through Mat-files (Matlab)");}
virtual const char* Plugin::interfaceVersion ( ) const [inline, virtual]

Returns the geopsycore version of the plugin (at compile time)

Implements GeopsyCore::GeopsyCoreInterface.

{return GEOPSYCORE_VERSION;}
virtual QString Plugin::tag ( ) const [inline, virtual]

Implements GeopsyCore::GeopsyCoreInterface.

{return "matfiles";}
virtual QString Plugin::title ( ) const [inline, virtual]

Implements GeopsyCore::GeopsyCoreInterface.

References QGpCoreTools::tr().

{return tr("Mat-file support");}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines