Panda3D
|
This 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 ReferenceCount object, to implement weak reference pointers–we need to have something to clean up when the ReferenceCount object destructs. More...
Public Member Functions | |
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... | |
This 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 ReferenceCount object, to implement weak reference pointers–we need to have something to clean up when the ReferenceCount object destructs.
This is the base class for PointerToBase<T>.
size_t getHash | ( | ) |
bool isNull | ( | ) |
Returns true if the PointerTo is a NULL pointer, false otherwise. (Direct comparison to a NULL pointer also works.)