PLaSK library
Loading...
Searching...
No Matches
plask::GeometryObject::PredicateHasRole Struct Reference

Predicate which check if given object belong to class with given name. More...

#include <plask/geometry/object.hpp>

Collaboration diagram for plask::GeometryObject::PredicateHasRole:
[legend]

Public Member Functions

 PredicateHasRole (const std::string &role_name)
 
 PredicateHasRole (std::string &&role_name)
 
bool operator() (const GeometryObject &obj) const
 

Public Attributes

std::string role_name
 

Detailed Description

Predicate which check if given object belong to class with given name.

Definition at line 448 of file object.hpp.

Constructor & Destructor Documentation

◆ PredicateHasRole() [1/2]

plask::GeometryObject::PredicateHasRole::PredicateHasRole ( const std::string &  role_name)
inline

Definition at line 450 of file object.hpp.

◆ PredicateHasRole() [2/2]

plask::GeometryObject::PredicateHasRole::PredicateHasRole ( std::string &&  role_name)
inline

Definition at line 453 of file object.hpp.

Member Function Documentation

◆ operator()()

bool plask::GeometryObject::PredicateHasRole::operator() ( const GeometryObject obj) const
inline

Definition at line 456 of file object.hpp.

Member Data Documentation

◆ role_name

std::string plask::GeometryObject::PredicateHasRole::role_name

Definition at line 449 of file object.hpp.


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