12 #ifndef HUMOTO_DOXYGEN_PROCESSING 14 #ifdef HUMOTO_USE_CONFIG 18 #ifdef HUMOTO_CONFIG_ENTRIES 19 #define HUMOTO_CONFIG_COMPOUND_(entry) HUMOTO_CONFIG_WRITE_COMPOUND_(entry) 20 #define HUMOTO_CONFIG_COMPOUND(entry) HUMOTO_CONFIG_WRITE_COMPOUND(entry) 22 #define HUMOTO_CONFIG_SCALAR_(entry) HUMOTO_CONFIG_WRITE_SCALAR_(entry) 23 #define HUMOTO_CONFIG_SCALAR(entry) HUMOTO_CONFIG_WRITE_SCALAR(entry) 25 #define HUMOTO_CONFIG_ENUM_(entry) HUMOTO_CONFIG_WRITE_ENUM_(entry) 26 #define HUMOTO_CONFIG_ENUM(entry) HUMOTO_CONFIG_WRITE_ENUM(entry) 28 #define HUMOTO_CONFIG_PARENT_CLASS(entry) HUMOTO_CONFIG_WRITE_PARENT_CLASS(entry) 29 #define HUMOTO_CONFIG_MEMBER_CLASS(entry, name) HUMOTO_CONFIG_WRITE_MEMBER_CLASS(entry, name) 31 template <
class t_Writer>
32 void writeConfigEntriesTemplate(t_Writer & writer)
const 37 #undef HUMOTO_CONFIG_COMPOUND_ 38 #undef HUMOTO_CONFIG_COMPOUND 40 #undef HUMOTO_CONFIG_SCALAR_ 41 #undef HUMOTO_CONFIG_SCALAR 43 #undef HUMOTO_CONFIG_ENUM_ 44 #undef HUMOTO_CONFIG_ENUM 46 #undef HUMOTO_CONFIG_PARENT_CLASS 47 #undef HUMOTO_CONFIG_MEMBER_CLASS 51 #define HUMOTO_CONFIG_COMPOUND_(entry) HUMOTO_CONFIG_READ_COMPOUND_(entry) 52 #define HUMOTO_CONFIG_COMPOUND(entry) HUMOTO_CONFIG_READ_COMPOUND(entry) 54 #define HUMOTO_CONFIG_SCALAR_(entry) HUMOTO_CONFIG_READ_SCALAR_(entry) 55 #define HUMOTO_CONFIG_SCALAR(entry) HUMOTO_CONFIG_READ_SCALAR(entry) 57 #define HUMOTO_CONFIG_ENUM_(entry) HUMOTO_CONFIG_READ_ENUM_(entry) 58 #define HUMOTO_CONFIG_ENUM(entry) HUMOTO_CONFIG_READ_ENUM(entry) 60 #define HUMOTO_CONFIG_PARENT_CLASS(entry) HUMOTO_CONFIG_READ_PARENT_CLASS(entry) 61 #define HUMOTO_CONFIG_MEMBER_CLASS(entry, name) HUMOTO_CONFIG_READ_MEMBER_CLASS(entry, name) 63 template <
class t_Reader>
64 void readConfigEntriesTemplate( t_Reader & reader,
65 const bool crash_on_missing_entry =
false)
71 #undef HUMOTO_CONFIG_COMPOUND_ 72 #undef HUMOTO_CONFIG_COMPOUND 74 #undef HUMOTO_CONFIG_SCALAR_ 75 #undef HUMOTO_CONFIG_SCALAR 77 #undef HUMOTO_CONFIG_ENUM_ 78 #undef HUMOTO_CONFIG_ENUM 80 #undef HUMOTO_CONFIG_PARENT_CLASS 81 #undef HUMOTO_CONFIG_MEMBER_CLASS 87 #ifdef HUMOTO_CONFIG_SECTION_ID 88 const std::string & getConfigSectionID()
const 97 #ifdef HUMOTO_CONFIG_ENTRIES 98 #define HUMOTO_CONFIG_COMPOUND_(entry) +1 99 #define HUMOTO_CONFIG_COMPOUND(entry) +1 101 #define HUMOTO_CONFIG_SCALAR_(entry) +1 102 #define HUMOTO_CONFIG_SCALAR(entry) +1 104 #define HUMOTO_CONFIG_ENUM_(entry) +1 105 #define HUMOTO_CONFIG_ENUM(entry) +1 107 #define HUMOTO_CONFIG_PARENT_CLASS(entry) +entry::getNumberOfEntries() 108 #define HUMOTO_CONFIG_MEMBER_CLASS(entry, name) +1 110 std::size_t getNumberOfEntries()
const 116 #undef HUMOTO_CONFIG_COMPOUND_ 117 #undef HUMOTO_CONFIG_COMPOUND 119 #undef HUMOTO_CONFIG_SCALAR_ 120 #undef HUMOTO_CONFIG_SCALAR 122 #undef HUMOTO_CONFIG_ENUM_ 123 #undef HUMOTO_CONFIG_ENUM 125 #undef HUMOTO_CONFIG_PARENT_CLASS 126 #undef HUMOTO_CONFIG_MEMBER_CLASS 132 #ifdef HUMOTO_CONFIG_CONSTRUCTOR 136 template <
class t_Reader>
139 const std::string &node_name,
140 const bool crash_on_missing_entry = default_crash_on_missing_entry_)
142 readConfig(reader, node_name, crash_on_missing_entry);
145 template <
class t_Reader>
148 const bool crash_on_missing_entry = default_crash_on_missing_entry_)
150 readConfig(reader, crash_on_missing_entry);
156 #ifdef HUMOTO_BRIDGE_config_yaml_DEFINITIONS 160 #ifdef HUMOTO_BRIDGE_config_msgpack_DEFINITIONS 164 #endif //HUMOTO_USE_CONFIG 166 #undef HUMOTO_CONFIG_SECTION_ID 167 #undef HUMOTO_CONFIG_CONSTRUCTOR 168 #undef HUMOTO_CONFIG_ENTRIES #define HUMOTO_CONFIG_ENTRIES
#define HUMOTO_MACRO_SUBSTITUTE(arg)
#define HUMOTO_CONFIG_CONSTRUCTOR
#define HUMOTO_BRIDGE_config_yaml_DEFINITIONS
#define HUMOTO_CONFIG_SECTION_ID
#define HUMOTO_BRIDGE_config_msgpack_DEFINITIONS