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

Method isIsLeapYearDefaulted

src/model/Model.cpp:1007–1013  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1005 }
1006
1007 bool Model_Impl::isIsLeapYearDefaulted() const {
1008 if (!m_cachedYearDescription) {
1009 m_cachedYearDescription = this->model().getUniqueModelObject<YearDescription>();
1010 }
1011 OS_ASSERT(m_cachedYearDescription);
1012 return m_cachedYearDescription->isIsLeapYearDefaulted();
1013 }
1014
1015 bool Model_Impl::setCalendarYear(int calendarYear) {
1016 if (!m_cachedYearDescription) {

Callers 1

TEST_FFunction · 0.45

Calls 2

modelMethod · 0.95

Tested by 1

TEST_FFunction · 0.36