Panda3D
|
This is the base class for PointerToArray and ConstPointerToArray. More...
#include "pointerToArrayBase.h"
Public Types | |
typedef PointerToBase < ReferenceCountedVector < Element > >::To | To |
Public Member Functions | |
void | clear () |
size_t | get_hash () const |
bool | is_null () const |
Returns true if the PointerTo is a NULL pointer, false otherwise. | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *, void *) |
void * | operator new (size_t size, void *ptr) |
void * | operator new (size_t size) |
void * | operator new[] (size_t size, void *ptr) |
void * | operator new[] (size_t size) |
bool | operator!= (const PointerToVoid &other) const |
bool | operator< (const PointerToVoid &other) const |
bool | operator< (const void *other) const |
bool | operator== (const PointerToVoid &other) const |
void | output (ostream &out) const |
Protected Member Functions | |
PointerToArrayBase (ReferenceCountedVector< Element > *ptr) | |
PointerToArrayBase (const PointerToArrayBase< Element > ©) | |
void | reassign (To *ptr) |
void | reassign (const PointerToBase< To > ©) |
Protected Attributes | |
void * | _void_ptr |
This is the base class for PointerToArray and ConstPointerToArray.
Don't try to use it directly; use either derived class instead.
This extends PointerToBase to be a pointer to a ReferenceCountedVector, above, which is essentially a reference-counted STL vector.
Definition at line 77 of file pointerToArrayBase.h.
bool PointerToVoid::is_null | ( | ) | const [inline, inherited] |
Returns true if the PointerTo is a NULL pointer, false otherwise.
(Direct comparison to a NULL pointer also works.)
Reimplemented in PointerTo< T >, ThreadSafePointerTo< T >, and WeakConstPointerTo< T >.
Definition at line 54 of file pointerToVoid.I.
Referenced by TexturePeeker::is_valid().