| 38 | } |
| 39 | |
| 40 | SqlFile_Impl::SqlFile_Impl(const openstudio::path& path, const bool createIndexes) |
| 41 | : m_path(path), |
| 42 | m_connectionOpen(false), |
| 43 | m_supportedVersion(false), |
| 44 | m_hasYear(true), |
| 45 | m_hasIlluminanceMapYear(true), |
| 46 | m_illuminanceMapHasOnly2RefPts(false) { |
| 47 | if (openstudio::filesystem::exists(m_path)) { |
| 48 | m_path = openstudio::filesystem::canonical(m_path); |
| 49 | } |
| 50 | reopen(); |
| 51 | if (createIndexes) { |
| 52 | this->createIndexes(); |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | SqlFile_Impl::SqlFile_Impl(const openstudio::path& t_path, const openstudio::EpwFile& t_epwFile, const openstudio::DateTime& t_simulationTime, |
| 57 | const openstudio::Calendar& t_calendar, const bool createIndexes) |
nothing calls this directly
no test coverage detected