#include <string>
#include <list>
#include <iostream>
#include <pcre.h>
#include <epicsExport.h>
#include <utilities.h>
Go to the source code of this file.
Functions | |
epicsShareFunc int | getFileList (const std::string &dirBase, std::list< std::string > &files) |
returns -1 if unable to open directory, else number of items in directory More... | |
epicsShareFunc int | filterList (std::list< std::string > &items, const std::string ®ex) |
epicsShareFunc int filterList | ( | std::list< std::string > & | items, |
const std::string & | regex | ||
) |
Definition at line 44 of file FileList.cpp.
epicsShareFunc int getFileList | ( | const std::string & | dirBase, |
std::list< std::string > & | files | ||
) |
returns -1 if unable to open directory, else number of items in directory
Definition at line 11 of file FileList.cpp.
References closedir(), dirent::d_name, opendir(), and readdir().