#ifndef filval_hpp #define filval_hpp #define FILVAL_VERSION_MAJOR @FILVAL_VERSION_MAJOR@ #define FILVAL_VERSION_MINOR @FILVAL_VERSION_MINOR@ #include "value.hpp" #include "container.hpp" #include "dataset.hpp" #include "log.hpp" #include "argparse.hpp" #include "config.hpp" #include "memtrack.hpp" namespace fv { template Value *lookup(const std::string &name) { Value *tv = GenValue::get_value(name); if (tv == nullptr) { CRITICAL("Could not find alias or value \"" << name << "\"." << " I'll tell you the ones I know about." << std::endl << GenValue::summary()); } return tv; } template bool check_exists(const std::string name) { Value *tv = GenValue::get_value(name); return tv != nullptr; } } #endif // filval_hpp