Flow 1.0.2
Flow project: Full implementation reference.
config_enum_start_cpp.macros.hpp
Go to the documentation of this file.
1/* Flow
2 * Copyright 2023 Akamai Technologies, Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the
5 * "License"); you may not use this file except in
6 * compliance with the License. You may obtain a copy
7 * of the License at
8 *
9 * https://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in
12 * writing, software distributed under the License is
13 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
14 * CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing
16 * permissions and limitations under the License. */
17
18/// @file
19
20/// @cond
21// -^- Doxygen, please ignore the following. This is wacky macro magic and not a regular once-compiled file.
22
23// See config_enum_start_cpp.macros.hpp to see what's going on here. It probably looks pretty weird....
24
25#define FLOW_LOG_CFG_COMPONENT_DEFINE(ARG_name_root, ARG_enum_val) \
26 { FLOW_LOG_CFG_COMPONENT_ENUM_CLASS::S_ ## ARG_name_root, #ARG_name_root },
27const boost::unordered_multimap<FLOW_LOG_CFG_COMPONENT_ENUM_CLASS, std::string>
28 FLOW_LOG_CFG_COMPONENT_ENUM_NAME_MAP
29 ({
30
31// -v- Doxygen, please stop ignoring.
32/// @endcond