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 'ARILES_ENTRIES' defined in the including
11  header from / to a configuration file.
12 */
13 
14 
15 #ifndef ARILES_DOXYGEN_PROCESSING
16 public:
17 # ifdef ARILES_ENTRIES
18 # define ARILES_NAMED_ENTRY(entry, name)
19 # define ARILES_PARENT(entry)
20 # define ARILES_TYPED_NAMED_ENTRY(type, entry, name) type entry;
21 
23 
24 # undef ARILES_NAMED_ENTRY
25 # undef ARILES_PARENT
26 # undef ARILES_TYPED_NAMED_ENTRY
27 
28 # define ARILES_TYPED_NAMED_ENTRY(type, entry, name) ARILES_NAMED_ENTRY(entry, name)
29 # endif
30 #endif
#define ARILES_ENTRIES