OpenTwin
0.1
OpenTwin
Loading...
Searching...
No Matches
OTClassHelper.h
Go to the documentation of this file.
1
5
// ###########################################################################################################################################################################################################################################################################################################################
6
7
#pragma once
8
9
// OpenTwin header
10
#include <
OTSystem/ArchitectureInfo.h
>
11
14
#define OT_DECL_NOCOPY(___class) ___class(const ___class&) = delete; ___class& operator = (const ___class&) = delete;
15
18
#define OT_DECL_NOMOVE(___class) ___class(const ___class&&) = delete; ___class& operator = (const ___class&&) = delete;
19
22
#define OT_DECL_NODEFAULT(___class) ___class(void) = delete;
23
24
25
#if defined(OT_COMPILER_MSC)
26
29
#define OT_DECL_DEPRECATED(___message) __declspec(deprecated(___message))
30
31
#elif defined(OT_COMPILER_GNU) || defined(OT_COMPILER_CLANG)
32
35
#define OT_DECL_DEPRECATED(___message) __attribute__((deprecated))
36
37
#endif
38
41
#define OT_UNUSED(___unusedVariable) (void)(___unusedVariable);
ArchitectureInfo.h
The ArchitectureInfo contains multiple definitions that specify the current OS architecture.
Libraries
OTCore
include
OTCore
OTClassHelper.h
Generated by
1.10.0