Factory/CCClassFactoryInfo.h

34 lines
1.1 KiB
C
Raw Normal View History

2025-12-06 17:11:34 +08:00
#ifndef REFLECTION_CC_CLASS_FACTORY_INFO_H
#define REFLECTION_CC_CLASS_FACTORY_INFO_H
namespace CTL {
class ClassFactoryInfo {
public:
//-------------------------------------------------------------------------------------------
// 默认构造函数
ClassFactoryInfo() = default;
// 基本构造函数
explicit ClassFactoryInfo(const std::string& name) {
Name = name;
}
explicit ClassFactoryInfo(const std::string& name, const std::string& typeName, const size_t offset) {
Name = name;
this->typeName = typeName;
this->offset = offset;
}
~ClassFactoryInfo() {
}
//-------------------------------------------------------------------------------------------
std::string Name;
std::string typeName;
size_t offset = 0;
//-------------------------------------------------------------------------------------------
private:
//-------------------------------------------------------------------------------------------
};
}
#endif