16 #pragma clang diagnostic push 17 #pragma clang diagnostic ignored "-Wunused-local-typedef" 18 #include <boost/algorithm/string/case_conv.hpp> 19 #pragma clang diagnostic pop 20 #include <boost/program_options/errors.hpp> 25 #if defined(_GLIBCPP_USE_WCHAR_T) && defined(_UNICODE) 40 typedef std::basic_string<wchar_t>
tstring;
59 typedef wchar_t TCHAR;
159 {
"p_l",
"p_m",
"p_h",
"dbg",
"inf",
"wrn",
"err",
"fat",
"cout",
"cout",
"cerr" }
171 throw boost::program_options::invalid_option_value(token);
179 const size_t idx = static_cast<size_t>(_logSeverityLevel);
ELogSeverityLevel
Log Severity levels.
Definition: def.h:144
std::vector< std::string > StringVector_t
An STL vector of strings.
Definition: def.h:115
_T & to_lower(_T &_str)
convert string to lower case.
Definition: MiscUtils.h:249
std::istream & operator>>(std::istream &_in, ELogSeverityLevel &_logSeverityLevel)
Definition: def.h:163
std::ostream & operator<<(std::ostream &_out, ELogSeverityLevel _logSeverityLevel)
Definition: def.h:177
const std::array< std::string, 11 > g_LogSeverityLevelString
Definition: def.h:158
std::basic_stringstream< char > tstringstream
Definition: def.h:77
const char * LPCSTR
A long pointer to constant string.
Definition: def.h:103
char TCHAR
Use TCHAR instead of char or wchar_t. It will be appropriately translated.
Definition: def.h:94
std::vector< char > CHARVector_t
An STL vector of char(s).
Definition: def.h:121
std::map< size_t, std::string > UIntStringMap_t
An STL map, which is mapping pairs of size_t (as a key) and string (as a value).
Definition: def.h:134
std::map< std::string, size_t > StringUIntMap_t
An STL map, which is mapping pairs of string (as a key) and size_t (as a value)
Definition: def.h:141
const char * LPCTSTR
Long Pointer to a Constant null-Terminated String.
Definition: def.h:69
std::vector< unsigned char > BYTEVector_t
An STL vector of bytes.
Definition: def.h:127
std::basic_string< char > tstring
It wraps wchar_t, when _GLIBCPP_USE_WCHAR_T and _UNICODE are defined and char otherwise.
Definition: def.h:76
std::set< std::string > StringSet_t
An STL set of strings.
Definition: def.h:109
Miscellaneous functions and helpers are located here.
Definition: BOOST_FILESYSTEM.h:21