Panda3D
|
This is the specialization of PointerToVoid for weak pointers. More...
Public Member Functions | |
unsigned int | getHash () |
bool | isNull () |
Returns true if the PointerTo is a NULL pointer, false otherwise. | |
bool | isValidPointer () |
Returns true if the pointer is not null and the object has not been deleted. | |
bool | wasDeleted () |
Returns true if the object we are pointing to has been deleted, false otherwise. |
This is the specialization of PointerToVoid for weak pointers.
It needs an additional flag to indicate that the pointer has been deleted.
unsigned int getHash | ( | ) | [inherited] |
bool isNull | ( | ) | [inherited] |
Returns true if the PointerTo is a NULL pointer, false otherwise.
(Direct comparison to a NULL pointer also works.)
Reimplemented in PointerToConnection.
bool isValidPointer | ( | ) |
Returns true if the pointer is not null and the object has not been deleted.
bool wasDeleted | ( | ) |
Returns true if the object we are pointing to has been deleted, false otherwise.