Handle SelectionParserParameter as a value type.
authorTeemu Murtola <teemu.murtola@gmail.com>
Thu, 23 Aug 2012 03:24:07 +0000 (06:24 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Tue, 28 Aug 2012 03:42:54 +0000 (06:42 +0300)
commit64a06b73929e1be6a713815ce9e3fe9a600d17db
treea62900f92beb7a972e7fdea5a63a9151fe602f6a
parent3e234326f36ffb5f05fa67784d257399a4bdf264
Handle SelectionParserParameter as a value type.

Now that SelectionParserValue is also a C++ object, it is
straightforward to treat SelectionParserParameter as a (movable, but not
copyable) value type instead of storing it through a smart pointer in a
container.  Leads to more consistent and less complex code.

Related to #655 and #880.

Change-Id: I377bac05b1bd990ad95b38887f0f7b825bf0a805
src/gromacs/selection/params.cpp
src/gromacs/selection/parser.cpp
src/gromacs/selection/parser.h
src/gromacs/selection/parser.y
src/gromacs/selection/parser_internal.h
src/gromacs/selection/parsetree.h
src/gromacs/selection/sm_same.cpp