-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProfilesProcessPaths.hpp
More file actions
33 lines (26 loc) · 902 Bytes
/
Copy pathProfilesProcessPaths.hpp
File metadata and controls
33 lines (26 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef RUNCPP2_DATA_PROFILES_PROCESS_PATHS_HPP
#define RUNCPP2_DATA_PROFILES_PROCESS_PATHS_HPP
#include "runcpp2/Data/ParseCommon.hpp"
#include "runcpp2/YamlLib.hpp"
#if !defined(NOMINMAX)
#define NOMINMAX 1
#endif
#include "ghc/filesystem.hpp"
#include <unordered_map>
namespace runcpp2
{
namespace Data
{
class ProfilesProcessPaths
{
public:
std::unordered_map<ProfileName, std::vector<ghc::filesystem::path>> Paths;
bool ParseYAML_Node(ryml::ConstNodeRef node);
bool ParseYAML_NodeWithProfile(ryml::ConstNodeRef node, ProfileName profile);
bool IsYAML_NodeParsableAsDefault(ryml::ConstNodeRef node) const;
std::string ToString(std::string indentation) const;
bool Equals(const ProfilesProcessPaths& other) const;
};
}
}
#endif