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 container_type::key_type
 
using mapped_type = typename container_type::mapped_type
 
- Public Types inherited from ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >
using Base = ObjectContainer< ObjectMap, ManagedType, BaseType >
 

Public Member Functions

Variant do_call_method (std::string const &name, VariantMap const &params) override
 
- Public Member Functions inherited from ScriptInterface::ObjectMap< ManagedType, BaseType, KeyType >
 ObjectMap ()
 
void insert (KeyType const &key, std::shared_ptr< ManagedType > const &element)
 Add an element to the map.
 
KeyType insert (std::shared_ptr< ManagedType > const &element)
 Add an element to the map.
 
void erase (KeyType 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 do_construct (VariantMap const &params) override
 
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) override
 

Additional Inherited Members

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

Detailed Description

Definition at line 46 of file BondedInteractions.hpp.

Member Typedef Documentation

◆ key_type

◆ mapped_type

Member Function Documentation

◆ do_call_method()

Variant ScriptInterface::Interactions::BondedInteractions::do_call_method ( std::string const name,
VariantMap const params 
)
inlineoverride

◆ do_construct()

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

◆ erase_in_core()

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

Definition at line 90 of file BondedInteractions.hpp.

References ScriptInterface::get_value().

◆ insert_in_core() [1/2]

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

Definition at line 83 of file BondedInteractions.hpp.

References ScriptInterface::get_value().

◆ insert_in_core() [2/2]

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

Definition at line 75 of file BondedInteractions.hpp.

References ScriptInterface::get_value().

◆ 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: