#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 42 of file glob-match.h.
|
inline |
Definition at line 49 of file glob-match.h.
|
inline |
Definition at line 54 of file glob-match.h.
|
default |
|
default |
string_vector glob_match::glob | ( | ) | const |
Definition at line 41 of file glob-match.cc.
References glob().
Referenced by octave::F__ftp_mput__(), and octave::Fglob().
bool glob_match::match | ( | const std::string & | str | ) | const |
Definition at line 35 of file glob-match.cc.
References fnmatch().
Referenced by octave::F__fnmatch__(), and octave::F__ftp_mget__().
|
inline |
Definition at line 71 of file glob-match.h.
References n, and string_vector::numel().
|
default |
|
inline |
Definition at line 65 of file glob-match.h.
|
inline |
Definition at line 67 of file glob-match.h.