#include "GenericFactory.hpp"
#include <RulesFactory/Rules.hpp>
#include "RuleOrdering.hpp"
#include <functional>
#include <memory>
#include <mutex>
#include <string>
#include <vector>
#include <unordered_map>
#include <iostream>
Go to the source code of this file.
|
| std::vector< RuleConfig > | loadRules (const std::string &file_path) |
| | Loads rule configurations from a JSON file.
|
| |
◆ Builder
◆ Identifier
◆ MyObjectFactory
◆ loadRules()
| std::vector< RuleConfig > loadRules |
( |
const std::string & |
file_path | ) |
|
Loads rule configurations from a JSON file.
- Parameters
-
| file_path | Path to the JSON file containing the rule definitions. |
- Returns
- A vector of RuleConfig objects ready for factory instantiation.
- Exceptions
-