GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <algorithm>
#include <string>
#include <fnmatch.h>
#include <glob.h>
#include "oct-glob.h"
#include "file-stat.h"
Go to the source code of this file.
Functions | |
bool | octave_fnmatch (const string_vector &pat, const std::string &str, int fnmatch_flags) |
string_vector | octave_glob (const string_vector &pat) |
static bool | single_match_exists (const std::string &file) |
bool octave_fnmatch | ( | const string_vector & | pat, |
const std::string & | str, | ||
int | fnmatch_flags | ||
) |
Definition at line 51 of file oct-glob.cc.
References Array< T >::length().
Referenced by glob_match::match().
string_vector octave_glob | ( | const string_vector & | pat | ) |
Definition at line 66 of file oct-glob.cc.
References Array< T >::length(), string_vector::resize(), single_match_exists(), and string_vector::sort().
Referenced by glob_match::glob().
|
static |
Definition at line 43 of file oct-glob.cc.
References base_file_stat::exists().
Referenced by octave_glob().