45 static std::ostream&
error_msg(
const char *);
51 static bool real_path(std::string&,
bool ignore_errors);
62 Tokenizer(
const std::string& s,
const char * separator);
63 const std::string
next();
64 bool next(std::string&);
86# include <boost/date_time/posix_time/posix_time_types.hpp>
87# include <boost/date_time/posix_time/time_formatters.hpp>
88# define OSK_VERBOSE_REPORT(MSG) if(p_verbose) { boost::posix_time::ptime now = boost::posix_time::second_clock::universal_time(); std::cout << "[OKS " << boost::posix_time::to_simple_string(now) << "]: " << MSG << std::endl; std::cout.flush();}
90# define OSK_VERBOSE_REPORT(MSG) ;
97# define OSK_PROFILING(FID, K) OksFunctionProfiler yyy(FID, K);
99# define OSK_PROFILING(FID, K) ;
std::string::size_type p_idx
const char * p_delimeters
Tokenizer(const std::string &s, const char *separator)
static std::string s_empty
Class contains common OKS classes and methods.
static std::ostream & warning_msg(const std::string &s)
static std::ostream & error_msg(const std::string &s)
static void substitute_variables(std::string &)
static std::ostream & warning_msg(const char *)
static bool real_path(std::string &, bool ignore_errors)
static std::ostream & error_msg(const char *)
const std::string strerror(int error)
Convert C error number to string.
Factory couldn t std::string alg_name Invalid configuration error