Sleeping Wombat Common Library  0.50.0
swCommonLibrary
ConfigHelper.h
Go to the documentation of this file.
1 #pragma once
2 
18 #define DEFINE_CONFIG_VALUE_DEFAULT( type, name, defaultValue ) \
19 private: \
20  type m_##name = defaultValue; \
21 public: \
22  type name () const { return m_##name ; }
23 
24 
25 #define DEFINE_CONFIG_VALUE( type, name ) \
26 private: \
27  type m_##name; \
28 public: \
29  type name () const { return m_##name ; }
30 
31