1 #ifndef __JSYSTEM_JGLOB__ 
    2 #define __JSYSTEM_JGLOB__ 
   18 namespace JPP { 
using namespace JSYSTEM; }
 
   42     JGlob(
const std::string& pattern)
 
   60       const int value = glob(pattern.c_str(), GLOB_TILDE, NULL, &
buffer);
 
   69       for(
size_t i = 0; i < 
buffer.gl_pathc; ++i) {
 
   70         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.