25#include "AstUtil/SharedPtr.hpp"
26#include "AstUtil/Object.hpp"
52 void addToRegistry()
const;
60 Object* getDefaultObject()
const;
80 setParent(&T::staticType);
90 obj->setParentScope(parentScope);
96 FConstructor constructor_{
nullptr};
void setConstructor()
设置构造函数
定义 Class.hpp:87
Class * getParent() const
获取父类
定义 Class.hpp:49
void setParent(Class *parent)
设置父类
定义 Class.hpp:66
void setParent()
设置父类
定义 Class.hpp:77
void setConstructor(FConstructor constructor)
设置构造函数
定义 Class.hpp:71
对象基类,继承自该类的对象可以使用运行时类型信息相关功能,实现强弱引用计数、运行时元信息(属性访问、序列化等)等基础功能
定义 Object.hpp:81