Go to the documentation of this file.00001 #ifndef DIRECTIVES_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
00002 #define DIRECTIVES_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
00003
00004 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
00005 #pragma once
00006 #endif
00007
00008
00009 #include <string>
00010 #include <map>
00011
00012 namespace YAML_PM
00013 {
00014 struct Version {
00015 bool isDefault;
00016 int major, minor;
00017 };
00018
00019 struct Directives {
00020 Directives();
00021
00022 const std::string TranslateTagHandle(const std::string& handle) const;
00023
00024 Version version;
00025 std::map<std::string, std::string> tags;
00026 };
00027 }
00028
00029 #endif // DIRECTIVES_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM