Keyword properties.
More...
#include <Key.h>
|
| std::string | description |
| | A short description of the keyword.
|
| |
| std::vector< std::string > | keywords |
| | Alternative keywords (first entry is main name).
|
| |
Keyword properties.
Definition at line 17 of file Key.h.
◆ getMainKeyword()
| std::string nnp::settings::Key::getMainKeyword |
( |
| ) |
const |
|
inline |
◆ hasUniqueKeyword()
| bool nnp::settings::Key::hasUniqueKeyword |
( |
| ) |
const |
|
inline |
Whether this keyword has no alternative definitions or spellings.
Definition at line 25 of file Key.h.
References keywords.
◆ addAlternative()
| void nnp::settings::Key::addAlternative |
( |
std::string | word | ) |
|
|
inline |
◆ setDescription()
| void nnp::settings::Key::setDescription |
( |
std::string | text | ) |
|
|
inline |
Definition at line 27 of file Key.h.
std::string description
A short description of the keyword.
References description.
◆ begin()
| std::vector< std::string >::const_iterator nnp::settings::Key::begin |
( |
| ) |
const |
|
inline |
◆ end()
| std::vector< std::string >::const_iterator nnp::settings::Key::end |
( |
| ) |
const |
|
inline |
◆ description
| std::string nnp::settings::Key::description |
|
private |
◆ keywords
| std::vector<std::string> nnp::settings::Key::keywords |
|
private |
The documentation for this class was generated from the following file:
- /home/runner/work/n2p2/n2p2/src/libnnp/Key.h