Panda3D
|
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... | |
![]() | |
clear () | |
output (Ostream out) | |
![]() | |
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... | |
__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.
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.