32class EXPCL_PANDA_PGRAPH WeakNodePath {
34 INLINE WeakNodePath(
const NodePath &node_path);
35 INLINE WeakNodePath(
const WeakNodePath ©);
36 INLINE ~WeakNodePath();
38 INLINE
void operator = (
const NodePath &node_path);
39 INLINE
void operator = (
const WeakNodePath ©);
43 INLINE
operator bool ()
const;
50 INLINE
bool operator == (
const NodePath &other)
const;
51 INLINE
bool operator != (
const NodePath &other)
const;
52 INLINE
bool operator < (
const NodePath &other)
const;
53 INLINE
int compare_to(
const NodePath &other)
const;
55 INLINE
bool operator == (
const WeakNodePath &other)
const;
56 INLINE
bool operator != (
const WeakNodePath &other)
const;
57 INLINE
bool operator < (
const WeakNodePath &other)
const;
58 INLINE
int compare_to(
const WeakNodePath &other)
const;
60 INLINE
int get_key()
const;
62 void output(std::ostream &out)
const;
66 mutable int _backup_key;
68 friend class NodePath;
71INLINE std::ostream &operator << (std::ostream &out,
const WeakNodePath &node_path);
This is one component of a NodePath.
A basic node of the scene graph or data graph.
This class is a wrapper around a NodePath that, unlike the actual NodePath class, doesn't hold a refe...
void clear()
Sets this NodePath to the empty NodePath.
NodePath get_node_path() const
Returns the NodePath held within this object, or an empty NodePath with the error flag set if the obj...
bool is_empty() const
Returns true if the NodePath contains no nodes, or if it has been deleted.
bool was_deleted() const
Returns true if the NodePath we were referencing has been quietly deleted outside of the WeakNodePath...
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.