directives.h
Go to the documentation of this file.
1 #ifndef DIRECTIVES_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
2 #define DIRECTIVES_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
3 
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
7 
8 
9 #include <string>
10 #include <map>
11 
12 namespace YAML_PM
13 {
14  struct Version {
15  bool isDefault;
16  int major, minor;
17  };
18 
19  struct Directives {
20  Directives();
21 
22  const std::string TranslateTagHandle(const std::string& handle) const;
23 
25  std::map<std::string, std::string> tags;
26  };
27 }
28 
29 #endif // DIRECTIVES_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
YAML_PM
Definition: aliasmanager.h:11
YAML_PM::Version::isDefault
bool isDefault
Definition: directives.h:15
YAML_PM::Directives
Definition: directives.h:19
testing::internal::string
::std::string string
Definition: gtest.h:1979
YAML_PM::Directives::Directives
Directives()
Definition: directives.cpp:5
YAML_PM::Directives::version
Version version
Definition: directives.h:24
YAML_PM::Directives::tags
std::map< std::string, std::string > tags
Definition: directives.h:25
YAML_PM::Version
Definition: directives.h:14
YAML_PM::Directives::TranslateTagHandle
const std::string TranslateTagHandle(const std::string &handle) const
Definition: directives.cpp:13
YAML_PM::Version::major
int major
Definition: directives.h:16
YAML_PM::Version::minor
int minor
Definition: directives.h:16


mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:45:57