#include "glob-match.h"
Public Types | |
| enum | opts { pathname = 1 , noescape = 2 , period = 4 } |
Public Member Functions | |
| glob_match (const glob_match &gm)=default | |
| glob_match (const std::string &p, unsigned int xopts=pathname|noescape|period) | |
| glob_match (const string_vector &p=string_vector(), unsigned int xopts=pathname|noescape|period) | |
| ~glob_match ()=default | |
| string_vector | glob () const |
| bool | match (const std::string &str) const |
| Array< bool > | match (const string_vector &str) const |
| glob_match & | operator= (const glob_match &gm)=default |
| void | set_pattern (const std::string &p) |
| void | set_pattern (const string_vector &p) |
Definition at line 36 of file glob-match.h.
| enum glob_match::opts |
| Enumerator | |
|---|---|
| pathname | |
| noescape | |
| period | |
Definition at line 40 of file glob-match.h.
|
inline |
Definition at line 47 of file glob-match.h.
|
inline |
Definition at line 52 of file glob-match.h.
|
default |
|
default |
| string_vector glob_match::glob | ( | ) | const |
Definition at line 41 of file glob-match.cc.
Referenced by F__ftp_mput__(), Fglob(), and xzip().
| bool glob_match::match | ( | const std::string & | str | ) | const |
Definition at line 35 of file glob-match.cc.
Referenced by F__fnmatch__(), and F__ftp_mget__().
|
inline |
Definition at line 69 of file glob-match.h.
References string_vector::numel().
|
default |
|
inline |
Definition at line 63 of file glob-match.h.
|
inline |
Definition at line 65 of file glob-match.h.