contrib
yaml-cpp-pm
src
tag.h
Go to the documentation of this file.
1
#ifndef TAG_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
2
#define TAG_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
#include <string>
9
10
namespace
YAML_PM
11
{
12
struct
Token;
13
struct
Directives;
14
15
struct
Tag
{
16
enum
TYPE
{
17
VERBATIM
,
PRIMARY_HANDLE
,
SECONDARY_HANDLE
,
NAMED_HANDLE
,
NON_SPECIFIC
18
};
19
20
Tag
(
const
Token
& token);
21
const
std::string
Translate
(
const
Directives
& directives);
22
23
TYPE
type
;
24
std::string
handle
,
value
;
25
};
26
}
27
28
#endif // TAG_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
YAML_PM::Tag::SECONDARY_HANDLE
Definition:
tag.h:17
YAML_PM::Tag::type
TYPE type
Definition:
tag.h:23
YAML_PM::Tag::PRIMARY_HANDLE
Definition:
tag.h:17
YAML_PM::Directives
Definition:
directives.h:19
YAML_PM::Tag::NON_SPECIFIC
Definition:
tag.h:17
YAML_PM::Token
Definition:
token.h:39
testing::internal::string
::std::string string
Definition:
gtest.h:1979
YAML_PM::Tag
Definition:
tag.h:15
YAML_PM::Tag::TYPE
TYPE
Definition:
tag.h:16
YAML_PM::Tag::value
std::string value
Definition:
tag.h:24
YAML_PM::Tag::NAMED_HANDLE
Definition:
tag.h:17
YAML_PM::Tag::Tag
Tag(const Token &token)
Definition:
tag.cpp:9
YAML_PM
Definition:
aliasmanager.h:11
YAML_PM::Tag::handle
std::string handle
Definition:
tag.h:24
YAML_PM::Tag::Translate
const std::string Translate(const Directives &directives)
Definition:
tag.cpp:32
YAML_PM::Tag::VERBATIM
Definition:
tag.h:17
libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:03