X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Foptions%2Foptionmanagercontainer.h;h=cfecedaa58ab36e4b271e68e3001cf75617b90eb;hb=7a6907d2184cf7bf3ce09e83e9d902f9787a3eb0;hp=860b7a2aac4489bcb22acfda8d7180568b4720b5;hpb=9eb0581bed7c5147f8919ab19a7e2ed55e0e1514;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/options/optionmanagercontainer.h b/src/gromacs/options/optionmanagercontainer.h index 860b7a2aac..cfecedaa58 100644 --- a/src/gromacs/options/optionmanagercontainer.h +++ b/src/gromacs/options/optionmanagercontainer.h @@ -1,7 +1,7 @@ /* * This file is part of the GROMACS molecular simulation package. * - * Copyright (c) 2014, by the GROMACS development team, led by + * Copyright (c) 2014,2015, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, * and including many others, as listed in the AUTHORS file in the * top-level source directory and at http://www.gromacs.org. @@ -51,7 +51,7 @@ namespace gmx { -class OptionManagerInterface; +class IOptionManager; /*! \libinternal * \brief @@ -75,7 +75,7 @@ class OptionManagerContainer bool empty() const { return list_.empty(); } //! Adds a manager to the container. - void add(OptionManagerInterface *manager) + void add(IOptionManager *manager) { list_.push_back(manager); } @@ -83,7 +83,7 @@ class OptionManagerContainer * Retrieves a manager of a certain type. * * \tparam ManagerType Type of manager to retrieve - * (should derive from OptionManagerInterface). + * (should derive from IOptionManager). * \returns The manager, or `NULL` if there is none. * * This method is used in AbstractOption::createStorage() to retrieve @@ -112,7 +112,7 @@ class OptionManagerContainer private: //! Shorthand for the internal container type. - typedef std::vector ListType; + typedef std::vector ListType; ListType list_;