MeVisLab Scripting Reference
|
#include <mlabPackageManager.h>
Inherits QObject.
Public Slots | |
Package information script access. | |
| |
QString | packageName () const |
QString | packageGroup () const |
QString | packageIdentifier () const |
QString | packageEnvVariableName () const |
QString | description () const |
QString | owner () const |
QString | scriptsPath () const |
QString | binariesPath () const |
QString | path () const |
QString | defaultModuleGroup () const |
QString | libPath () const |
QStringList | libPaths () const |
QString | binPath () const |
QString | modulesPath () const |
QString | moduleReferencePath () const |
QString | documentationPath () const |
QString | documentationIndexPath () const |
QString | packageConfigurationPriFile () const |
QString | projectsPath () const |
bool | containsModulesOrProjects () const |
bool | isInstalledWithMeVisLab () const |
bool | showHelpOnIndexPage () const |
SaveAllowType | allowSaveOfInternalNetworks () const |
void | print () |
QString | typeString () |
QString | findSharedLibrary (const QString &name) |
QString | findExecutable (const QString &name, bool preferReleaseMode=true) |
bool | isUnderVersionControl () |
bool | isEditableByUser () |
bool | shouldNotDependOnPackage (const QString &packageIdentifier, bool extended=false) |
int | projectsSearchDepth () const |
QStringList | findInstallerLibraryFiles () |
Stores information about a MeVisLab Package.
|
inlineslot |
Return whether saving of internal networks should be allowed, allowed with warning, or refused.
|
inlineslot |
Returns the base path of the package (binaries/build results - this might be the same as scriptsPath).
|
slot |
Returns the bin path.
|
slot |
Returns true if at least modulesPath() or projectsPath() exists.
|
inlineslot |
Returns the default module group for all modules in this package (this is meant to set default visibility of modules)
|
inlineslot |
Returns a short description of the package.
|
slot |
Returns the path to the module documentation index.
|
slot |
Returns the path to the module documentation.
|
slot |
Returns the path to the executable if it exists and an empty string otherwise (where the executable name is just the name, without debug postfix and platform ending).
On Mac OS X it also looks for application bundles and if found returns the main executable of the bundle.
|
slot |
Find all installer library files (located in Configuration/Installers/Libraries/), returned as absolute paths.
|
slot |
Returns the path to the shared library if it exists and an empty string otherwise (where the library name is just the name, without debug postfix and platform ending).
|
slot |
Returns whether the package is editable by the user (which means it is either not installed with MeVisLab or under version control (core developers)).
|
inlineslot |
Returns whether the package is installed with MeVisLab.
|
slot |
Returns whether the package is under version control (which means that it or one of the parent directories contains a .svn or .git directory).
|
slot |
Returns the lib path.
|
slot |
Returns the libPath and possible further lib/debug or lib/release paths if they exists and the MeVisLab version is in debug or release mode.
|
slot |
Returns the path to the module reference.
|
slot |
Returns the path to the modules of the package.
|
inlineslot |
Returns the owner of the package.
|
slot |
Returns the path to the configuration pri file.
|
slot |
Returns the package's environment variable name (which is "MLAB_"+packageGroup()+"_"+packageName() ).
|
inlineslot |
Returns the package group.
|
inlineslot |
Returns the package identifier (which is packageGroup() + "/" + packageName() ).
|
inlineslot |
Returns the package name.
|
slot |
Returns the base path of the package (deprecated, use either scriptsPath or binariesPath).
|
slot |
Prints package info.
|
slot |
Returns the projects path.
|
inlineslot |
Returns the search depths for modules below the Projects subdirectory.
|
inlineslot |
Returns the base path of the package (sources).
|
slot |
Returns true if this package should not depend on content from the given package; if argument extended is set, extended package dependencies are applied (for tests and example networks)
|
inlineslot |
Returns whether the package documentation (module reference) is visible on the documentation index page.
|
slot |
Returns a package type string (for output only, not for checking the type!).