Berkeley Nuclear Data Software
Public Member Functions | Static Public Member Functions | List of all members
EZFileSystem Class Reference

#include <EZFileSystem.h>

Public Member Functions

void test ()
 

Static Public Member Functions

static std::string cwd ()
 
static void mkSubDir (std::string a_dirName)
 this function makes a subdiretory within the runtime directory with More...
 
static std::vector< std::string > getFileListWithExt (std::string a_directory, std::string a_ext)
 
static std::vector< std::string > getFileListRWithExt (std::string a_directory, std::string a_ext)
 
static std::vector< std::string > getFileListRWithExtCont (std::string a_directory, std::string a_ext, std::string a_cont)
 

Detailed Description

this class is intended to contain algorithms relavent for file list construction and directory parsing. It's a class as opposed to a namespace due to ROOT's cint limitations

Member Function Documentation

◆ cwd()

std::string EZFileSystem::cwd ( )
static
Here is the caller graph for this function:

◆ getFileListRWithExt()

std::vector< std::string > EZFileSystem::getFileListRWithExt ( std::string  a_directory,
std::string  a_ext 
)
static

this function returns a list of files in a given directory matching where the last n characters of the filename match the specified extension this searches recursively

Here is the caller graph for this function:

◆ getFileListRWithExtCont()

std::vector< std::string > EZFileSystem::getFileListRWithExtCont ( std::string  a_directory,
std::string  a_ext,
std::string  a_cont 
)
static

this function returns a list of files in a given directory matching where the last n characters of the filename match the specified extension which cont this searches recursively

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFileListWithExt()

std::vector< std::string > EZFileSystem::getFileListWithExt ( std::string  a_directory,
std::string  a_ext 
)
static

this function returns a list of files in a given directory matching where the last n characters of the filename match the specified extension this does not recurse the directory structurej

this function returns a list of files in a given directory matching where the last n characters of the filename match the specified extension this does not parse the directory structurej

Here is the caller graph for this function:

◆ mkSubDir()

void EZFileSystem::mkSubDir ( std::string  a_dirName)
static

this function makes a subdiretory within the runtime directory with

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test()

void EZFileSystem::test ( )

The documentation for this class was generated from the following files: