21 INLINE FindApproxPath::
23 _return_hidden =
true;
24 _return_stashed =
false;
25 _case_insensitive =
false;
46 nassertr(index >= 0 && index < (
int)_path.size(),
false);
47 return (_path[index]._type == CT_match_many);
58 nassertr(index >= 0 && index < (
int)_path.size(),
false);
59 return (_path[index].matches(node));
70 if (index >= 0 && index < (
int)_path.size()) {
71 return ((_path[index]._flags & CF_stashed) != 0);
85 return _return_hidden;
96 return _return_stashed;
107 return _case_insensitive;
118 nassertv(index >= 0 && index < (
int)_path.size());
A basic node of the scene graph or data graph.
bool case_insensitive() const
Returns true if the search is case-insensitive, false if it is case-sensitive.
bool matches_stashed(int index) const
Returns true if the nth component of the path matches a stashed node only, false otherwise.
bool return_stashed() const
Returns true if this path allows returning of stashed nodes, false otherwise.
bool is_component_match_many(int index) const
Returns true if the nth component is of type match_many, which will require special handling...
void output_component(ostream &out, int index) const
Formats the nth component of the path to the indicated output stream.
int get_num_components() const
Returns the number of components in the path.
bool return_hidden() const
Returns true if this path allows returning of hidden nodes, false otherwise.
bool matches_component(int index, PandaNode *node) const
Returns true if the nth component of the path matches the indicated node, false otherwise.