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

Public Member Functions

 __init__ (self, *args, **kwargs)
Object getSharedPtr (self)
int heapBytes (self)

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__()

mrmeshpy.ConstObjectChildrenHolder.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstObjectChildrenHolder) -> None

2. __init__(self: meshlib.mrmeshpy.ConstObjectChildrenHolder, arg0: meshlib.mrmeshpy.ConstObjectChildrenHolder) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstObjectChildrenHolder, : meshlib.mrmeshpy.ConstObjectChildrenHolder) -> None

Member Function Documentation

◆ getSharedPtr()

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

◆ heapBytes()

int mrmeshpy.ConstObjectChildrenHolder.heapBytes ( self)

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