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

Method canBeTarget

src/utilities/idf/WorkspaceObject.cpp:766–772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

764 }
765
766 std::vector<std::string> WorkspaceObject_Impl::canBeTarget() const {
767 StringVector result;
768 if (!m_handle.isNull() && name()) {
769 result = iddObject().references();
770 }
771 return result;
772 }
773
774 bool WorkspaceObject_Impl::objectListFieldsEqual(const WorkspaceObject& other) const {
775 // Looks for object equality of targets if same workspace(), otherwise, looks for data

Callers 4

setPointerMethod · 0.45
pushPointerMethod · 0.45
convertToTargetHandleMethod · 0.45

Calls 3

nameClass · 0.85
isNullMethod · 0.80
referencesMethod · 0.80

Tested by

no test coverage detected