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

Method numSources

src/utilities/idf/WorkspaceObject.cpp:698–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

696 }
697
698 unsigned WorkspaceObject_Impl::numSources() const {
699 if (m_handle.isNull()) {
700 return 0u;
701 }
702 if (m_targetData) {
703 return m_targetData->reversePointers.size();
704 }
705 return 0;
706 }
707
708 bool WorkspaceObject_Impl::isSource() const {
709 if (!initialized()) {

Callers 3

mergeMethod · 0.80
TEST_FFunction · 0.80

Calls 2

isNullMethod · 0.80
sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.64