This commit is contained in:
deeaitch committed 2026-10-20 13:12:30 -04:00
1 parent fc97682b37
commit e555ebb571
16 files changed
+337 -52

No files matched your search

+9
View File
@@ -16,6 +16,11 @@
#include "dbc_diagnostic.h"
/** Explicit interpretation applied to extended frames in this file. */
struct DbcParserOptions {
bool enableJ1939 = false;
};
/**
* @brief Minimal DBC parser.
*
@@ -34,6 +39,8 @@
*/
class DbcParser {
public:
explicit DbcParser(DbcParserOptions options = {}) : options(options) {}
/**
* @brief Parse DBC file.
* @param filePath Path to input file.
@@ -53,6 +60,8 @@ public:
*/
DbcParseResult ParseFileWithDiagnostics(const std::string &filePath) const;
private:
DbcParserOptions options;
};
#endif /* DBC_PARSER_H */