|
roadrunner
2.6.0
Fast simulator for SBML models
|
This class is frozen, no new features Basic implementation of the Dictionary interface which uses a std unordered std::map to store the values. More...
#include <Dictionary.h>
Public Types | |
| using | item = std::pair< std::string, Setting > |
Public Member Functions | |
| BasicDictionary (std::initializer_list< item > initializerList) | |
| void | setItem (const std::string &key, const rr::Setting &value) override |
| sets an item in the internal unordered std::map. | |
| Setting | getItem (const std::string &key) const override |
| gets an item from the internal unordered std::map. | |
| bool | hasKey (const std::string &key) const override |
| is there a key matching this name. More... | |
| size_t | deleteItem (const std::string &key) override |
| remove a value | |
| std::vector< std::string > | getKeys () const override |
| list of keys in this object. | |
| ~BasicDictionary () override=default | |
| Pure virtual interface, you should never have to delete an instance of this type directly. | |
Public Member Functions inherited from rr::Dictionary | |
| virtual | ~Dictionary () |
| Pure virtual interface, you should never have to delete an instance of this type directly. | |
Protected Types | |
| typedef std::unordered_map< std::string, Setting > | VariantMap |
Protected Attributes | |
| VariantMap | items |
This class is frozen, no new features Basic implementation of the Dictionary interface which uses a std unordered std::map to store the values.
|
overridevirtual |
is there a key matching this name.
@retruns true if this key exists, false otherwise.
Implements rr::Dictionary.
Reimplemented in rr::LoadSBMLOptions.