Panda3D
Public Member Functions | List of all members
PointerToConnection Class Reference
Inheritance diagram for PointerToConnection:
PointerToBaseConnection PointerToVoid MemoryBase

Public Member Functions

 __init__ (Connection ptr)
 
 __init__ (Connection copy)
 
 clear ()
 
bool isNull ()
 These functions normally wouldn't need to be redefined here, but we do so anyway just to help out interrogate (which doesn't seem to want to automatically export the PointerToBase class). When this works again in interrogate, we can remove these. More...
 
PointerToConnection operator= (Connection ptr)
 
PointerToConnection operator= (Connection copy)
 
Connection 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. More...
 
- Public Member Functions inherited from PointerToBaseConnection
 clear ()
 
 output (Ostream out)
 
- Public Member Functions inherited from PointerToVoid
size_t getHash ()
 
bool isNull ()
 Returns true if the PointerTo is a NULL pointer, false otherwise. (Direct comparison to a NULL pointer also works.) More...
 

Member Function Documentation

◆ __init__() [1/2]

__init__ ( Connection  ptr)

◆ __init__() [2/2]

__init__ ( Connection  copy)

◆ clear()

clear ( )

◆ isNull()

bool isNull ( )

These functions normally wouldn't need to be redefined here, but we do so anyway just to help out interrogate (which doesn't seem to want to automatically export the PointerToBase class). When this works again in interrogate, we can remove these.

◆ operator=() [1/2]

PointerToConnection operator= ( Connection  ptr)

◆ operator=() [2/2]

PointerToConnection operator= ( Connection  copy)

◆ p()

Connection 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.