DBC parser initial commit.
This commit is contained in:
1 parent
4270459973
commit
2a90b2d79d
11 files changed
+789
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#ifndef DBC_TREE_BUILDER_H
|
||||
#define DBC_TREE_BUILDER_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "dbc_database.h"
|
||||
#include "tree_node.h"
|
||||
|
||||
/**
|
||||
* @brief Builds a simple tree from parsed DBC database.
|
||||
*/
|
||||
class DbcTreeBuilder {
|
||||
public:
|
||||
/**
|
||||
* @brief Build tree representation of parsed DBC data.
|
||||
* @param database Parsed database.
|
||||
* @return Root node of the tree.
|
||||
*/
|
||||
std::unique_ptr<TreeNode> Build (const DbcDatabase &database) const;
|
||||
};
|
||||
|
||||
#endif /* DBC_TREE_BUILDER_H */
|
||||
Reference in new issue
Block a user