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

Method setCalendarYear

src/model/Model.cpp:1015–1021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1013 }
1014
1015 bool Model_Impl::setCalendarYear(int calendarYear) {
1016 if (!m_cachedYearDescription) {
1017 m_cachedYearDescription = this->model().getUniqueModelObject<YearDescription>();
1018 }
1019 OS_ASSERT(m_cachedYearDescription);
1020 return m_cachedYearDescription->setCalendarYear(calendarYear);
1021 }
1022
1023 void Model_Impl::resetCalendarYear() {
1024 if (!m_cachedYearDescription) {

Callers 13

runMethod · 0.45
osm2iso.rbFile · 0.45
translateRunPeriodMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
translateRunPeriodMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
translateModelMethod · 0.45

Calls 2

modelMethod · 0.95

Tested by 7

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36