15 #ifndef POINTERTOBASE_H
16 #define POINTERTOBASE_H
18 #include "pandabase.h"
19 #include "pointerToVoid.h"
20 #include "referenceCount.h"
22 #include "memoryUsage.h"
23 #include "config_express.h"
39 INLINE ~PointerToBase();
41 #ifdef USE_MOVE_SEMANTICS
46 INLINE
void reassign(To *ptr);
49 #ifdef DO_MEMORY_USAGE
50 void update_type(To *ptr);
51 #endif // DO_MEMORY_USAGE
60 void output(ostream &out)
const;
64 INLINE ostream &operator <<(ostream &out, const PointerToBase<T> &pointer) {
69 #include "pointerToBase.I"
void output(ostream &out) const
A handy function to output PointerTo's as a hex pointer followed by a reference count.
void clear()
A convenient way to set the PointerTo object to NULL.
This is the base class for PointerTo and ConstPointerTo.
This is the non-template part of the base class for PointerTo and ConstPointerTo. ...