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 Types

using Base = ObjectList< Shape, Shape >
 
using value_type = typename Base::value_type
 
- Public Types inherited from ScriptInterface::ObjectList< Shape, Shape >
using Base = ObjectContainer< ObjectList, Shape, Shape >
 
using value_type = std::shared_ptr< Shape >
 

Public Member Functions

 Union ()
 
 ~Union () override
 
std::shared_ptr<::Shapes::Shapeshape () const override
 
- Public Member Functions inherited from ScriptInterface::ObjectList< Shape, Shape >
 ObjectList ()
 
 ~ObjectList () override
 
void do_construct (VariantMap const &params) override
 
void add (value_type const &element)
 Add an element to the list.
 
void remove (value_type 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 (value_type const &obj_ptr) const override
 
void add_in_core (value_type const &obj_ptr) override
 
void remove_in_core (value_type const &obj_ptr) final
 

Additional Inherited Members

- Protected Member Functions inherited from ScriptInterface::ObjectList< Shape, Shape >
void do_destruct ()
 
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.

Member Typedef Documentation

◆ Base

◆ value_type

Constructor & Destructor Documentation

◆ Union()

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

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

◆ ~Union()

ScriptInterface::Shapes::Union::~Union ( )
inlineoverride

Member Function Documentation

◆ add_in_core()

void ScriptInterface::Shapes::Union::add_in_core ( value_type const obj_ptr)
inlineoverrideprivatevirtual

◆ has_in_core()

bool ScriptInterface::Shapes::Union::has_in_core ( value_type const obj_ptr) const
inlineoverrideprivatevirtual

◆ remove_in_core()

void ScriptInterface::Shapes::Union::remove_in_core ( value_type const obj_ptr)
inlinefinalprivatevirtual

◆ shape()

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

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


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