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;
This is the base class for PointerTo and ConstPointerTo.
This is the base class for PointerTo and ConstPointerTo.
void output(std::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.
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...
This is the specialization of PointerToVoid for weak pointers.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.