PointerToVoid¶
-
class PointerToVoid¶
Bases:
MemoryBaseThis is the non-template part of the base class for PointerTo and ConstPointerTo. It is necessary so we can keep a pointer to a non-template class within the
ReferenceCountobject, to implement weak reference pointers–we need to have something to clean up when theReferenceCountobject destructs.This is the base class for PointerToBase<T>.
Inheritance diagram
digraph inheritanceef2726e0f5 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "PointerToVoid" [URL="acron.core.PointerToVoid.html#acron.core.PointerToVoid",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "PointerToVoid" [arrowsize=0.75,style=""]; }- PointerToVoid.get_hash()¶
- PointerToVoid.is_null()¶
Returns true if the PointerTo is a NULL pointer, false otherwise. (Direct comparison to a NULL pointer also works.)