#include <algorithm>#include <string>#include "glob-wrappers.h"#include "oct-glob.h"#include "file-ops.h"#include "file-stat.h"#include "lo-sysdep.h"#include "unwind-prot.h"Go to the source code of this file.
Functions | |
| bool | fnmatch (const string_vector &pat, const std::string &str, int fnm_flags) |
| string_vector | glob (const string_vector &pat) |
| string_vector | windows_glob (const string_vector &pat) |
| bool fnmatch | ( | const string_vector & | pat, |
| const std::string & | str, | ||
| int | fnm_flags | ||
| ) |
Definition at line 58 of file oct-glob.cc.
References string_vector::numel(), octave_fnm_nomatch_wrapper(), and octave_fnmatch_wrapper().
Referenced by octave_fnmatch_wrapper().
| string_vector glob | ( | const string_vector & | pat | ) |
Definition at line 73 of file oct-glob.cc.
References string_vector::numel(), octave_create_glob_info_struct(), octave_destroy_glob_info_struct(), octave_glob_match_list(), octave_glob_nosort_wrapper(), octave_glob_num_matches(), octave_glob_wrapper(), octave_globfree_wrapper(), string_vector::resize(), and string_vector::sort().
Referenced by octave_glob_wrapper().
| string_vector windows_glob | ( | const string_vector & | pat | ) |
Definition at line 231 of file oct-glob.cc.
References len, string_vector::numel(), octave_create_glob_info_struct(), octave_destroy_glob_info_struct(), octave_glob_match_list(), octave_glob_nosort_wrapper(), octave_glob_num_matches(), octave_glob_wrapper(), octave_globfree_wrapper(), string_vector::resize(), string_vector::sort(), and u8_to_wstring().