| 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); |