15 #ifndef NODEPOINTERTO_H
16 #define NODEPOINTERTO_H
18 #include "pandabase.h"
19 #include "nodePointerToBase.h"
34 typedef TYPENAME NodePointerToBase<T>::To To;
37 INLINE ~NodePointerTo();
39 #ifdef USE_MOVE_SEMANTICS
44 INLINE To &operator *()
const;
45 INLINE To *operator -> ()
const;
48 INLINE
operator T *()
const;
69 typedef TYPENAME NodePointerToBase<T>::To To;
73 INLINE ~NodeConstPointerTo();
75 #ifdef USE_MOVE_SEMANTICS
82 INLINE
const To &operator *()
const;
83 INLINE
const To *operator -> ()
const;
84 INLINE
operator const T *()
const;
86 INLINE
const To *
p()
const;
104 #define NPT(type) NodePointerTo< type >
105 #define NCPT(type) NodeConstPointerTo< type >
107 #include "nodePointerTo.I"
This is similar to PointerToBase, but it manages objects of type NodeReferenceCount or NodeCachedRefe...
const To * p() const
Returns an ordinary pointer instead of a NodeConstPointerTo.
To * p() const
Returns an ordinary pointer instead of a NodePointerTo.
A NodeConstPointerTo is similar to a NodePointerTo, except it keeps a const pointer to the thing...
This implements the special NodePointerTo template class, which works just like PointerTo except it m...