![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <BondedInteractions.hpp>
Public Types | |
using | key_type = typename Base::key_type |
using | mapped_type = typename Base::mapped_type |
![]() | |
using | Base = ObjectContainer< ObjectMap, ManagedType, BaseType > |
using | key_type = KeyType |
using | mapped_type = std::shared_ptr< ManagedType > |
using | container_type = std::unordered_map< key_type, mapped_type > |
Public Member Functions | |
~BondedInteractions () override | |
void | do_construct (VariantMap const ¶ms) override |
Variant | do_call_method (std::string const &name, VariantMap const ¶ms) override |
![]() | |
ObjectMap () | |
~ObjectMap () override | |
void | insert (key_type const &key, mapped_type const &element) |
Add an element to the map. | |
key_type | insert (mapped_type const &element) |
Add an element to the map. | |
void | erase (key_type const &key) |
Removes all occurrences of an element from the map. | |
auto const & | elements () const |
Map elements. | |
void | clear () |
Clear the map. | |
Private Member Functions | |
void | on_bind_system (::System::System &system) override |
key_type | insert_in_core (mapped_type const &obj_ptr) override |
void | insert_in_core (key_type const &key, mapped_type const &obj_ptr) override |
void | erase_in_core (key_type const &key) final |
Additional Inherited Members | |
![]() | |
void | do_destruct () |
Variant | do_call_method (std::string const &method, VariantMap const ¶meters) override |
void | restore_from_checkpoint (VariantMap const ¶ms) |
key_type | get_key (Variant const &key) const |
Definition at line 46 of file BondedInteractions.hpp.
Definition at line 50 of file BondedInteractions.hpp.
Definition at line 51 of file BondedInteractions.hpp.
|
inlineoverride |
Definition at line 58 of file BondedInteractions.hpp.
References ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >::do_destruct().
|
inlineoverride |
Definition at line 92 of file BondedInteractions.hpp.
References ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >::do_call_method(), ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >::elements(), ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >::get_key(), ScriptInterface::get_value(), and params.
|
inlineoverridevirtual |
Implements ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >.
Definition at line 60 of file BondedInteractions.hpp.
References params.
|
inlinefinalprivatevirtual |
Implements ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >.
Definition at line 89 of file BondedInteractions.hpp.
References ScriptInterface::get_value().
|
inlineoverrideprivatevirtual |
Implements ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >.
Definition at line 83 of file BondedInteractions.hpp.
References ScriptInterface::get_value().
|
inlineoverrideprivatevirtual |
Implements ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >.
Definition at line 76 of file BondedInteractions.hpp.
References ScriptInterface::get_value().
|
inlineoverrideprivate |
Definition at line 66 of file BondedInteractions.hpp.
References ScriptInterface::get_value(), and ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >::restore_from_checkpoint().