Move Options::setDescription() elsewhere
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 17 Jul 2015 04:05:53 +0000 (07:05 +0300)
committerRoland Schulz <roland@rschulz.eu>
Sat, 18 Jul 2015 07:07:16 +0000 (09:07 +0200)
commit8a2526894f17be3f183282c22d9c20d32a959630
tree300bb06b7ed27871e3b71dfb90bae8b570c165de
parent7a6907d2184cf7bf3ce09e83e9d902f9787a3eb0
Move Options::setDescription() elsewhere

Pass the help text for programs using other means, clarifying
responsibilities in the code.  Now Options is closer to being just a
container of options.  Further refactoring to follow.

Change-Id: I398ebef7884d88111ab1bddcd9397882835b39b4
28 files changed:
share/template/template.cpp
src/gromacs/commandline/cmdlinehelpmodule.cpp
src/gromacs/commandline/cmdlinehelpwriter.cpp
src/gromacs/commandline/cmdlinehelpwriter.h
src/gromacs/commandline/cmdlineoptionsmodule.cpp
src/gromacs/commandline/cmdlineoptionsmodule.h
src/gromacs/commandline/pargs.cpp
src/gromacs/commandline/tests/cmdlinehelpmodule.cpp
src/gromacs/commandline/tests/cmdlinehelpwriter.cpp
src/gromacs/commandline/tests/cmdlinemodulemanagertest.h
src/gromacs/commandline/tests/refdata/CommandLineHelpWriterTest_HandlesHelpText.xml [new file with mode: 0644]
src/gromacs/commandline/tests/refdata/CommandLineHelpWriterTest_HandlesMultipleSections.xml [deleted file]
src/gromacs/gmxpreprocess/insert-molecules.cpp
src/gromacs/options/options-impl.h
src/gromacs/options/options.cpp
src/gromacs/options/options.h
src/gromacs/trajectoryanalysis/analysissettings-impl.h
src/gromacs/trajectoryanalysis/analysissettings.cpp
src/gromacs/trajectoryanalysis/analysissettings.h
src/gromacs/trajectoryanalysis/cmdlinerunner.cpp
src/gromacs/trajectoryanalysis/modules/angle.cpp
src/gromacs/trajectoryanalysis/modules/distance.cpp
src/gromacs/trajectoryanalysis/modules/freevolume.cpp
src/gromacs/trajectoryanalysis/modules/pairdist.cpp
src/gromacs/trajectoryanalysis/modules/rdf.cpp
src/gromacs/trajectoryanalysis/modules/sasa.cpp
src/gromacs/trajectoryanalysis/modules/select.cpp
src/gromacs/trajectoryanalysis/tests/test_selection.cpp