#include <findApproxPath.h>
Public Member Functions | |
INLINE | FindApproxPath () |
bool | add_string (const string &str_path) |
bool | add_flags (const string &str_flags) |
bool | add_component (string str_component) |
INLINE void | add_match_name (const string &name, int flags) |
INLINE void | add_match_name_glob (const string &glob, int flags) |
INLINE void | add_match_exact_type (TypeHandle type, int flags) |
INLINE void | add_match_inexact_type (TypeHandle type, int flags) |
INLINE void | add_match_one (int flags) |
INLINE void | add_match_many (int flags) |
INLINE void | add_match_pointer (PandaNode *pointer, int flags) |
INLINE int | get_num_components () const |
INLINE bool | is_component_match_many (int index) const |
INLINE bool | matches_component (int index, PandaNode *node) const |
INLINE bool | matches_stashed (int index) const |
INLINE bool | return_hidden () const |
INLINE bool | return_stashed () const |
void | output (ostream &out) const |
INLINE void | output_component (ostream &out, int index) const |
Private Types | |
typedef pvector< Component > | Path |
enum | ComponentType { CT_match_name, CT_match_name_glob, CT_match_exact_type, CT_match_inexact_type, CT_match_one, CT_match_many, CT_match_pointer } |
enum | ComponentFlags { CF_stashed = 0x001 } |
Private Attributes | |
Path | _path |
bool | _return_hidden |
bool | _return_stashed |
Friends | |
ostream & | operator<< (ostream &, FindApproxPath::ComponentType) |
INLINE ostream & | operator<< (ostream &, const FindApproxPath::Component &) |
|
Definition at line 93 of file findApproxPath.h. |
|
Definition at line 77 of file findApproxPath.h. |
|
Definition at line 68 of file findApproxPath.h. |
|
|
|
Definition at line 196 of file findApproxPath.cxx. References add_match_exact_type(), add_match_inexact_type(), add_match_many(), add_match_name_glob(), add_match_one(), CF_stashed, TypeHandle::none(), and TypeRegistry::ptr(). Referenced by add_string(). |
|
Definition at line 141 of file findApproxPath.cxx. References _return_hidden, and _return_stashed. Referenced by add_string(). |
|
Referenced by add_component(). |
|
Referenced by add_component(). |
|
Referenced by add_component(), NodePath::find_all_paths_to(), and NodePath::find_path_to(). |
|
|
|
Referenced by add_component(). |
|
Referenced by add_component(). |
|
Referenced by NodePath::find_all_paths_to(), and NodePath::find_path_to(). |
|
Definition at line 100 of file findApproxPath.cxx. References add_component(), add_flags(), and start. Referenced by NodePathCollection::find_all_matches(), and NodePath::find_matches(). |
|
Referenced by FindApproxLevelEntry::consider_next_step(), and FindApproxLevelEntry::consider_node(). |
|
Referenced by FindApproxLevelEntry::consider_next_step(), and FindApproxLevelEntry::consider_node(). |
|
Referenced by FindApproxLevelEntry::consider_next_step(). |
|
|
|
Definition at line 265 of file findApproxPath.cxx. References _path. Referenced by operator<<(). |
|
Referenced by FindApproxLevelEntry::output(). |
|
Referenced by FindApproxLevelEntry::consider_next_step(). |
|
Referenced by FindApproxLevelEntry::consider_node(). |
|
Definition at line 107 of file findApproxPath.h. |
|
Definition at line 280 of file findApproxPath.cxx. |
|
Definition at line 94 of file findApproxPath.h. Referenced by output(). |
|
Definition at line 96 of file findApproxPath.h. Referenced by add_flags(). |
|
Definition at line 97 of file findApproxPath.h. Referenced by add_flags(). |