40 #ifndef __OPENFLUID_WARESDEV_WARESRCENQUIRER_HPP__
41 #define __OPENFLUID_WARESDEV_WARESRCENQUIRER_HPP__
44 #include <openfluid/ware/TypeDefs.hpp>
48 namespace openfluid {
namespace waresdev {
66 bool IsInCurrentWorkspace =
false;
68 bool IsInExamples =
false;
74 bool IsWareDirectory =
false;
76 bool IsWareFile =
false;
80 return (IsWareDirectory || IsWareFile) &&
81 (IsInCurrentWorkspace || IsInExamples) &&
Definition: WareSrcEnquirer.hpp:52
static WarePathInfo getWareInfoFromPath(const std::string &Path)
static std::string findWarePath(openfluid::ware::WareType WareType, const std::string &WareDirName)
#define OPENFLUID_API
Definition: dllexport.hpp:86
WareType
Definition: TypeDefs.hpp:61
Definition: ApplicationException.hpp:47
Definition: WareSrcEnquirer.hpp:57
std::string WareDirName
Definition: WareSrcEnquirer.hpp:72
std::string FileName
Definition: WareSrcEnquirer.hpp:62
std::string AbsolutePath
Definition: WareSrcEnquirer.hpp:58
bool isValid()
Definition: WareSrcEnquirer.hpp:78
std::string AbsoluteWarePath
Definition: WareSrcEnquirer.hpp:60
std::string RelativePathToWare
Definition: WareSrcEnquirer.hpp:64