File indexing completed on 2025-05-12 09:08:09
0001 #ifndef DIRECTIVES_H_62B23520_7C8E_11DE_8A39_0800200C9A66
0002 #define DIRECTIVES_H_62B23520_7C8E_11DE_8A39_0800200C9A66
0003
0004 #if defined(_MSC_VER) || \
0005 (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
0006 (__GNUC__ >= 4))
0007 #pragma once
0008 #endif
0009
0010 #include <string>
0011 #include <map>
0012
0013 namespace SHERPA_YAML {
0014 struct Version {
0015 bool isDefault;
0016 int major, minor;
0017 };
0018
0019 struct Directives {
0020 Directives();
0021
0022 const std::string TranslateTagHandle(const std::string& handle) const;
0023
0024 Version version;
0025 std::map<std::string, std::string> tags;
0026 };
0027 }
0028
0029 #endif