![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <BreakageSpecs.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 | |
~BreakageSpecs () override | |
void | do_construct (VariantMap const ¶ms) override |
Variant | do_call_method (std::string const &name, VariantMap const ¶meters) 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 &) 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 41 of file BreakageSpecs.hpp.
Definition at line 45 of file BreakageSpecs.hpp.
Definition at line 46 of file BreakageSpecs.hpp.
|
inlineoverride |
Definition at line 52 of file BreakageSpecs.hpp.
References ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >::do_destruct().
|
inlineoverride |
Definition at line 58 of file BreakageSpecs.hpp.
References ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >::do_call_method(), and ScriptInterface::get_value().
|
inlineoverridevirtual |
Implements ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >.
Definition at line 54 of file BreakageSpecs.hpp.
References params, and ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >::restore_from_checkpoint().
|
inlinefinalprivatevirtual |
Implements ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >.
Definition at line 84 of file BreakageSpecs.hpp.
References ScriptInterface::get_value().
|
inlineoverrideprivatevirtual |
Implements ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >.
Definition at line 80 of file BreakageSpecs.hpp.
References ScriptInterface::get_value().
|
inlineoverrideprivatevirtual |
Implements ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >.
Definition at line 73 of file BreakageSpecs.hpp.
|
inlineoverrideprivate |
Definition at line 69 of file BreakageSpecs.hpp.
References ScriptInterface::get_value().