GNU Octave  4.2.1
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
Namespaces | Functions
oct-glob.cc File Reference
#include <algorithm>
#include <string>
#include "glob-wrappers.h"
#include "oct-glob.h"
#include "file-stat.h"
#include "unwind-prot.h"
Include dependency graph for oct-glob.cc:

Go to the source code of this file.

Namespaces

 octave
 Octave interface to the compression and uncompression libraries.
 
 octave::sys
 

Functions

bool octave::sys::fnmatch (const string_vector &pat, const std::string &str, int fnm_flags)
 
string_vector octave::sys::glob (const string_vector &pat)
 
static bool single_match_exists (const std::string &file)
 
string_vector octave::sys::windows_glob (const string_vector &pat)
 

Function Documentation

static bool single_match_exists ( const std::string file)
static

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

References octave::sys::base_file_stat::exists(), and s.

Referenced by octave::sys::glob(), and octave::sys::windows_glob().