Files
dbc/dbc_tree_builder.h
2026-06-14 20:02:35 -04:00

34 lines
692 B
C++

/**
* @file dbc_tree_builder.h
* @brief
*
* Created: 2026-03-13
* Author: Deeaitch (Dim. Himro)
*
* Licensed under the MIT License.
* See LICENSE file in the project root for full license text.
*/
#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 */