Refureku v2.2.0
C++17 runtime reflection library.
Object.h
1
8#pragma once
9
10#include "Refureku/Config.h"
11
12namespace rfk
13{
14 //Forward declaration
15 class Struct;
16
20 class REFUREKU_API Object
21 {
22 public:
23 Object() = default;
24 Object(Object const&) = default;
25 Object(Object&&) = default;
26 virtual ~Object() = default;
27
28 virtual Struct const& getArchetype() const noexcept = 0;
29
30 Object& operator=(Object const&) = default;
31 Object& operator=(Object&&) = default;
32 };
33}
Definition: Object.h:21
Definition: Struct.h:40
Definition: Allocator.h:16
Archetype const * getArchetype() noexcept
Get the archetype of any type if it exists. Note that this method will always return nullptr on prote...