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

#include <CellSystem.hpp>

Inheritance diagram for ScriptInterface::CellSystem::CheckpointerContext:
Collaboration diagram for ScriptInterface::CellSystem::CheckpointerContext:

Private Member Functions

void do_construct (VariantMap const &params) override
Variant do_call_method (std::string const &name, VariantMap const &params) override

Additional Inherited Members

Public Member Functions inherited from ScriptInterface::ObjectHandle
 ObjectHandle ()=default
 ObjectHandle (ObjectHandle const &)=delete
ObjectHandle & operator= (ObjectHandle const &)=delete
virtual ~ObjectHandle ()=default
std::string_view name () const
Context * context () const
 Responsible context.
void construct (VariantMap const &params)
 Construct the handled object.
VariantMap get_parameters () const
 Get current parameters.
virtual std::vector< std::string_view > valid_parameters () const
 Get required and optional parameters for class.
virtual bool has_parameter (std::string const &needle) 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.
virtual void do_set_parameter (const std::string &, const Variant &)
 Local implementation of set_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.

Detailed Description

Definition at line 115 of file CellSystem.hpp.

Member Function Documentation

◆ do_call_method()

Variant ScriptInterface::CellSystem::CheckpointerContext::do_call_method ( std::string const & name,
VariantMap const & params )
overrideprivatevirtual

Reimplemented from ScriptInterface::ObjectHandle.

Definition at line 362 of file CellSystem.cpp.

References communicator, and ScriptInterface::ObjectHandle::name().

◆ do_construct()

void ScriptInterface::CellSystem::CheckpointerContext::do_construct ( VariantMap const & params)
overrideprivatevirtual

Reimplemented from ScriptInterface::ObjectHandle.

Definition at line 358 of file CellSystem.cpp.

References communicator, and ScriptInterface::get_value_or().


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