#include <ToolFinder.hpp>
Public Member Functions | |
| void | addSearchPath (const openstudio::path &t_searchPath) |
| Adds a search path. More... | |
| std::vector< std::pair < ToolVersion, ToolLocationInfo > > | findTools (bool t_showProgressDialog=false) const |
| Searches for tools installed at the already defined search paths. More... | |
| ToolFinder () | |
| Default constructor. More... | |
| ToolFinder (const std::vector< openstudio::path > &t_searchPaths) | |
| Constructor taking a vector of paths to search for tools. More... | |
Static Public Member Functions | |
| static std::vector< std::pair < ToolVersion, ToolLocationInfo > > | findTools (const std::vector< openstudio::path > &t_searchPaths, bool t_showProgressDialog=false) |
| Static convenience function that searches for tools in the given set of locations. More... | |
| static void | mergeTools (std::vector< std::pair< ToolVersion, ToolLocationInfo > > &t_tools, const std::vector< std::pair< ToolVersion, ToolLocationInfo > > &t_newtools) |
| static ToolVersion | parseToolVersion (const openstudio::path &t_path) |
Class for finding Tools installed on the local system.
Used internally by openstudio::runmanager::ConfigOptions::findTools and openstudio::runmanager::ConfigOptions::fastFindEnergyPlus.
| openstudio::runmanager::ToolFinder::ToolFinder | ( | ) |
Default constructor.
| openstudio::runmanager::ToolFinder::ToolFinder | ( | const std::vector< openstudio::path > & | t_searchPaths | ) |
Constructor taking a vector of paths to search for tools.
| void openstudio::runmanager::ToolFinder::addSearchPath | ( | const openstudio::path & | t_searchPath | ) |
Adds a search path.
|
static |
Static convenience function that searches for tools in the given set of locations.
| [in] | t_searchPaths | paths to search for known tools |
| [in] | t_showProgressDialog | if true, display a progress dialog during searching |
| std::vector<std::pair<ToolVersion, ToolLocationInfo> > openstudio::runmanager::ToolFinder::findTools | ( | bool | t_showProgressDialog = false | ) | const |
Searches for tools installed at the already defined search paths.
| [in] | t_showProgressDialog | if true, display a progress dialog during searching |
|
static |
|
static |