DDS
ver. 3.4
|
#include <array>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#include <boost/algorithm/string/case_conv.hpp>
#include <boost/program_options/errors.hpp>
Go to the source code of this file.
Namespaces | |
MiscCommon | |
Miscellaneous functions and helpers are located here. | |
Macros | |
#define | _T(s) s |
Use TCHAR instead of char or wchar_t. It will be appropriately translated. More... | |
Typedefs | |
typedef const char * | MiscCommon::LPCTSTR |
Long Pointer to a Constant null-Terminated String. More... | |
typedef std::basic_string< char > | MiscCommon::tstring |
It wraps wchar_t, when _GLIBCPP_USE_WCHAR_T and _UNICODE are defined and char otherwise. More... | |
typedef std::basic_stringstream< char > | MiscCommon::tstringstream |
typedef char | MiscCommon::TCHAR |
Use TCHAR instead of char or wchar_t. It will be appropriately translated. More... | |
typedef const char * | MiscCommon::LPCSTR |
A long pointer to constant string. More... | |
typedef std::set< std::string > | MiscCommon::StringSet_t |
An STL set of strings. More... | |
typedef std::vector< std::string > | MiscCommon::StringVector_t |
An STL vector of strings. More... | |
typedef std::vector< char > | MiscCommon::CHARVector_t |
An STL vector of char(s). More... | |
typedef std::vector< unsigned char > | MiscCommon::BYTEVector_t |
An STL vector of bytes. More... | |
typedef std::map< size_t, std::string > | MiscCommon::UIntStringMap_t |
An STL map, which is mapping pairs of size_t (as a key) and string (as a value). More... | |
typedef std::map< std::string, size_t > | MiscCommon::StringUIntMap_t |
An STL map, which is mapping pairs of string (as a key) and size_t (as a value) More... | |
Enumerations | |
enum | MiscCommon::ELogSeverityLevel { MiscCommon::proto_low, MiscCommon::proto_mid, MiscCommon::proto_high, MiscCommon::debug, MiscCommon::info, MiscCommon::warning, MiscCommon::error, MiscCommon::fatal, MiscCommon::log_stdout, MiscCommon::log_stdout_clean, MiscCommon::log_stderr } |
Log Severity levels. More... | |
Functions | |
std::istream & | MiscCommon::operator>> (std::istream &_in, ELogSeverityLevel &_logSeverityLevel) |
std::ostream & | MiscCommon::operator<< (std::ostream &_out, ELogSeverityLevel _logSeverityLevel) |
Variables | |
const std::array< std::string, 11 > | MiscCommon::g_LogSeverityLevelString |
#define _T | ( | s | ) | s |
Use TCHAR instead of char or wchar_t. It will be appropriately translated.
if _GLIBCPP_USE_WCHAR_T and _UNICODE are correctly defined (or not).