My Project
Loading...
Searching...
No Matches
AlgorithmInfo.hpp
1#pragma once
2
3#include <string>
4#include <vector>
5#include "extern/nlohmann/json.hpp"
6
7using json = nlohmann::json;
8
10 std::string name;
11 std::string displayName;
12 std::string path;
13 std::string version;
14 std::string description;
15 std::string author;
16 std::string type;
17 bool supportsProgress;
18 json parameters;
19
20 static AlgorithmInfo fromInfoFile(const std::string& infoPath);
21 bool isValid() const;
22 std::vector<std::string> validateParameters(const json& config) const;
23
24 NLOHMANN_DEFINE_TYPE_INTRUSIVE(AlgorithmInfo, name, displayName, version, description, author, type, supportsProgress, parameters)
25};
Definition AlgorithmInfo.hpp:9