载入中...
搜索中...
未找到
eve::definitions_editing::DefinitionSchemaFormTarget类 参考final

Schema-driven property adapter for one definition document. 更多...

#include <DefinitionForm.h>

类 eve::definitions_editing::DefinitionSchemaFormTarget 继承关系图:
eve::editing::IPropertyProvider

Public 成员函数

 DefinitionSchemaFormTarget (DefinitionDocument *document, const schema::SchemaDefinition *schema)
 Bind a document and exact immutable schema; both must outlive this adapter.
 
eve::Result< eve::Revision > currentRevision (const SelectionSnapshot &selection) const override
 Current revision.
 
PropertySchema schema (const SelectionSnapshot &selection) const override
 Schema.
 
PropertyReadResult read (const SelectionSnapshot &selection, const PropertyPath &path) const override
 Reads .
 
Result< DomainOperation > makeSet (const SelectionSnapshot &selection, const PropertyPath &path, const EditorValue &value, PropertySetMode mode) const override
 Make set.
 
Result< DomainOperation > makeReset (const SelectionSnapshot &selection, const PropertyPath &path) const override
 Make reset.
 
std::vector< EditorDiagnostic > validate () const
 Diagnose schema/document identity, missing required fields and current value constraints.
 
- Public 成员函数 继承自 eve::editing::IPropertyProvider
virtual ~IPropertyProvider ()=default
 Releases IPropertyProvider resources.
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 eve::editing::IPropertyProvider
static CapabilityId editingCapabilityId ()
 Stable capability identity for generic property editing.
 

详细描述

Schema-driven property adapter for one definition document.

在文件 DefinitionForm.h 第 21 行定义.

构造及析构函数说明

◆ DefinitionSchemaFormTarget()

eve::definitions_editing::DefinitionSchemaFormTarget::DefinitionSchemaFormTarget ( DefinitionDocument *  document,
const schema::SchemaDefinition *  schema 
)

Bind a document and exact immutable schema; both must outlive this adapter.

在文件 DefinitionFormRuntime.cpp 第 51 行定义.

成员函数说明

◆ currentRevision()

eve::Result< eve::Revision > eve::definitions_editing::DefinitionSchemaFormTarget::currentRevision ( const SelectionSnapshot &  selection) const
overridevirtual

◆ makeReset()

Result< DomainOperation > eve::definitions_editing::DefinitionSchemaFormTarget::makeReset ( const SelectionSnapshot &  selection,
const PropertyPath &  path 
) const
overridevirtual

Make reset.

实现了 eve::editing::IPropertyProvider.

在文件 DefinitionFormRuntime.cpp 第 129 行定义.

引用了 descriptor, eve::editing::PropertySchema::find(), makeSet(), path , 以及 schema().

被这些函数引用 makeSet().

◆ makeSet()

Result< DomainOperation > eve::definitions_editing::DefinitionSchemaFormTarget::makeSet ( const SelectionSnapshot &  selection,
const PropertyPath &  path,
const EditorValue &  value,
PropertySetMode  mode 
) const
overridevirtual

◆ read()

PropertyReadResult eve::definitions_editing::DefinitionSchemaFormTarget::read ( const SelectionSnapshot &  selection,
const PropertyPath &  path 
) const
overridevirtual

◆ schema()

◆ validate()


该类的文档由以下文件生成: