23 #if ! defined (octave_glob_match_h) 24 #define octave_glob_match_h 1 26 #include "octave-config.h" 47 unsigned int xopts = pathname | noescape | period)
48 : pat (
p), fnmatch_flags (opts_to_fnmatch_flags (xopts)) { }
51 unsigned int xopts = pathname | noescape | period)
52 : pat (
p), fnmatch_flags (opts_to_fnmatch_flags (xopts)) { }
55 : pat (gm.pat), fnmatch_flags (gm.fnmatch_flags) { }
81 for (
int i = 0;
i < n;
i++)
100 int opts_to_fnmatch_flags (
unsigned int xopts)
const;
void set_pattern(const string_vector &p)
glob_match(const string_vector &p=string_vector(), unsigned int xopts=pathname|noescape|period)
Array< bool > match(const string_vector &str) const
glob_match(const std::string &p, unsigned int xopts=pathname|noescape|period)
void set_pattern(const std::string &p)
glob_match(const glob_match &gm)
Vector representing the dimensions (size) of an Array.
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
string_vector glob(const string_vector &pat)