![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <Union.hpp>
Public Types | |
using | Base = ObjectList< Shape, Shape > |
using | value_type = typename Base::value_type |
![]() | |
using | Base = ObjectContainer< ObjectList, Shape, Shape > |
using | value_type = std::shared_ptr< Shape > |
Public Member Functions | |
Union () | |
~Union () override | |
std::shared_ptr<::Shapes::Shape > | shape () const override |
![]() | |
ObjectList () | |
~ObjectList () override | |
void | do_construct (VariantMap const ¶ms) 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 | |
![]() | |
void | do_destruct () |
Variant | do_call_method (std::string const &method, VariantMap const ¶meters) override |
Definition at line 37 of file script_interface/shapes/Union.hpp.
Definition at line 39 of file script_interface/shapes/Union.hpp.
Definition at line 40 of file script_interface/shapes/Union.hpp.
|
inline |
Definition at line 42 of file script_interface/shapes/Union.hpp.
|
inlineoverride |
Definition at line 44 of file script_interface/shapes/Union.hpp.
References ScriptInterface::ObjectList< Shape, Shape >::do_destruct().
|
inlineoverrideprivatevirtual |
Implements ScriptInterface::ObjectList< Shape, Shape >.
Definition at line 50 of file script_interface/shapes/Union.hpp.
References ScriptInterface::get_value().
|
inlineoverrideprivatevirtual |
Implements ScriptInterface::ObjectList< Shape, Shape >.
Definition at line 47 of file script_interface/shapes/Union.hpp.
References ScriptInterface::get_value().
|
inlinefinalprivatevirtual |
Implements ScriptInterface::ObjectList< Shape, Shape >.
Definition at line 53 of file script_interface/shapes/Union.hpp.
References ScriptInterface::get_value().
|
inlineoverride |
Definition at line 58 of file script_interface/shapes/Union.hpp.