Project
Loading...
Searching...
No Matches
qconfig_helpers.h File Reference
#include <string>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  qConfig
 

Macros

#define qon_mcat(a, b)   a##b
 
#define qon_mxcat(a, b)   qon_mcat(a, b)
 
#define qon_mcat3(a, b, c)   a##b##c
 
#define qon_mxcat3(a, b, c)   qon_mcat3(a, b, c)
 
#define qon_mstr(a)   #a
 
#define qon_mxstr(a)   qon_mstr(a)
 
#define qon_mexp(...)   __VA_ARGS__
 
#define qon_mxexp(X)   qon_mexp X
 

Functions

template<class T >
std::string qConfig::print_type (T val)
 
template<>
std::string qConfig::print_type< char > (char val)
 
template<>
std::string qConfig::print_type< int8_t > (int8_t val)
 
template<>
std::string qConfig::print_type< uint8_t > (uint8_t val)
 
template<>
std::string qConfig::print_type< bool > (bool val)
 

Detailed Description

Author
David Rohr

Definition in file qconfig_helpers.h.

Macro Definition Documentation

◆ qon_mcat

#define qon_mcat (   a,
  b 
)    a##b

Definition at line 21 of file qconfig_helpers.h.

◆ qon_mcat3

#define qon_mcat3 (   a,
  b,
  c 
)    a##b##c

Definition at line 23 of file qconfig_helpers.h.

◆ qon_mexp

#define qon_mexp (   ...)    __VA_ARGS__

Definition at line 27 of file qconfig_helpers.h.

◆ qon_mstr

#define qon_mstr (   a)    #a

Definition at line 25 of file qconfig_helpers.h.

◆ qon_mxcat

#define qon_mxcat (   a,
  b 
)    qon_mcat(a, b)

Definition at line 22 of file qconfig_helpers.h.

◆ qon_mxcat3

#define qon_mxcat3 (   a,
  b,
  c 
)    qon_mcat3(a, b, c)

Definition at line 24 of file qconfig_helpers.h.

◆ qon_mxexp

#define qon_mxexp (   X)    qon_mexp X

Definition at line 28 of file qconfig_helpers.h.

◆ qon_mxstr

#define qon_mxstr (   a)    qon_mstr(a)

Definition at line 26 of file qconfig_helpers.h.