GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions File Reference
#include <algorithm>
#include <string>
#include <fnmatch.h>
#include <glob.h>
#include "oct-glob.h"
#include "file-stat.h"
Include dependency graph for

Go to the source code of this file.


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)

Function Documentation

bool octave_fnmatch ( const string_vector pat,
const std::string &  str,
int  fnmatch_flags 

Definition at line 51 of file

References Array< T >::length().

Referenced by glob_match::match().

string_vector octave_glob ( const string_vector pat)
static bool single_match_exists ( const std::string &  file)

Definition at line 43 of file

References base_file_stat::exists().

Referenced by octave_glob().