newly ObjectSimpleInfo

This commit is contained in:
hyzboy 2024-10-31 01:33:22 +08:00
parent 71a6695ab8
commit 2377c39642

View File

@ -6,16 +6,23 @@ namespace hgl
{
class ObjectManager;
/**
*
*/
struct ObjectSimpleInfo
{
size_t hash_code; ///<对象数据类型的hash值
size_t serial_number; ///<对象序列号
};
/**
*
*/
struct ObjectBaseInfo
struct ObjectBaseInfo:public ObjectSimpleInfo
{
size_t hash_code; ///<对象数据类型的hash值
ObjectManager * object_manager; ///<对象管理器
size_t serial_number; ///<对象序列号
ObjectManager * object_manager; ///<对象管理器
SourceCodeLocation source_code_location; ///<对象创建的源代码位置
SourceCodeLocation source_code_location; ///<对象创建的源代码位置
};
}//namespace hgl