PointerTo_Connection

from acron.net import PointerTo_Connection
class PointerTo_Connection

Bases:

Bases: PointerToBase_Connection

Inheritance diagram

digraph inheritance1edf048351 { 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=""]; "PointerToBase_Connection" [URL="acron.net.PointerToBase_Connection.html#acron.net.PointerToBase_Connection",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "PointerToVoid" -> "PointerToBase_Connection" [arrowsize=0.75,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=""]; "PointerTo_Connection" [URL="acron.net.PointerTo_Connection.html#acron.net.PointerTo_Connection",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "PointerToBase_Connection" -> "PointerTo_Connection" [arrowsize=0.75,style=""]; }
__init__()
assign()
clear()
is_null()
p()

If your base class is a derivative of TypedObject, you might want to use the DCAST macro defined in typedObject.h instead, e.g. DCAST(MyType, ptr). This provides a clean downcast that doesn’t require .p() or any double-casting, and it can be run-time checked for correctness.