14#ifndef NODEPOINTERTOBASE_H
15#define NODEPOINTERTOBASE_H
31class NodePointerToBase :
public PointerToVoid {
36 INLINE NodePointerToBase(To *ptr);
37 INLINE NodePointerToBase(
const NodePointerToBase<T> ©);
38 INLINE ~NodePointerToBase();
39 INLINE NodePointerToBase(NodePointerToBase<T> &&from)
noexcept;
41 INLINE
void reassign(NodePointerToBase<To> &&from)
noexcept;
43 void reassign(To *ptr);
44 INLINE
void reassign(
const NodePointerToBase<To> ©);
52 void output(std::ostream &out)
const;
This is similar to PointerToBase, but it manages objects of type NodeReferenceCount or NodeCachedRefe...
void clear()
A convenient way to set the NodePointerTo object to NULL.
void output(std::ostream &out) const
A handy function to output NodePointerTo's as a hex pointer followed by a reference count.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.