#include <globPattern.h>
Public Member Functions | |
INLINE | GlobPattern (const string &pattern=string()) |
INLINE | GlobPattern (const GlobPattern ©) |
INLINE void | operator= (const GlobPattern ©) |
INLINE void | set_pattern (const string &pattern) |
INLINE const string & | get_pattern () const |
INLINE bool | matches (const string &candidate) const |
INLINE void | output (ostream &out) const |
bool | has_glob_characters () const |
int | match_files (vector_string &results, const Filename &cwd=Filename()) |
Private Member Functions | |
bool | matches_substr (string::const_iterator pi, string::const_iterator pend, string::const_iterator ci, string::const_iterator cend) const |
bool | matches_set (string::const_iterator &pi, string::const_iterator pend, char ch) const |
int | r_match_files (const Filename &prefix, const string &suffix, vector_string &results, const Filename &cwd) |
Private Attributes | |
string | _pattern |
|
|
|
|
|
|
|
Definition at line 29 of file globPattern.cxx. References _pattern. Referenced by r_match_files(). |
|
Definition at line 69 of file globPattern.cxx. References _pattern, and r_match_files(). Referenced by main(). |
|
Referenced by NodePath::find_all_textures(), FindApproxPath::Component::matches(), NodePath::r_find_texture(), and r_match_files(). |
|
Definition at line 257 of file globPattern.cxx. Referenced by matches_substr(). |
|
Definition at line 178 of file globPattern.cxx. References matches_set(). |
|
|
|
Referenced by operator<<(). |
|
Definition at line 97 of file globPattern.cxx. References _pattern, has_glob_characters(), and matches(). Referenced by match_files(). |
|
|
|
Definition at line 70 of file globPattern.h. Referenced by has_glob_characters(), match_files(), and r_match_files(). |