MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Misc.Object< T > Class Template Referenceabstract

This is the base class for all our classes. More...

+ Inheritance diagram for MR.Misc.Object< T >:

Protected Attributes

bool _IsOwningVal
 

Properties

virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Public Member Functions inherited from MR.Misc.KeepAliveHolder< T >
void _KeepAlive (object obj, string key="")
 Keeps obj alive as long as this object exists. If key is specified, it's an optional tag for this object.
 
void _DiscardKeepAlive (string key="")
 Discards the objects kept alive by this object. If key is not empty, only discards the objects with the same key. Otherwise discards all of them. This intentionally doesn't discard _KeepAliveEnclosingObject.
 
- Static Public Member Functions inherited from MR.Misc.KeepAliveHolder< T >
static void _StaticKeepAlive (object obj, string key="")
 
static void _StaticDiscardKeepAlive (string key="")
 
- Public Attributes inherited from MR.Misc.KeepAliveHolder< T >
object? _KeepAliveEnclosingObject = null
 A special holder for the enclosing object when returning a reference to its subobject.
 

Detailed Description

This is the base class for all our classes.


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