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

Function isCompatible

src/model/ScheduleTypeRegistry.cpp:639–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637 }
638
639 bool isCompatible(const std::string& className, const std::string& scheduleDisplayName, const ScheduleTypeLimits& candidate) {
640 ScheduleType scheduleType = ScheduleTypeRegistry::instance().getScheduleType(className, scheduleDisplayName);
641 // Always call with isString=false
642 return isCompatible(scheduleType, candidate, false);
643 }
644
645 bool isCompatible(const ScheduleType& scheduleType, const ScheduleTypeLimits& candidate, bool isStringent) {
646 // do not check continuous/discrete

Calls 5

getScheduleTypeMethod · 0.80
lowerLimitValueMethod · 0.80
upperLimitValueMethod · 0.80
unitTypeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected