A class that contains a name and can be named and unnamed.
More...
#include "common-structures.hpp"
A class that contains a name and can be named and unnamed.
- Note
- This class is constexpr compatible
Definition at line 35 of file common-structures.hpp.
◆ namable() [1/3]
mal_toolkit::namable::namable |
( |
| ) |
|
|
default |
◆ namable() [2/3]
mal_toolkit::namable::namable |
( |
std::string const & | name | ) |
|
|
inlineexplicitconstexpr |
◆ namable() [3/3]
mal_toolkit::namable::namable |
( |
std::string && | name | ) |
|
|
inlineexplicitconstexpr |
◆ ~namable()
mal_toolkit::namable::~namable |
( |
| ) |
|
|
default |
◆ clear_name()
void mal_toolkit::namable::clear_name |
( |
| ) |
|
|
inlineconstexpr |
◆ has_name()
bool mal_toolkit::namable::has_name |
( |
| ) |
const |
|
inlineconstexpr |
◆ name()
std::string_view mal_toolkit::namable::name |
( |
| ) |
const |
|
inlinenodiscardconstexpr |
◆ set_name() [1/2]
void mal_toolkit::namable::set_name |
( |
std::string && | name | ) |
|
|
inlineconstexpr |
◆ set_name() [2/2]
void mal_toolkit::namable::set_name |
( |
std::string const & | name | ) |
|
|
inlineconstexpr |
◆ name_
std::string mal_toolkit::namable::name_ |
|
private |
The documentation for this class was generated from the following file: