载入中...
搜索中...
未找到
eve::property_access::PropertySchema结构体 参考
Versioned schema for one view model or editable target. 更多...
#include <PropertyAccess.h>
Public 成员函数 | |
| eve::OptionalRef< const PropertyDescriptor > | find (const std::string &path) const |
| Find a property by stable path, or an empty immediate borrow. | |
Public 属性 | |
| std::string | typeId |
| std::uint32_t | version = 1 |
| std::vector< PropertyDescriptor > | properties |
详细描述
Versioned schema for one view model or editable target.
在文件 PropertyAccess.h 第 86 行定义.
成员函数说明
◆ find()
| eve::OptionalRef< const PropertyDescriptor > eve::property_access::PropertySchema::find | ( | const std::string & | path | ) | const |
Find a property by stable path, or an empty immediate borrow.
在文件 PropertyAccess.cpp 第 9 行定义.
引用了 found, path , 以及 properties.
被这些函数引用 eve::editor::EditorPropertyModel::read(), eve::property_access::ReflectedPropertyModel::read() , 以及 eve::property_access::ReflectedPropertyModel::write().
类成员变量说明
◆ properties
| std::vector<PropertyDescriptor> eve::property_access::PropertySchema::properties |
◆ typeId
| std::string eve::property_access::PropertySchema::typeId |
在文件 PropertyAccess.h 第 87 行定义.
被这些函数引用 eve::property_access::ReflectedPropertyModel::rebuildSchema().
◆ version
| std::uint32_t eve::property_access::PropertySchema::version = 1 |
在文件 PropertyAccess.h 第 88 行定义.
该结构体的文档由以下文件生成:
- src/modules/property_access/PropertyAccess.h
- src/modules/property_access/PropertyAccess.cpp