Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::ObjectChildrenHolder) -> &mut meshlib::ObjectChildrenHolder |
| auto | get_shared_ptr () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
| auto | heap_bytes () const -> usize |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::ObjectChildrenHolder > |
| static auto | construct_from_another (_other:&meshlib::ObjectChildrenHolder) -> meshlib::Owned< meshlib::ObjectChildrenHolder > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
the main purpose of this class is to avoid copy and move constructor and assignment operator implementation in Object class, which has too many fields for that; since every object stores a pointer on its parent, copying of this object does not copy the children and moving is taken with care Generated from class MR::ObjectChildrenHolder. Derived classes: Direct: (non-virtual) MR::Object Indirect: (non-virtual) MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length> MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length> MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter> MR::AngleMeasurementObject MR::CircleObject MR::ConeObject MR::CylinderObject MR::DistanceMeasurementObject MR::FeatureObject MR::LineObject MR::MeasurementObject MR::ObjectDistanceMap MR::ObjectGcode MR::ObjectLabel MR::ObjectLines MR::ObjectLinesHolder MR::ObjectMesh MR::ObjectMeshHolder MR::ObjectPoints MR::ObjectPointsHolder MR::ObjectVoxels MR::PlaneObject MR::PointMeasurementObject MR::PointObject MR::RadiusMeasurementObject MR::SceneRootObject MR::SphereObject MR::VisualObject
Generated from class MR::ObjectChildrenHolder. Heap-allocated instances are held in Owned<ObjectChildrenHolder>.
| auto meshlib::ObjectChildrenHolder::assign_from_another | ( | _other:&meshlib::ObjectChildrenHolder | ) | -> &mut meshlib::ObjectChildrenHolder |
Generated from method MR::ObjectChildrenHolder::operator=.
Calls MR_ObjectChildrenHolder_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object. The reference to this object might be preserved in the return value.
|
static |
Generated from constructor MR::ObjectChildrenHolder::ObjectChildrenHolder.
Calls MR_ObjectChildrenHolder_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::ObjectChildrenHolder::get_shared_ptr | ( | ) | const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object > |
returns this Object as shared_ptr finds it among its parent's recognized children Generated from method MR::ObjectChildrenHolder::getSharedPtr.
Calls MR_ObjectChildrenHolder_getSharedPtr().
| auto meshlib::ObjectChildrenHolder::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap, including the memory of all recognized children Generated from method MR::ObjectChildrenHolder::heapBytes.
Calls MR_ObjectChildrenHolder_heapBytes().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ObjectChildrenHolder_DefaultConstruct().