|
Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
|
Capability class for things which have a name. More...
#include <symbol.hpp>
Public Member Functions | |
| const std::string & | name () const |
| void | name (const std::string &new_name) |
| Set the name. | |
Protected Member Functions | |
| ~NameHolder ()=default | |
| NameHolder ()=default | |
| NameHolder (std::string new_name) | |
| Construct holding the given name. | |
Protected Attributes | |
| std::string | name_ |
| The stored name. | |
Friends | |
| class | boost::serialization::access |
Capability class for things which have a name.
Deliberately NOT a Node: classes that need a name alongside a different primary base (e.g. special_number::Pi, which is a Number) inherit this without creating a diamond in the Node hierarchy.
Mixin holding a name, shared by named nodes without forming a diamond in the hierarchy.
|
protecteddefault |
|
protecteddefault |
|
inlineexplicitprotected |
Construct holding the given name.
|
inline |
|
inline |
Set the name.
|
friend |
|
protected |
The stored name.