MarlinMT
0.1.0
|
Classes | |
struct | convert |
struct | convert< bool > |
struct | convert< std::string > |
struct | convert< std::vector< std::string > > |
struct | convert< std::vector< T > > |
struct | type_info |
struct | type_info< bool > |
struct | type_info< char > |
struct | type_info< double > |
struct | type_info< float > |
struct | type_info< int > |
struct | type_info< short > |
struct | type_info< std::nullptr_t > |
struct | type_info< std::string > |
struct | type_info< std::vector< bool > > |
struct | type_info< std::vector< char > > |
struct | type_info< std::vector< double > > |
struct | type_info< std::vector< float > > |
struct | type_info< std::vector< int > > |
struct | type_info< std::vector< short > > |
struct | type_info< std::vector< std::string > > |
struct | type_info< std::vector< unsigned int > > |
struct | type_info< unsigned int > |
Functions | |
template<typename T > | |
std::vector< T > | split_string (const std::string &str, const std::string &delimiter, size_t maxTokens=std::numeric_limits< std::size_t >::max()) |
template<> | |
std::vector< std::string > | split_string (const std::string &str, const std::string &delimiter, size_t maxTokens) |
template<typename K , typename V > | |
std::vector< K > | keys (const std::map< K, V > &m) |
template<typename K , typename V > | |
std::vector< K > | keys (const std::unordered_map< K, V > &m) |
template<typename K , typename V > | |
std::vector< K > | keys (const std::vector< std::pair< K, V >> &m) |
bool | is_number (const std::string &str) |
unsigned int | nthreads (const std::string &str) |
void | to_lower (std::string &str) |
template<typename T > | |
T | getenv (const std::string &var) |
template<typename T > | |
T | getenv (const std::string &var, const T &defVal) |
void | print_banner (std::ostream &out) |
|
inline |
Definition at line 599 of file Utils.h.
References marlinmt::details::convert< T >::from_string(), getenv(), and MARLINMT_THROW.
|
inline |
Definition at line 610 of file Utils.h.
References marlinmt::details::convert< T >::from_string().
Referenced by getenv().
|
inline |
Definition at line 574 of file Utils.h.
Referenced by nthreads().
|
inline |
Definition at line 539 of file Utils.h.
Referenced by marlinmt::XMLConfigWriter::createParameterSection(), marlinmt::PluginManager::pluginNames(), marlinmt::LCIOOutputProcessor::processRunHeader(), and marlinmt::Configuration::sections().
|
inline |
|
inline |
|
inline |
Definition at line 580 of file Utils.h.
References marlinmt::details::convert< T >::from_string(), is_number(), and MARLINMT_THROW.
Referenced by marlinmt::BookStoreManager::bookHist(), marlinmt::CmdLineParser::parse(), and marlinmt::concurrency::PEPScheduler::preConfigure().
|
inline |
Definition at line 620 of file Utils.h.
References MARLINMT_RELEASE.
Referenced by marlinmt::Application::init().
|
inline |
Definition at line 487 of file Utils.h.
References MARLINMT_THROW.
|
inline |
Definition at line 513 of file Utils.h.
References MARLINMT_THROW.
|
inline |
Definition at line 592 of file Utils.h.
Referenced by marlinmt::BookStoreManager::initialize().