Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / rive-cpp / include / rive / generated / backboard_base.hpp
1 #ifndef _RIVE_BACKBOARD_BASE_HPP_
2 #define _RIVE_BACKBOARD_BASE_HPP_
3 #include "rive/core.hpp"
4 namespace rive {
5     class BackboardBase : public Core {
6     protected:
7         typedef Core Super;
8
9     public:
10         static const uint16_t typeKey = 23;
11
12         /// Helper to quickly determine if a core object extends another without RTTI
13         /// at runtime.
14         bool isTypeOf(uint16_t typeKey) const override {
15             switch (typeKey) {
16                 case BackboardBase::typeKey:
17                     return true;
18                 default:
19                     return false;
20             }
21         }
22
23         uint16_t coreType() const override { return typeKey; }
24
25         Core* clone() const override;
26         void copy(const BackboardBase& object) {}
27
28         bool deserialize(uint16_t propertyKey, BinaryReader& reader) override { return false; }
29
30     protected:
31     };
32 } // namespace rive
33
34 #endif