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

◆ getPathInfo()

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

Make Path absolute then splits it to retrieve PathInfo attributes.

Parameters
Path
Returns
A new PathInfo

◆ getWarePath()

QString openfluid::waresdev::WareSrcManager::getWarePath ( const QString &  WareID,
openfluid::ware::WareType  OFWareType,
QString &  ErrMsg 
)

◆ getWaresdevPath()

QString openfluid::waresdev::WareSrcManager::getWaresdevPath ( ) const

◆ getWareTypePath()

QString openfluid::waresdev::WareSrcManager::getWareTypePath ( openfluid::ware::WareType  WareSrcType)

◆ getWorkspacePath()

QString openfluid::waresdev::WareSrcManager::getWorkspacePath ( ) const

◆ switchWorkspace()

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: