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

#include <ShapeBasedConstraint.hpp>

+ Inheritance diagram for ScriptInterface::Constraints::ShapeBasedConstraint:
+ Collaboration diagram for ScriptInterface::Constraints::ShapeBasedConstraint:

Public Member Functions

 ShapeBasedConstraint ()
 
Variant do_call_method (std::string const &name, VariantMap const &) override
 
std::shared_ptr<::Constraints::Constraintconstraint () override
 
std::shared_ptr< const ::Constraints::Constraintconstraint () const override
 
std::shared_ptr<::Constraints::ShapeBasedConstraintshape_based_constraint () const
 
void do_construct (VariantMap const &params) override
 
void bind_system (std::shared_ptr<::System::System const > const &system) override
 
- Public Member Functions inherited from ScriptInterface::AutoParameters< Constraint >
std::span< const boost::string_ref > valid_parameters () const final
 
Variant get_parameter (const std::string &name) const final
 
void do_set_parameter (const std::string &name, const Variant &value) final
 
std::vector< std::pair< std::string, Variant > > serialize_parameters () const final
 
- 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.
 
auto get_valid_parameters () const
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from ScriptInterface::ObjectHandle
static ObjectRef deserialize (const std::string &state, Context &ctx)
 Make object from serialized state.
 
- Protected Member Functions inherited from ScriptInterface::AutoParameters< Constraint >
 AutoParameters ()=default
 
 AutoParameters (std::vector< AutoParameter > &&params)
 
void add_parameters (std::vector< AutoParameter > &&params)
 
auto const & get_parameter_insertion_order () const
 

Detailed Description

Constructor & Destructor Documentation

◆ ShapeBasedConstraint()

ScriptInterface::Constraints::ShapeBasedConstraint::ShapeBasedConstraint ( )
inline

Member Function Documentation

◆ bind_system()

void ScriptInterface::Constraints::ShapeBasedConstraint::bind_system ( std::shared_ptr<::System::System const > const system)
inlineoverridevirtual

◆ constraint() [1/2]

std::shared_ptr< const ::Constraints::Constraint > ScriptInterface::Constraints::ShapeBasedConstraint::constraint ( ) const
inlineoverridevirtual

◆ constraint() [2/2]

std::shared_ptr<::Constraints::Constraint > ScriptInterface::Constraints::ShapeBasedConstraint::constraint ( )
inlineoverridevirtual

◆ do_call_method()

Variant ScriptInterface::Constraints::ShapeBasedConstraint::do_call_method ( std::string const name,
VariantMap const  
)
inlineoverridevirtual

◆ do_construct()

void ScriptInterface::Constraints::ShapeBasedConstraint::do_construct ( VariantMap const params)
inlineoverridevirtual

◆ shape_based_constraint()

std::shared_ptr<::Constraints::ShapeBasedConstraint > ScriptInterface::Constraints::ShapeBasedConstraint::shape_based_constraint ( ) const
inline

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