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

#include <Union.hpp>

+ Inheritance diagram for ScriptInterface::Shapes::Union:
+ Collaboration diagram for ScriptInterface::Shapes::Union:

Public Member Functions

 Union ()
 
std::shared_ptr<::Shapes::Shapeshape () const override
 
- Public Member Functions inherited from ScriptInterface::ObjectList< Shape, Shape >
 ObjectList ()
 
void do_construct (VariantMap const &params) override
 
void add (std::shared_ptr< Shape > const &element)
 Add an element to the list.
 
void remove (std::shared_ptr< Shape > const &element)
 Removes all occurrences of an element from the list.
 
auto const & elements () const
 List elements.
 
void clear ()
 Clear the list.
 

Private Member Functions

bool has_in_core (const std::shared_ptr< Shape > &obj_ptr) const override
 
void add_in_core (const std::shared_ptr< Shape > &obj_ptr) override
 
void remove_in_core (const std::shared_ptr< Shape > &obj_ptr) override
 

Additional Inherited Members

- Public Types inherited from ScriptInterface::ObjectList< Shape, Shape >
using Base = ObjectContainer< ObjectList, Shape, Shape >
 
- Protected Member Functions inherited from ScriptInterface::ObjectList< Shape, Shape >
Variant do_call_method (std::string const &method, VariantMap const &parameters) override
 

Detailed Description

Definition at line 37 of file script_interface/shapes/Union.hpp.

Constructor & Destructor Documentation

◆ Union()

ScriptInterface::Shapes::Union::Union ( )
inline

Definition at line 39 of file script_interface/shapes/Union.hpp.

Member Function Documentation

◆ add_in_core()

void ScriptInterface::Shapes::Union::add_in_core ( const std::shared_ptr< Shape > &  obj_ptr)
inlineoverrideprivate

Definition at line 45 of file script_interface/shapes/Union.hpp.

References ScriptInterface::get_value().

◆ has_in_core()

bool ScriptInterface::Shapes::Union::has_in_core ( const std::shared_ptr< Shape > &  obj_ptr) const
inlineoverrideprivate

Definition at line 42 of file script_interface/shapes/Union.hpp.

References ScriptInterface::get_value().

◆ remove_in_core()

void ScriptInterface::Shapes::Union::remove_in_core ( const std::shared_ptr< Shape > &  obj_ptr)
inlineoverrideprivate

Definition at line 48 of file script_interface/shapes/Union.hpp.

References ScriptInterface::get_value().

◆ shape()

std::shared_ptr<::Shapes::Shape > ScriptInterface::Shapes::Union::shape ( ) const
inlineoverride

Definition at line 53 of file script_interface/shapes/Union.hpp.


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