[ox] Add support for unions to model and mc

This commit is contained in:
2020-04-13 02:28:38 -05:00
parent 82a07737ec
commit 1d07890668
14 changed files with 329 additions and 195 deletions

View File

@@ -22,9 +22,9 @@ class FieldPresenceIndicator {
public:
FieldPresenceIndicator(uint8_t *mask, std::size_t maxLen);
ValErr<bool> get(std::size_t i) const;
[[nodiscard]] ValErr<bool> get(std::size_t i) const;
Error set(std::size_t i, bool on);
[[nodiscard]] Error set(std::size_t i, bool on);
void setFields(int) noexcept;