#include "PTL/Types.hh"
#include <chrono>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <mutex>
#include <set>
#include <sstream>
#include <string>
#include <tuple>
Go to the source code of this file.
|
template<typename Tp > |
using | PTL::EnvChoice = std::tuple< Tp, std::string, std::string > |
|
template<typename Tp > |
using | PTL::EnvChoiceList = std::set< EnvChoice< Tp > > |
|
|
template<typename... Args> |
void | PTL::ConsumeParameters (Args...) |
|
template<typename Tp > |
Tp | PTL::GetEnv (const std::string &env_id, Tp _default=Tp()) |
|
template<> |
bool | PTL::GetEnv (const std::string &env_id, bool _default) |
|
template<typename Tp > |
Tp | PTL::GetEnv (const std::string &env_id, Tp _default, const std::string &msg) |
|
template<typename Tp > |
Tp | PTL::GetEnv (const std::string &env_id, const EnvChoiceList< Tp > &_choices, Tp _default) |
|
template<typename Tp > |
Tp | PTL::GetChoice (const EnvChoiceList< Tp > &_choices, const std::string str_var) |
|
void | PTL::PrintEnv (std::ostream &os=std::cout) |
|