Ariles
variables.h
Go to the documentation of this file.
1 /**
2  @file
3  @author Alexander Sherikov
4  @copyright 2014-2017 INRIA. Licensed under the Apache License, Version 2.0.
5  (see @ref LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
6  @copyright 2017-2020 Alexander Sherikov, Licensed under the Apache License, Version 2.0.
7  (see @ref LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
8 
9  @brief Inclusion of this file results in generation of functions which
10  read and write entries 'ARILES2_ENTRIES' defined in the including
11  header from / to a configuration file.
12 */
13 
14 
15 #ifndef ARILES_DOXYGEN_PROCESSING
16 public:
17 # ifdef ARILES2_ENTRIES
18 # define ARILES2_TYPED_NAMED_ENTRY(v, type, entry, name) ARILES2_TYPED_NAMED_ENTRY_##v(v, type, entry, name)
19 
20 # define ARILES2_NAMED_ENTRY_members(v, entry, name)
21 # define ARILES2_PARENT_members(v, entry)
22 # define ARILES2_TYPED_NAMED_ENTRY_members(v, type, entry, name) type entry;
23 
24 ARILES2_ENTRIES(members)
25 
26 # undef ARILES2_TYPED_NAMED_ENTRY
27 # endif
28 #endif
#define ARILES2_ENTRIES(v)
Definition: types.h:223