1 #ifndef __JSYSTEM_JGLOB__ 
    2 #define __JSYSTEM_JGLOB__ 
   16 namespace JPP { 
using namespace JSYSTEM; }
 
  100       const int value = glob(pattern.c_str(), GLOB_TILDE | GLOB_BRACE, NULL, &
buffer);
 
  104         for(
size_t i = 0; 
i < 
buffer.gl_pathc; ++
i) {
 
  105           this->push_back(
buffer.gl_pathv[
i]);
 
  110         this->push_back(pattern);
 
JGlob(const std::string &pattern)
Constructor. 
 
static JGlob getFilenames
Function object to get list of files for given pattern. 
 
Auxiliary class to list files. 
 
JGlob()
Default constructor. 
 
const JGlob & operator()(const std::string &pattern)
Get list of files. 
 
const JGlob & operator()(const std::vector< std::string > &buffer)
Get list of files. 
 
JGlob(const std::vector< std::string > &buffer)
Constructor. 
 
void evaluate(const std::string &pattern)
Process pattern.