|
DBC Framework
DBC parsing and CAN signal decoding framework
|
Attribute type, permitted range, and optional default. More...
#include <attributes.h>
Public Attributes | |
| AttributeScope | scope = AttributeScope::Database |
| AttributeType | type = AttributeType::String |
| std::int64_t | integerMinimum = 0 |
| std::int64_t | integerMaximum = 0 |
| double | minimum = 0.0 |
| double | maximum = 0.0 |
| std::vector< std::string > | enumValues |
| std::optional< AttributeValue > | defaultValue |
Attribute type, permitted range, and optional default.
Definition at line 42 of file attributes.h.
| AttributeScope AttributeDefinition::scope = AttributeScope::Database |
Target scope; database when no scope marker is present.
Definition at line 43 of file attributes.h.
Referenced by DbcParseContext::ResolveAttributes().
| AttributeType AttributeDefinition::type = AttributeType::String |
Type used to validate values.
Definition at line 44 of file attributes.h.
| std::int64_t AttributeDefinition::integerMinimum = 0 |
Inclusive INT, HEX, or ENUM lower bound.
Definition at line 45 of file attributes.h.
| std::int64_t AttributeDefinition::integerMaximum = 0 |
Inclusive INT, HEX, or ENUM upper bound.
Definition at line 46 of file attributes.h.
| double AttributeDefinition::minimum = 0.0 |
Inclusive FLOAT lower bound.
Definition at line 47 of file attributes.h.
| double AttributeDefinition::maximum = 0.0 |
Inclusive FLOAT upper bound.
Definition at line 48 of file attributes.h.
| std::vector<std::string> AttributeDefinition::enumValues |
ENUM labels in index order.
Definition at line 49 of file attributes.h.
| std::optional<AttributeValue> AttributeDefinition::defaultValue |
Validated default; empty when not declared.
Definition at line 50 of file attributes.h.
Referenced by DbcParseContext::ResolveAttributes().