Kind of the Pin (Input/Output)
More...
|
| Kind ()=default |
| Default Constructor.
|
|
| Kind (const std::string &kindString) |
| Constructor from std::string.
|
|
constexpr | Kind (Value kind) |
| Implicit Constructor from Value type.
|
|
| operator bool ()=delete |
| Prevent usage: if(pin)
|
|
| operator std::string () const |
| std::string conversion operator
|
|
| operator Value () const |
| Allow switch(Node::Value(kind)) and comparisons.
|
|
Kind & | operator= (Value v) |
| Assignment operator from Value type.
|
|
Kind of the Pin (Input/Output)
◆ Value
Kind of the Pin (Input/Output)
Enumerator |
---|
None | None.
|
Output | Output Pin.
|
Input | Input Pin.
|
◆ Kind() [1/2]
constexpr NAV::Pin::Kind::Kind |
( |
Value | kind | ) |
|
|
inlineconstexpr |
Implicit Constructor from Value type.
- Parameters
-
[in] | kind | Value type to construct from |
◆ Kind() [2/2]
NAV::Pin::Kind::Kind |
( |
const std::string & | kindString | ) |
|
|
inlineexplicit |
Constructor from std::string.
- Parameters
-
[in] | kindString | String representation of the type |
◆ operator std::string()
NAV::Pin::Kind::operator std::string |
( |
| ) |
const |
|
inlineexplicit |
std::string conversion operator
- Returns
- A std::string representation of the pin kind
◆ operator=()
Assignment operator from Value type.
- Parameters
-
[in] | v | Value type to construct from |
- Returns
- The Kind type from the value type
The documentation for this struct was generated from the following file:
- /home/runner/work/INSTINCT/INSTINCT/src/internal/Node/Pin.hpp