blob: 3414d8013325e3bb8d441f7195de524052103eb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#pragma once
#include <string>
#include <vector>
// Structs or classes
struct DeclStruct {
std::string name;
};
enum EnumUnderlyingType {
EUT_Int8,
EUT_Int16,
EUT_Int32,
EUT_Int64,
EUT_Uint8,
EUT_Uint16,
EUT_Uint32,
EUT_Uint64,
EUT_COUNT,
};
struct DeclEnumElement {
std::string name;
uint64_t value;
};
struct DeclEnum {
std::string name;
std::vector<DeclEnumElement> elements;
EnumUnderlyingType underlyingType;
};
|