DBC Framework
DBC parsing and CAN signal decoding framework
Loading...
Searching...
No Matches
AttributeAssignment Struct Reference

Explicit assignment; defaults remain on definitions. More...

#include <attributes.h>

Public Attributes

std::string name
 
AttributeScope scope = AttributeScope::Database
 
std::uint32_t canId = 0U
 
bool isExtended = false
 
std::string targetName
 
AttributeValue value
 

Detailed Description

Explicit assignment; defaults remain on definitions.

Named nodes/environment variables are retained without validating declarations, which are not parsed.

Definition at line 59 of file attributes.h.

Member Data Documentation

◆ name

std::string AttributeAssignment::name

Attribute definition name.

Definition at line 60 of file attributes.h.

Referenced by DbcParseContext::ResolveAttributes().

◆ scope

AttributeScope AttributeAssignment::scope = AttributeScope::Database

Target scope; database when no scope marker is present.

Definition at line 61 of file attributes.h.

Referenced by DbcParseContext::ResolveAttributes().

◆ canId

std::uint32_t AttributeAssignment::canId = 0U

Normalized frame ID for frame/signal assignments.

Definition at line 62 of file attributes.h.

Referenced by DbcParseContext::ResolveAttributes().

◆ isExtended

bool AttributeAssignment::isExtended = false

Frame type for frame/signal assignments.

Definition at line 63 of file attributes.h.

Referenced by DbcParseContext::ResolveAttributes().

◆ targetName

std::string AttributeAssignment::targetName

Signal, node, or environment variable name.

Definition at line 64 of file attributes.h.

Referenced by DbcParseContext::ResolveAttributes().

◆ value

AttributeValue AttributeAssignment::value

Validated explicit value.

Definition at line 65 of file attributes.h.

Referenced by DbcParseContext::ResolveAttributes().


The documentation for this struct was generated from the following file: