Functions

oct-glob.cc File Reference

#include <algorithm>
#include <string>
#include <fnmatch.h>
#include <glob.h>
#include "oct-glob.h"
#include "file-stat.h"
Include dependency graph for oct-glob.cc:

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)

Function Documentation

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  ) 
static bool single_match_exists ( const std::string &  file  )  [static]

Definition at line 43 of file oct-glob.cc.

References base_file_stat::exists().

Referenced by octave_glob().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines