Classes | Public Member Functions | List of all members
openfluid::waresdev::WareSrcManager Class Reference

#include <waresdev/WareSrcManager.hpp>

Classes

struct  PathInfo
 

Public Member Functions

void switchWorkspace (const QString &NewAbsoluteWorkspacePath)
 
QString getWareTypePath (openfluid::ware::WareType WareSrcType)
 
QString getWarePath (const QString &WareID, openfluid::ware::WareType OFWareType, QString &ErrMsg)
 
PathInfo getPathInfo (const QString &Path)
 
QString getWaresdevPath () const
 
QString getWorkspacePath () const
 

Member Function Documentation

PathInfo openfluid::waresdev::WareSrcManager::getPathInfo ( const QString &  Path)

Make Path absolute then splits it to retrieve PathInfo attributes.

Parameters
Path
Returns
A new PathInfo
QString openfluid::waresdev::WareSrcManager::getWarePath ( const QString &  WareID,
openfluid::ware::WareType  OFWareType,
QString &  ErrMsg 
)
QString openfluid::waresdev::WareSrcManager::getWaresdevPath ( ) const
QString openfluid::waresdev::WareSrcManager::getWareTypePath ( openfluid::ware::WareType  WareSrcType)
QString openfluid::waresdev::WareSrcManager::getWorkspacePath ( ) const
void openfluid::waresdev::WareSrcManager::switchWorkspace ( const QString &  NewAbsoluteWorkspacePath)

Set default internal paths (workspace and waresdev sub dirs) and create them if they don't exist.

Parameters
NewAbsoluteWorkspacePath
Exceptions
openfluid::base::FrameworkExceptionif a path can not be created

The documentation for this class was generated from the following file: