1 | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// |
---|---|
2 | //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// |
3 | #pragma once |
4 | |
5 | #include "Prerequisites/BsPrerequisitesUtil.h" |
6 | #include "Reflection/BsRTTIType.h" |
7 | |
8 | namespace bs |
9 | { |
10 | /** @cond RTTI */ |
11 | /** @addtogroup RTTI-Impl-Utility |
12 | * @{ |
13 | */ |
14 | |
15 | class BS_UTILITY_EXPORT IReflectableRTTI : public RTTIType <IReflectable, IReflectable, IReflectableRTTI> |
16 | { |
17 | public: |
18 | const String& getRTTIName() override |
19 | { |
20 | static String name = "IReflectable"; |
21 | return name; |
22 | } |
23 | |
24 | UINT32 getRTTIId() override |
25 | { |
26 | return TID_IReflectable; |
27 | } |
28 | |
29 | SPtr<IReflectable> newRTTIObject() override |
30 | { |
31 | return nullptr; |
32 | } |
33 | }; |
34 | |
35 | /** @} */ |
36 | /** @endcond */ |
37 | } |
38 |