MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ObjectChildrenHolder Class Reference
+ Inheritance diagram for mrmeshpy.ObjectChildrenHolder:

Public Member Functions

None __init__ (self)
 
Object getSharedPtr (self)
 
int heapBytes (self)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
ObjectChildrenHolder operator (*args, **kwargs)
 
ObjectChildrenHolder operator (*args, **kwargs)
 

Detailed Description

Generated from:  MR::ObjectChildrenHolder

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

Constructor & Destructor Documentation

◆ __init__() [1/2]

◆ __init__() [2/2]

Member Function Documentation

◆ getSharedPtr()

Object mrmeshpy.ObjectChildrenHolder.getSharedPtr ( self)
returns this Object as shared_ptr
finds it among its parent's recognized children

◆ heapBytes()

int mrmeshpy.ObjectChildrenHolder.heapBytes ( self)
returns the amount of memory this object occupies on heap,
including the memory of all recognized children

Reimplemented in mrmeshpy.Object, mrmeshpy.ObjectDistanceMap, mrmeshpy.ObjectGcode, mrmeshpy.ObjectLabel, mrmeshpy.ObjectLinesHolder, mrmeshpy.ObjectMeshHolder, mrmeshpy.ObjectPointsHolder, mrmeshpy.ObjectVoxels, and mrmeshpy.VisualObject.

◆ operator() [1/2]

ObjectChildrenHolder mrmeshpy.ObjectChildrenHolder.operator ( * args,
** kwargs )
static

Reimplemented in mrmeshpy.MeasurementObject.

◆ operator() [2/2]

ObjectChildrenHolder mrmeshpy.ObjectChildrenHolder.operator ( * args,
** kwargs )
static

Reimplemented in mrmeshpy.MeasurementObject.


The documentation for this class was generated from the following file: