scide: implement selectionLength for openDocument
[supercollider.git] / external_libraries / yaml-cpp-0.3.0 / src / directives.h
bloba3308f72e5926023ebb337e1cb7aaaf865203eb3
1 #ifndef DIRECTIVES_H_62B23520_7C8E_11DE_8A39_0800200C9A66
2 #define DIRECTIVES_H_62B23520_7C8E_11DE_8A39_0800200C9A66
4 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
5 #pragma once
6 #endif
9 #include <string>
10 #include <map>
12 namespace YAML
14 struct Version {
15 bool isDefault;
16 int major, minor;
19 struct Directives {
20 Directives();
22 const std::string TranslateTagHandle(const std::string& handle) const;
24 Version version;
25 std::map<std::string, std::string> tags;
29 #endif // DIRECTIVES_H_62B23520_7C8E_11DE_8A39_0800200C9A66