Use Variants for Simulation::Input module parameters (#202)
* This way the chance of using the incorrect parameter is reduced, as errors will be created on access
Showing
- include/bbp/sonata/config.h 67 additions, 6 deletionsinclude/bbp/sonata/config.h
- include/bbp/sonata/variant.hpp 3738 additions, 0 deletionsinclude/bbp/sonata/variant.hpp
- python/bindings.cpp 147 additions, 74 deletionspython/bindings.cpp
- python/generated/docstrings.h 85 additions, 49 deletionspython/generated/docstrings.h
- python/tests/test.py 41 additions, 3 deletionspython/tests/test.py
- src/config.cpp 226 additions, 153 deletionssrc/config.cpp
- tests/data/config/simulation_config.json 27 additions, 0 deletionstests/data/config/simulation_config.json
- tests/test_config.cpp 176 additions, 32 deletionstests/test_config.cpp
Please register or sign in to comment