DDS
ver. 3.6
|
#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 | |
dds | |
Miscellaneous functions and helpers are located here. | |
dds::misc | |
Macros | |
#define | _T(s) s |
Use TCHAR instead of char or wchar_t. It will be appropriately translated. More... | |
Typedefs | |
typedef const char * | dds::misc::LPCTSTR |
Long Pointer to a Constant null-Terminated String. More... | |
typedef std::basic_string< char > | dds::misc::tstring |
It wraps wchar_t, when _GLIBCPP_USE_WCHAR_T and _UNICODE are defined and char otherwise. More... | |
typedef std::basic_stringstream< char > | dds::misc::tstringstream |
typedef char | dds::misc::TCHAR |
Use TCHAR instead of char or wchar_t. It will be appropriately translated. More... | |
typedef const char * | dds::misc::LPCSTR |
A long pointer to constant string. More... | |
typedef std::set< std::string > | dds::misc::StringSet_t |
An STL set of strings. More... | |
typedef std::vector< std::string > | dds::misc::StringVector_t |
An STL vector of strings. More... | |
typedef std::vector< char > | dds::misc::CHARVector_t |
An STL vector of char(s). More... | |
typedef std::vector< unsigned char > | dds::misc::BYTEVector_t |
An STL vector of bytes. More... | |
typedef std::map< size_t, std::string > | dds::misc::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 > | dds::misc::StringUIntMap_t |
An STL map, which is mapping pairs of string (as a key) and size_t (as a value) More... | |
Enumerations | |
enum | dds::misc::ELogSeverityLevel { dds::misc::proto_low, dds::misc::proto_mid, dds::misc::proto_high, dds::misc::debug, dds::misc::info, dds::misc::warning, dds::misc::error, dds::misc::fatal, dds::misc::log_stdout, dds::misc::log_stdout_clean, dds::misc::log_stderr } |
Log Severity levels. More... | |
Functions | |
std::istream & | dds::misc::operator>> (std::istream &_in, ELogSeverityLevel &_logSeverityLevel) |
std::ostream & | dds::misc::operator<< (std::ostream &_out, ELogSeverityLevel _logSeverityLevel) |
Variables | |
const std::array< std::string, 11 > | dds::misc::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).