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

#include <NonBondedInteractions.hpp>

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

Public Types

using key_type = typename container_type::key_type
 
using mapped_type = typename container_type::mapped_type
 

Protected Member Functions

Variant do_call_method (std::string const &method, VariantMap const &params) override
 
std::string get_internal_state () const override
 
void set_internal_state (std::string const &state) override
 
- Protected Member Functions inherited from ScriptInterface::System::Leaf
auto const & get_system () const
 
auto & get_system ()
 

Private Member Functions

void do_construct (VariantMap const &params) override
 
void on_bind_system (::System::System &system) override
 

Additional Inherited Members

- Public Member Functions inherited from ScriptInterface::System::Leaf
void bind_system (std::shared_ptr<::System::System > const &system)
 
void detach_system ()
 
- Public Member Functions inherited from ScriptInterface::ObjectHandle
 ObjectHandle ()=default
 
 ObjectHandle (ObjectHandle const &)=delete
 
ObjectHandleoperator= (ObjectHandle const &)=delete
 
virtual ~ObjectHandle ()=default
 
boost::string_ref name () const
 
Contextcontext () const
 Responsible context.
 
void construct (VariantMap const &params)
 Construct the handled object.
 
VariantMap get_parameters () const
 Get current parameters.
 
virtual std::span< const boost::string_ref > valid_parameters () const
 Get required and optional parameters for class.
 
auto get_valid_parameters () const
 
virtual Variant get_parameter (std::string const &name) const
 Get single parameter.
 
void set_parameter (const std::string &name, const Variant &value)
 Set single parameter.
 
Variant call_method (const std::string &name, const VariantMap &params)
 Call a method on the object.
 
std::string serialize () const
 
virtual std::vector< std::pair< std::string, Variant > > serialize_parameters () const
 Serialize parameters.
 
- Static Public Member Functions inherited from ScriptInterface::ObjectHandle
static ObjectRef deserialize (const std::string &state, Context &ctx)
 Make object from serialized state.
 
- Protected Attributes inherited from ScriptInterface::System::Leaf
std::weak_ptr<::System::Systemm_system
 

Detailed Description

Definition at line 44 of file NonBondedInteractions.hpp.

Member Typedef Documentation

◆ key_type

using ScriptInterface::Interactions::NonBondedInteractions::key_type = typename container_type::key_type

Definition at line 50 of file NonBondedInteractions.hpp.

◆ mapped_type

using ScriptInterface::Interactions::NonBondedInteractions::mapped_type = typename container_type::mapped_type

Definition at line 51 of file NonBondedInteractions.hpp.

Member Function Documentation

◆ do_call_method()

Variant ScriptInterface::Interactions::NonBondedInteractions::do_call_method ( std::string const &  method,
VariantMap const &  params 
)
inlineoverrideprotectedvirtual

◆ do_construct()

void ScriptInterface::Interactions::NonBondedInteractions::do_construct ( VariantMap const &  params)
inlineoverrideprivatevirtual

Reimplemented from ScriptInterface::ObjectHandle.

Definition at line 58 of file NonBondedInteractions.hpp.

◆ get_internal_state()

std::string ScriptInterface::Interactions::NonBondedInteractions::get_internal_state ( ) const
inlineoverrideprotectedvirtual

Reimplemented from ScriptInterface::ObjectHandle.

Definition at line 150 of file NonBondedInteractions.hpp.

References Utils::pack().

◆ on_bind_system()

void ScriptInterface::Interactions::NonBondedInteractions::on_bind_system ( ::System::System system)
inlineoverrideprivatevirtual

◆ set_internal_state()

void ScriptInterface::Interactions::NonBondedInteractions::set_internal_state ( std::string const &  state)
inlineoverrideprotectedvirtual

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