MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / SqlFile_Impl

Method SqlFile_Impl

src/utilities/sql/SqlFile_Impl.cpp:40–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 3

createIndexesMethod · 0.95
execAndThrowOnErrorFunction · 0.70
toStringFunction · 0.50

Tested by

no test coverage detected