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

Function get_task_items

src/ifcgeom/Iterator.h:245–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243 void set_cache(GeometrySerializer* cache) { cache_ = cache; }
244
245 std::vector<ifcopenshell::geometry::taxonomy::item::ptr> get_task_items() const {
246 std::vector<ifcopenshell::geometry::taxonomy::item::ptr> items;
247 items.reserve(tasks_.size());
248 for (const auto& task : tasks_) {
249 items.push_back(task.item);
250 }
251 return items;
252 }
253
254 aggregate_of_aggregate_of_instance::ptr get_task_products() const {
255 aggregate_of_aggregate_of_instance::ptr products = aggregate_of_aggregate_of_instance::ptr(new aggregate_of_aggregate_of_instance);

Callers

nothing calls this directly

Calls 3

reserveMethod · 0.80
push_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected