source: src/UIElements/GlobalListOfParameterQueries.hpp@ ff4fff9

CombiningParticlePotentialParsing
Last change on this file since ff4fff9 was 37a67f, checked in by Frederik Heber <heber@…>, 10 years ago

Replaced Query.. class and query..() function declarations in Dialog.. by boost preprocessor magic.

  • this removes a lot of copy&paste code.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 * GlobalListOfParameterQueries.hpp
3 *
4 * Created on: May 17, 2015
5 * Author: heber
6 */
7
8#ifndef GLOBALLISTOFPARAMETERQUERIES_HPP_
9#define GLOBALLISTOFPARAMETERQUERIES_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16#define GLOBALLISTOFPARAMETERQUERIES_Token \
17 (Boolean) \
18 (Int) \
19 (Ints) \
20 (UnsignedInt) \
21 (UnsignedInts) \
22 (Double) \
23 (Doubles) \
24 (String) \
25 (Strings) \
26 (Atom) \
27 (Atoms) \
28 (Molecule) \
29 (Molecules) \
30 (Vector) \
31 (Vectors) \
32 (RealSpaceMatrix) \
33 (Element) \
34 (Elements) \
35 (File) \
36 (Files) \
37 (KeyValuePair) \
38 (KeyValuePairs)
39
40#define GLOBALLISTOFPARAMETERQUERIES_Type \
41 (bool) \
42 (int) \
43 (std::vector<int> ) \
44 (unsigned int) \
45 (std::vector<unsigned int> ) \
46 (double) \
47 (std::vector<double> ) \
48 (std::string) \
49 (std::vector<std::string> ) \
50 (const atom *) \
51 (std::vector<const atom *> ) \
52 (const molecule *) \
53 (std::vector<const molecule *> ) \
54 (Vector) \
55 (std::vector<Vector> ) \
56 (RealSpaceMatrix) \
57 (const element *) \
58 (std::vector<const element *> ) \
59 (boost::filesystem::path) \
60 (std::vector<boost::filesystem::path> ) \
61 (KeyValuePair) \
62 (std::vector<KeyValuePair> )
63
64#endif /* GLOBALLISTOFPARAMETERQUERIES_HPP_ */
Note: See TracBrowser for help on using the repository browser.