xentara-plugin v2.0.4
The Xentara Plugin Framework
|
A built-in attribute role. More...
#include <xentara/model/Attribute.hpp>
Public Member Functions | |
Role ()=delete | |
Deleted constructor. | |
constexpr auto | name () const -> const std::string_view & |
Gets the name. | |
constexpr auto | uuid () const -> const utils::core::Uuid & |
Gets the UUID. | |
constexpr auto | ioDirections () const -> io::Directions |
Gets the relevant I/O directions. | |
template<utils::tools::EqualityComparableWithExcept< std::string_view, Role > String> | |
auto | operator== (const String &rhs) const -> bool |
Checks the name of the attribute role. | |
template<utils::tools::EqualityComparableWithExcept< utils::core::Uuid, Role > Uuid> | |
auto | operator== (const Uuid &rhs) const -> bool |
Checks the UUID of the attribute role. | |
A built-in attribute role.
Attribute roles are used for attributes whose access and data type vary, but whose meaning is the same across elements.
|
delete |
Deleted constructor.
This class is not user constructible.
|
constexpr |
Gets the relevant I/O directions.
|
constexpr |
Gets the name.
auto xentara::model::Attribute::Role::operator== | ( | const String & | rhs | ) | const -> bool |
Checks the name of the attribute role.
This is a convenience operator you can use to check the name of an attribute role. It is equivalent to name() == rhs
.
auto xentara::model::Attribute::Role::operator== | ( | const Uuid & | rhs | ) | const -> bool |
Checks the UUID of the attribute role.
This is a convenience operator you can use to check the UUID of an attribute role. It is equivalent to uuid() == rhs
.
|
constexpr |
Gets the UUID.