1 #ifndef __JSYSTEM_JGLOB__ 
    2 #define __JSYSTEM_JGLOB__ 
   18 namespace JPP { 
using namespace JSYSTEM; }
 
  104       const int value = glob(pattern.c_str(), GLOB_TILDE, NULL, &
buffer);
 
  113       for(
size_t i = 0; 
i < 
buffer.gl_pathc; ++
i) {
 
  114         this->push_back(
buffer.gl_pathv[
i]);
 
JGlob(const std::string &pattern)
Constructor. 
 
static JGlob getFilenames
Function object to get list of files for given pattern. 
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
 
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.