Kind information class.
More...
Kind information class.
Definition at line 95 of file Node.hpp.
◆ Value
Possible kinds of Nodes.
Enumerator |
---|
Blueprint | Node with header.
|
Simple | Node without header, which displays its name in the center of the content.
|
GroupBox | Group box which can group other nodes and drag them together.
|
Definition at line 98 of file Node.hpp.
◆ Kind() [1/3]
NAV::Node::Kind::Kind |
( |
| ) |
|
|
default |
◆ Kind() [2/3]
NAV::Node::Kind::Kind |
( |
Value | kind | ) |
|
|
inlineconstexpr |
Implicit Constructor from Value type.
- Parameters
-
[in] | kind | Value type to construct from |
Definition at line 110 of file Node.hpp.
◆ Kind() [3/3]
NAV::Node::Kind::Kind |
( |
const std::string & | string | ) |
|
|
inlineexplicit |
Constructor from std::string.
- Parameters
-
[in] | string | String representation of the type |
Definition at line 116 of file Node.hpp.
◆ operator bool()
NAV::Node::Kind::operator bool |
( |
| ) |
|
|
explicitdelete |
◆ operator std::string()
NAV::Node::Kind::operator std::string |
( |
| ) |
const |
|
inlineexplicit |
std::string conversion operator
- Returns
- A std::string representation of the node kind
Definition at line 155 of file Node.hpp.
◆ operator Value()
NAV::Node::Kind::operator Value |
( |
| ) |
const |
|
inlineexplicit |
Allow switch(Node::Value(kind)) and comparisons.
Definition at line 133 of file Node.hpp.
◆ operator=()
Assignment operator from Value type.
- Parameters
-
[in] | v | Value type to construct from |
- Returns
- The Kind type from the value type
Definition at line 139 of file Node.hpp.
◆ operator!= [1/3]
Inequal compares Node::Kind values.
- Parameters
-
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
- Returns
- Whether the comparison was successful
Definition at line 506 of file Node.hpp.
◆ operator!= [2/3]
Inequal compares Node::Kind values.
- Parameters
-
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
- Returns
- Whether the comparison was successful
Definition at line 522 of file Node.hpp.
◆ operator!= [3/3]
Inequal compares Node::Kind values.
- Parameters
-
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
- Returns
- Whether the comparison was successful
Definition at line 527 of file Node.hpp.
◆ operator== [1/3]
Equal compares Node::Kind values.
- Parameters
-
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
- Returns
- Whether the comparison was successful
Definition at line 501 of file Node.hpp.
◆ operator== [2/3]
Equal compares Node::Kind values.
- Parameters
-
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
- Returns
- Whether the comparison was successful
Definition at line 512 of file Node.hpp.
◆ operator== [3/3]
Equal compares Node::Kind values.
- Parameters
-
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
- Returns
- Whether the comparison was successful
Definition at line 517 of file Node.hpp.
◆ value
Value NAV::Node::Kind::value |
|
private |
The documentation for this struct was generated from the following file:
- /home/runner/work/INSTINCT/INSTINCT/src/internal/Node/Node.hpp