MLABPackageManager Class Reference

Manages MeVisLab module packages. More...

List of all members.

Public Slots

Package Manager Script Access
QVariantList checkForMultipleCopiesOfSharedLibraries ()
QStringList findExecutable (const QString &name)
QString findExecutableBundleById (const QString &id)
MLABPackagefindPackageContainingPath (const QString &abspath, QString *relativePath=NULL)
QStringList findPackageIdentifierAndRelativePath (const QString &absPath)
QStringList findSharedLibrary (const QString &name)
QStringList getBinPaths ()
QStringList getLibPaths ()
QString getPathInPackage (const QString &packageIdentifier, const QString &pathToAppend)
MLABPackageinternalAddDummyPackage (const QString &group, const QString &name, const QString &path)
void internalRemoveDummyPackage (MLABPackage *package)
bool isPackagePathAlreadyPresent (const QString &path)
MLABPackagepackageByIdentifier (const QString &packageName)
QObjectList packages ()
QObjectList packagesByGroup (const QString &group)


Detailed Description

Manages MeVisLab module packages.

Member Function Documentation

QVariantList MLABPackageManager::checkForMultipleCopiesOfSharedLibraries (  )  [slot]

check if there are multiple copies of shared libraries, which are returned as QVariantList of QStringLists

QStringList MLABPackageManager::findExecutable ( const QString &  name  )  [slot]

returns the path(s) to the executable, if it exists empty list otherwise (where the 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

QString MLABPackageManager::findExecutableBundleById ( const QString &  id  )  [slot]

returns path(s) to bundle if found in package (Mac OS X only)

MLABPackage* MLABPackageManager::findPackageContainingPath ( const QString &  abspath,
QString *  relativePath = NULL 
) [slot]

searches the packages and returns the package that contains the given path

Parameters:
relativePath will be the path from the package to the contained path, or untouched if no package was found

QStringList MLABPackageManager::findPackageIdentifierAndRelativePath ( const QString &  absPath  )  [slot]

searches the packages and returns the package identifier and the relative path into the package (or an empty list)

QStringList MLABPackageManager::findSharedLibrary ( const QString &  name  )  [slot]

returns the path(s) to the shared library(s), if it exists empty list otherwise (where the library name is just the name, without debug postfix and platform ending)

QStringList MLABPackageManager::getBinPaths (  )  [slot]

get the binary paths that need to be set

QStringList MLABPackageManager::getLibPaths (  )  [slot]

get the library paths that need to be set

QString MLABPackageManager::getPathInPackage ( const QString &  packageIdentifier,
const QString &  pathToAppend 
) [slot]

gets the given path inside of the given package

MLABPackage* MLABPackageManager::internalAddDummyPackage ( const QString &  group,
const QString &  name,
const QString &  path 
) [slot]

internal method for adding a dummy package, ONLY use this for testing purposes

void MLABPackageManager::internalRemoveDummyPackage ( MLABPackage package  )  [slot]

internal method for removing a dummy package, ONLY use this for testing purposes

bool MLABPackageManager::isPackagePathAlreadyPresent ( const QString &  path  )  [slot]

returns if the given path is already part of the scanned package paths or a subdirectory of one of the package paths

MLABPackage* MLABPackageManager::packageByIdentifier ( const QString &  packageName  )  [slot]

get the specified package info

QObjectList MLABPackageManager::packages (  )  [slot]

returns list of packages as QObjectList, since QSA does not support QList<MLABPackage>

QObjectList MLABPackageManager::packagesByGroup ( const QString &  group  )  [slot]

returns list of packages as QObjectList, since QSA does not support QList<MLABPackage>


Generated on Sat Sep 3 18:38:03 2011 for MeVisLab Scripting Reference by  doxygen 1.5.8