#include <BCLFileReference.hpp>
BCLFileReference is a class for tracking files that come with BCL components and measures.
◆ BCLFileReference()
| openstudio::BCLFileReference::BCLFileReference |
( |
const openstudio::path & | measureRootDir, |
|
|
const openstudio::path & | relativePath, |
|
|
const bool | setMembers = false ) |
|
explicit |
Constructor from file path.
◆ ~BCLFileReference()
| virtual openstudio::BCLFileReference::~BCLFileReference |
( |
| ) |
|
|
virtualdefault |
◆ checkForUpdate()
| bool openstudio::BCLFileReference::checkForUpdate |
( |
| ) |
|
Check if the file has been updated and return if so. Will update checksum.
◆ checksum()
| std::string openstudio::BCLFileReference::checksum |
( |
| ) |
const |
Returns the last recorded checksum.
◆ fileName()
| std::string openstudio::BCLFileReference::fileName |
( |
| ) |
const |
◆ fileType()
| std::string openstudio::BCLFileReference::fileType |
( |
| ) |
const |
◆ maxCompatibleVersion()
| boost::optional< VersionString > openstudio::BCLFileReference::maxCompatibleVersion |
( |
| ) |
const |
◆ minCompatibleVersion()
| boost::optional< VersionString > openstudio::BCLFileReference::minCompatibleVersion |
( |
| ) |
const |
◆ path()
Returns absolute path to file.
◆ relativePath()
◆ resetMaxCompatibleVersion()
| void openstudio::BCLFileReference::resetMaxCompatibleVersion |
( |
| ) |
|
◆ resetMinCompatibleVersion()
| void openstudio::BCLFileReference::resetMinCompatibleVersion |
( |
| ) |
|
◆ setChecksum()
| void openstudio::BCLFileReference::setChecksum |
( |
const std::string & | checksum | ) |
|
◆ setMaxCompatibleVersion()
| void openstudio::BCLFileReference::setMaxCompatibleVersion |
( |
const VersionString & | maxCompatibleVersion | ) |
|
◆ setMinCompatibleVersion()
| void openstudio::BCLFileReference::setMinCompatibleVersion |
( |
const VersionString & | minCompatibleVersion | ) |
|
◆ setSoftwareProgram()
| void openstudio::BCLFileReference::setSoftwareProgram |
( |
const std::string & | softwareProgram | ) |
|
◆ setSoftwareProgramVersion()
| void openstudio::BCLFileReference::setSoftwareProgramVersion |
( |
const std::string & | softwareProgramVersion | ) |
|
◆ setUsageType()
| void openstudio::BCLFileReference::setUsageType |
( |
const std::string & | usageType | ) |
|
◆ softwareProgram()
| std::string openstudio::BCLFileReference::softwareProgram |
( |
| ) |
const |
◆ softwareProgramVersion()
| std::string openstudio::BCLFileReference::softwareProgramVersion |
( |
| ) |
const |
◆ toJSON()
| Json::Value openstudio::BCLFileReference::toJSON |
( |
| ) |
const |
◆ toJSONString()
| std::string openstudio::BCLFileReference::toJSONString |
( |
| ) |
const |
◆ usageType()
| std::string openstudio::BCLFileReference::usageType |
( |
| ) |
const |
◆ writeValues()
| void openstudio::BCLFileReference::writeValues |
( |
pugi::xml_node & | element | ) |
const |
◆ operator<<()