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

Method componentObjects

src/model/ComponentData.cpp:75–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 std::vector<ModelObject> ComponentData_Impl::componentObjects() const {
76 ModelObjectVector result;
77 for (unsigned i = 0, n = numComponentObjects(); i < n; ++i) {
78 result.push_back(getComponentObject(i));
79 }
80 return result;
81 }
82
83 ModelObject ComponentData_Impl::getComponentObject(unsigned objectIndex) const {
84 if (objectIndex >= numComponentObjects()) {

Callers 3

ComponentMethod · 0.80
TEST_FFunction · 0.80

Calls 1

push_backMethod · 0.45

Tested by 1

TEST_FFunction · 0.64