MeteoIODoc 20240907.dec25e17
mio::PLUGIN Namespace Reference

Functions

std::vector< std::string > getFilesWithPaths (const std::vector< std::string > &vecFilenames, const std::string &inpath, const std::string &dflt_extension)
 Get the file names together with paths and check for validity. More...
 
void scanMeteoPath (const Config &cfg, const std::string &inpath, std::vector< std::string > &vecFilenames, const std::string &pattern)
 

Function Documentation

◆ getFilesWithPaths()

std::vector< std::string > mio::PLUGIN::getFilesWithPaths ( const std::vector< std::string > &  vecFilenames,
const std::string &  inpath,
const std::string &  dflt_extension 
)

Get the file names together with paths and check for validity.

Parameters
vecFilenamesThe vector of filenames to check.
inpathThe input path
dflt_extensionThe extension to add to the filename if it is missing
Returns
std::vector<std::string> The vector of filenames together with paths
Exceptions
InvalidNameExceptionif a filename is invalid

◆ scanMeteoPath()

void mio::PLUGIN::scanMeteoPath ( const Config cfg,
const std::string &  inpath,
std::vector< std::string > &  vecFilenames,
const std::string &  pattern 
)