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

Method canBeSource

src/utilities/idf/WorkspaceObject.cpp:735–740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

733 }
734
735 bool WorkspaceObject_Impl::canBeSource() const {
736 if (m_handle.isNull()) {
737 return false;
738 }
739 return m_sourceData.has_value();
740 }
741
742 bool WorkspaceObject_Impl::canBeSource(unsigned index, const StringVector& refLists) const {
743 if (m_handle.isNull()) {

Callers 3

swapMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 5

intersectReferenceListsFunction · 0.85
isNullMethod · 0.80
getFieldMethod · 0.45
emptyMethod · 0.45
isObjectListFieldMethod · 0.45

Tested by 2

TEST_FFunction · 0.36
TEST_FFunction · 0.36