Basicaly a std::pair<std::string, DataType>, except it has nicer names.
More...
#include <chi/DataType.hpp>
Basicaly a std::pair<std::string, DataType>, except it has nicer names.
Definition at line 72 of file DataType.hpp.
◆ NamedDataType()
chi::NamedDataType::NamedDataType |
( |
std::string |
n = {} , |
|
|
DataType |
ty = {} |
|
) |
| |
|
inline |
◆ valid()
bool chi::NamedDataType::valid |
( |
| ) |
const |
|
inline |
See if the pair is valid.
- Returns
- if it's valid
Definition at line 80 of file DataType.hpp.
◆ operator!=()
Check if two NamedDataType objects aren't equal.
- Parameters
-
lhs | The first type |
rhs | The type to compare to |
- Returns
- if they aren't equal
Definition at line 103 of file DataType.hpp.
◆ operator==()
Check if two NamedDataType objects are equal.
- Parameters
-
lhs | The first type |
rhs | The type to compare to |
- Returns
- if they are equal
Definition at line 94 of file DataType.hpp.
References name, and type.
The documentation for this struct was generated from the following file: