Use exceptions in selection evaluation.
authorTeemu Murtola <teemu.murtola@cbr.su.se>
Thu, 8 Sep 2011 15:37:48 +0000 (18:37 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Sat, 3 Dec 2011 19:05:20 +0000 (21:05 +0200)
commit7d0ac5e56cc57adb24f0be1f73b9a8377a88cbb7
treefc595e11934840098a1331a50586442ea642ce6c
parente77c7f06fc966636f45ed481c625c58bd7a14f7d
Use exceptions in selection evaluation.

Converted also the rest of selection compilation, because it internally
uses the evaluation engine.

Will add some unit tests for error conditions in a subsequent commit.

Part of task #655.

Change-Id: I7f3fc705888a02a7cd99e46952129996ee49e4cc
26 files changed:
share/template/template.cpp
src/gromacs/selection/compiler.cpp
src/gromacs/selection/evaluate.cpp
src/gromacs/selection/evaluate.h
src/gromacs/selection/mempool.cpp
src/gromacs/selection/mempool.h
src/gromacs/selection/nbsearch.cpp
src/gromacs/selection/nbsearch.h
src/gromacs/selection/selectioncollection-impl.h
src/gromacs/selection/selectioncollection.cpp
src/gromacs/selection/selectioncollection.h
src/gromacs/selection/selelem.cpp
src/gromacs/selection/selelem.h
src/gromacs/selection/selmethod.h
src/gromacs/selection/sm_compare.cpp
src/gromacs/selection/sm_distance.cpp
src/gromacs/selection/sm_insolidangle.cpp
src/gromacs/selection/sm_keywords.cpp
src/gromacs/selection/sm_merge.cpp
src/gromacs/selection/sm_permute.cpp
src/gromacs/selection/sm_position.cpp
src/gromacs/selection/sm_same.cpp
src/gromacs/selection/sm_simple.cpp
src/gromacs/selection/tests/selectioncollection.cpp
src/gromacs/trajectoryanalysis/cmdlinerunner.cpp
src/gromacs/trajectoryanalysis/nbsearch.h