tag.h 492 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
#pragma once

#ifndef TAG_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#define TAG_H_62B23520_7C8E_11DE_8A39_0800200C9A66

#include <string>

namespace YAML
{
	struct Token;
11
	struct Directives;
12
13
14
15
16
17
18

	struct Tag {
		enum TYPE {
			VERBATIM, PRIMARY_HANDLE, SECONDARY_HANDLE, NAMED_HANDLE, NON_SPECIFIC
		};
		
		Tag(const Token& token);
19
		const std::string Translate(const Directives& directives);
20
21
22
23
24
25
26
		
		TYPE type;
		std::string handle, value;
	};
}

#endif // TAG_H_62B23520_7C8E_11DE_8A39_0800200C9A66