MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / totalSize

Function totalSize

src/ifcparse/aggregate_of_instance.h:136–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 outer_it end() const { return list_.end(); }
135 int size() const { return (int)list_.size(); }
136 int totalSize() const {
137 int accum = 0;
138 for (outer_it it = begin(); it != end(); ++it) {
139 accum += (int)it->size();
140 }
141 return accum;
142 }
143 bool contains(IfcUtil::IfcBaseClass* instance) const {
144 for (outer_it it = begin(); it != end(); ++it) {
145 const std::vector<IfcUtil::IfcBaseClass*>& inner = *it;

Callers

nothing calls this directly

Calls 3

beginFunction · 0.70
endFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected