PRtti.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2018 Digital Barriers plc. All rights reserved.
3  * Contact: http://www.digitalbarriers.com/
4  *
5  * This file is part of the Papillon SDK.
6  *
7  * You can't use, modify or distribute any part of this file without
8  * the explicit written agreements of Digital Barriers.
9  */
10 
15 #pragma once
16 
17 #include <PapillonCommon.h>
18 
19 PAPILLON_BEGIN_NAMESPACE
20 
21 typedef uint16_t classid;
22 
23 template<typename T>
24 struct PRtti
25 {
27  static const char* ms_className;
28 };
29 
30 //
31 // WARNINGS:
32 // 1. Keep the following list ordered by class id
33 // 2. When you need a new class id, add a new line at the end (just increment the class id)
34 // 3. NEVER remove a line: put it in comment if you want to tag it as deprecated/removed
35 //
36 enum EType
37 {
39  E_POBJECT = 1,
40  E_PSTRING = 2,
41  E_PRESULT = 3,
42  E_PGUID = 4,
43  E_PLIST = 5,
52  E_PMUTEX = 14,
54  E_PTHREAD = 16,
55  E_PDATE = 17,
56  E_PTIME = 18,
58  E_PURI = 20,
59  E_PSOCKET = 21,
60  E_PTIMER = 22,
61  E_PSIZEF = 23,
62  E_PSIZEI = 24,
68  E_PIMAGE = 30,
71  E_PBOOL = 33,
72  E_PINT8 = 34,
73  E_PINT16 = 35,
74  E_PINT32 = 36,
75  E_PINT64 = 37,
76  E_PUINT8 = 38,
77  E_PUINT16 = 39,
78  E_PUINT32 = 40,
79  E_PUINT64 = 41,
80  E_PFLOAT = 42,
81  E_PDOUBLE = 43,
86  E_PFRAME = 48,
87  E_POPTION = 49,
91  E_PPLUGIN = 53,
94  E_PEVENT = 56,
97  E_PTRACK = 59,
98 #ifdef WITH_CORE_HTTP_CLASSES
99  E_PHTTPREQUEST = 60,
100  E_PHTTPRESPONSE = 61,
101 #endif
133  E_PENTITY = 93,
134  E_PSTORE = 94,
138  E_PVERIFY = 98,
139  E_PREDIS = 99,
145  //E_PWATCHLISTFASTSEARCH = 105, // REMOVED FROM SDK 4.7.0
162  E_PTAGSTORE = 122,
163  E_PTAGSYNC = 123,
169 };
170 
171 
172 PAPILLON_END_NAMESPACE
static const papillon::classid ms_classId
Definition: PRtti.h:26
Definition: PRtti.h:68
Definition: PRtti.h:76
Definition: PRtti.h:42
EType
Definition: PRtti.h:36
Definition: PRtti.h:86
Definition: PRtti.h:60
Definition: PRtti.h:71
Definition: PRtti.h:55
Definition: PRtti.h:94
Definition: PRtti.h:97
Definition: PRtti.h:43
static const char * ms_className
Definition: PRtti.h:27
Definition: PRtti.h:75
Definition: PRtti.h:61
Definition: PRtti.h:58
Definition: PRtti.h:80
Definition: PRtti.h:56
Definition: PRtti.h:62
Definition: PRtti.h:74
Definition: PRtti.h:24
Definition: PRtti.h:52
Definition: PRtti.h:73
PAPILLON_BEGIN_NAMESPACE typedef uint16_t classid
Definition: PRtti.h:21
Definition: PRtti.h:72