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 618 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 634 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 639 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 613 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 624 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 629 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