◆ add()
354 {
355 assert(
db.find(ModelObjectStatus(model_object.id())) ==
db.end());
356 db.emplace(model_object.id(), status);
357 }
std::set< ModelObjectStatus > db
Definition PrintApply.cpp:380
References Slic3r::ObjectBase::id().
Referenced by Slic3r::Print::apply().
◆ add_if_new()
359 {
360 auto it =
db.find(ModelObjectStatus(model_object.id()));
361 if (it ==
db.end()) {
362 db.emplace_hint(it, model_object.id(), status);
363 return true;
364 }
365 return false;
366 }
References Slic3r::ObjectBase::id().
Referenced by Slic3r::Print::apply().
◆ get()
◆ reuse()
374 {
375 const ModelObjectStatus &result = this->
get(model_object);
377 return result;
378 }
const ModelObjectStatus & get(const ModelObject &model_object)
Definition PrintApply.cpp:368
@ Deleted
Definition PrintApply.cpp:325
References Slic3r::ModelObjectStatus::status.
Referenced by Slic3r::Print::apply().
◆ db
The documentation for this struct was generated from the following file: