Option parsing through SelectionOptionManager.
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 19 May 2012 04:58:34 +0000 (07:58 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Sat, 19 May 2012 04:58:34 +0000 (07:58 +0300)
commit4a37ce5ea1ecc9f21321d0c46213ffe06b91d3b9
treef87e02a7ff2c6f948b07339f5c9155206840aa1a
parent3db13af1e40718c6289903cd91c1a40b32291741
Option parsing through SelectionOptionManager.

Make the rest of interaction between selection option implementation and
SelectionCollection go through SelectionOptionManager, i.e., make
SelectionOptionStorage::convertValue() call a method in
SelectionOptionManager instead of exposing the SelectionCollection
directly.  Cleans up the design a bit.  Also some include clean-up.

Change-Id: I60208a6de4c0f1dd5f89e7728f1e4ce4663c8c7b
src/gromacs/selection/selectionoption.cpp
src/gromacs/selection/selectionoptionmanager.cpp
src/gromacs/selection/selectionoptionmanager.h
src/gromacs/selection/selectionoptionstorage.h
src/gromacs/selection/tests/selectioncollection.cpp