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

Method customDay2Schedule

src/model/ScheduleWeek.cpp:143–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 boost::optional<ScheduleDay> ScheduleWeek_Impl::customDay2Schedule() const {
144 boost::optional<ScheduleDay> result;
145 OptionalWorkspaceObject schedule = getTarget(OS_Schedule_WeekFields::CustomDay2Schedule_DayName);
146 if (schedule) {
147 result = schedule->optionalCast<ScheduleDay>();
148 }
149 return result;
150 }
151
152 bool ScheduleWeek_Impl::setSundaySchedule(const ScheduleDay& schedule) {
153 return setPointer(OS_Schedule_WeekFields::SundaySchedule_DayName, schedule.handle());

Callers 7

adjustScheduleFunction · 0.45
deepScheduleYearCloneFunction · 0.45
TEST_FFunction · 0.45
translateScheduleWeekMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36