14 #ifndef WEAKPOINTERTOBASE_H 15 #define WEAKPOINTERTOBASE_H 43 void reassign(To *ptr);
52 INLINE
void update_type(To *ptr);
63 INLINE
bool operator == (
const To *other)
const;
64 INLINE
bool operator != (
const To *other)
const;
65 INLINE
bool operator > (
const To *other)
const;
66 INLINE
bool operator <= (
const To *other)
const;
67 INLINE
bool operator >= (
const To *other)
const;
68 INLINE
bool operator == (To *other)
const;
69 INLINE
bool operator != (To *other)
const;
70 INLINE
bool operator > (To *other)
const;
71 INLINE
bool operator <= (To *other)
const;
72 INLINE
bool operator >= (To *other)
const;
74 INLINE
bool operator == (std::nullptr_t)
const;
75 INLINE
bool operator != (std::nullptr_t)
const;
76 INLINE
bool operator > (std::nullptr_t)
const;
77 INLINE
bool operator <= (std::nullptr_t)
const;
78 INLINE
bool operator >= (std::nullptr_t)
const;
92 INLINE
bool operator < (
const To *other)
const;
93 INLINE
bool operator < (std::nullptr_t)
const;
110 void output(std::ostream &out)
const;
void refresh() const
Informs the WeakPointerTo object that its pointer is no longer deleted.
bool owner_before(const WeakPointerToBase< Y > &other) const noexcept
Defines an ordering that is guaranteed to remain consistent even after the weak pointers have expired...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the specialization of PointerToVoid for weak pointers.
void clear()
A convenient way to set the PointerTo object to NULL.
This is the base class for PointerTo and ConstPointerTo.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void output(std::ostream &out) const
A handy function to output PointerTo's as a hex pointer followed by a reference count.
This is the base class for PointerTo and ConstPointerTo.