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;
octave_idx_type numel(void) const
Number of elements in the array.
Array< bool > match(const string_vector &str) const
void set_pattern(const string_vector &p)
glob_match(const string_vector &p=string_vector(), unsigned int xopts=pathname|noescape|period)
glob_match(const std::string &p, unsigned int xopts=pathname|noescape|period)
=val(i)}if ode{val(i)}occurs in table i
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)