-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFilesToCopyInfo.hpp
More file actions
30 lines (23 loc) · 811 Bytes
/
Copy pathFilesToCopyInfo.hpp
File metadata and controls
30 lines (23 loc) · 811 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
#ifndef RUNCPP2_DATA_FILES_TO_COPY_INFO_HPP
#define RUNCPP2_DATA_FILES_TO_COPY_INFO_HPP
#include "runcpp2/Data/ParseCommon.hpp"
#include "runcpp2/YamlLib.hpp"
#include <unordered_map>
#include <vector>
#include <string>
namespace runcpp2
{
namespace Data
{
struct FilesToCopyInfo
{
std::unordered_map<ProfileName, std::vector<std::string>> ProfileFiles;
bool ParseYAML_Node(YAML::ConstNodePtr node);
bool ParseYAML_NodeWithProfile(YAML::ConstNodePtr node, ProfileName profile);
bool IsYAML_NodeParsableAsDefault(YAML::ConstNodePtr node) const;
std::string ToString(std::string indentation) const;
bool Equals(const FilesToCopyInfo& other) const;
};
}
}
#endif