ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ScriptInterface::Interactions::BondedInteractions Class Reference

#include <BondedInteractions.hpp>

+ Inheritance diagram for ScriptInterface::Interactions::BondedInteractions:
+ Collaboration diagram for ScriptInterface::Interactions::BondedInteractions:

Public Types

using key_type = typename Base::key_type
 
using mapped_type = typename Base::mapped_type
 
- Public Types inherited from ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >
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 &params) override
 
Variant do_call_method (std::string const &name, VariantMap const &params) override
 
- Public Member Functions inherited from ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >
 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 constelements () 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

- Protected Member Functions inherited from ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >
void do_destruct ()
 
Variant do_call_method (std::string const &method, VariantMap const &parameters) override
 
void restore_from_checkpoint (VariantMap const &params)
 
key_type get_key (Variant const &key) const
 

Detailed Description

Definition at line 46 of file BondedInteractions.hpp.

Member Typedef Documentation

◆ key_type

◆ mapped_type

Constructor & Destructor Documentation

◆ ~BondedInteractions()

ScriptInterface::Interactions::BondedInteractions::~BondedInteractions ( )
inlineoverride

Member Function Documentation

◆ do_call_method()

◆ do_construct()

void ScriptInterface::Interactions::BondedInteractions::do_construct ( VariantMap const params)
inlineoverridevirtual

◆ erase_in_core()

void ScriptInterface::Interactions::BondedInteractions::erase_in_core ( key_type const key)
inlinefinalprivatevirtual

◆ insert_in_core() [1/2]

void ScriptInterface::Interactions::BondedInteractions::insert_in_core ( key_type const key,
mapped_type const obj_ptr 
)
inlineoverrideprivatevirtual

◆ insert_in_core() [2/2]

key_type ScriptInterface::Interactions::BondedInteractions::insert_in_core ( mapped_type const obj_ptr)
inlineoverrideprivatevirtual

◆ on_bind_system()

void ScriptInterface::Interactions::BondedInteractions::on_bind_system ( ::System::System system)
inlineoverrideprivate

The documentation for this class was generated from the following file: