类 | |
| struct | AuthorityPlan |
| AuthorityPlan public API. 更多... | |
| struct | CommandPlan |
| CommandPlan public API. 更多... | |
| struct | CommandRequest |
| CommandRequest public API. 更多... | |
| struct | ContextSnapshot |
| ContextSnapshot public API. 更多... | |
| struct | DomainOperation |
| DomainOperation public API. 更多... | |
| class | EditableTargetState |
| Dirty region and revision shared by every editable document target. 更多... | |
| struct | EditingCommandDescriptor |
| Domain-owned metadata for one planned editing command. 更多... | |
| struct | EditRegion |
| EditRegion public API. 更多... | |
| struct | EditVolume |
| Integer axis-aligned volume invalidated by a 3D edit. 更多... | |
| struct | ExtensionDescriptor |
| ExtensionDescriptor public API. 更多... | |
| class | ExtensionProviderRegistry |
| Thread-safe generation-qualified registry for editing extension providers. 更多... | |
| struct | FocusSnapshot |
| FocusSnapshot public API. 更多... | |
| struct | GizmoPrimitive |
| Renderer-neutral wire primitive for authoring viewport overlays. 更多... | |
| struct | GizmoSnapshot |
| Immutable revision-tagged overlay snapshot consumed by any viewport renderer. 更多... | |
| struct | GraphConnectionDecision |
| Result of domain-specific connection validation. 更多... | |
| class | GraphDocument |
| Generic mutable graph model with one authoritative revision clock. 更多... | |
| struct | GraphDocumentData |
| Immutable graph document value sent to a domain compiler. 更多... | |
| struct | GraphEdgeRecord |
| Directed connection between an output and input pin. 更多... | |
| struct | GraphNodeRecord |
| Generic graph node independent of its domain. 更多... | |
| struct | GraphPinRecord |
| Stable typed pin owned by a graph node. 更多... | |
| class | IDomainOperationTarget |
| Editable-target capability that applies owning domain operations. 更多... | |
| class | IDomainOperationTargetStaging |
| Optional candidate/publish capability for atomic domain operations. 更多... | |
| class | IEditableTarget |
| IEditableTarget public API. 更多... | |
| class | IEditAuthority |
| Final validation and commit boundary for editor mutations. 更多... | |
| class | IEditingCommandRegistry |
| Lower-layer registration boundary implemented by an editor or runtime editing host. 更多... | |
| class | IEditingExtensionProvider |
| IEditingExtensionProvider public API. 更多... | |
| class | IEditingSnapshotProvider |
| Optional capability exposing a deterministic, persistence-safe editing snapshot. 更多... | |
| class | IGraphDomainProvider |
| Domain-owned typed connection policy. 更多... | |
| class | IGridTarget |
| IGridTarget public API. 更多... | |
| class | IIntFieldTarget |
| IIntFieldTarget public API. 更多... | |
| class | IIntVolumeTarget |
| Stable capability for sparse integer volumes. 更多... | |
| class | IPropertyProvider |
| UI-independent property access for an immutable selection snapshot. 更多... | |
| class | IScalarFieldTarget |
| IScalarFieldTarget public API. 更多... | |
| class | LocalWorldAuthority |
| In-process authority for a single editable runtime or document target. 更多... | |
| struct | NumericMetadata |
| NumericMetadata public API. 更多... | |
| struct | ObjectRefValue |
| ObjectRefValue public API. 更多... | |
| struct | PropertyDescriptor |
| PropertyDescriptor public API. 更多... | |
| class | PropertyDescriptorLookup |
| PropertyDescriptorLookup public API. 更多... | |
| class | PropertyPath |
Dotted property path (layout.size) compared and persisted as text. 更多... | |
| struct | PropertyPathHash |
| Hash functor for a dotted property path. 更多... | |
| struct | PropertyReadResult |
| PropertyReadResult public API. 更多... | |
| struct | PropertySchema |
| EVENGINE_API_PLATFORM public API. 更多... | |
| struct | ProviderHandle |
| ProviderHandle public API. 更多... | |
| class | ProviderLease |
| ProviderLease public API. 更多... | |
| class | ReadOnlyAuthority |
| Authority that permits discovery and dry-run but rejects commits. 更多... | |
| struct | SelectionItem |
| SelectionItem public API. 更多... | |
| struct | SelectionSnapshot |
| SelectionSnapshot public API. 更多... | |
| struct | StrongIdHash |
| Hash functor for a strong authoring identifier. 更多... | |
| struct | TargetDescriptor |
| Stable discovery metadata exposed by every editable target. 更多... | |
| class | TaskContext |
| Cooperative cancellation and progress API passed to worker code. 更多... | |
| struct | TaskOutcome |
| Type-erased result produced by a background editor task. 更多... | |
| class | TaskService |
| Single-worker background queue shared by editor domains. 更多... | |
| struct | TaskSnapshot |
| Immutable status returned to UI, scripts and automation clients. 更多... | |
| struct | TransactionReceipt |
| TransactionReceipt public API. 更多... | |
| struct | TransactionSpec |
| TransactionSpec public API. 更多... | |
| class | Value |
| Deterministic owning value tree shared by authoring hosts. 更多... | |
类型定义 | |
| using | EditingCommandPlanner = std::function< Result< CommandPlan >(IEditableTarget &, const CommandRequest &)> |
| Side-effect-free planner invoked with the resolved target. | |
| template<class Tag > | |
| using | StrongId = eve::UuidIdAdapter< Tag > |
| UUID-backed identifier used by authoring contracts. | |
| using | SessionId = StrongId< SessionIdTag > |
| using | TargetId = StrongId< TargetIdTag > |
| using | CommandId = StrongId< CommandIdTag > |
| using | ToolId = StrongId< ToolIdTag > |
| using | RuleId = StrongId< RuleIdTag > |
| using | CapabilityId = StrongId< CapabilityIdTag > |
| using | TransactionId = StrongId< TransactionIdTag > |
| using | PlanId = StrongId< PlanIdTag > |
| using | StableId = StrongId< StableIdTag > |
| using | ObjectId = StrongId< ObjectIdTag > |
| using | AssetGuid = StrongId< AssetGuidTag > |
| using | DocumentId = StrongId< DocumentIdTag > |
| using | GraphNodeId = StrongId< GraphNodeIdTag > |
| using | GraphPinId = StrongId< GraphPinIdTag > |
| using | TaskId = StrongId< TaskIdTag > |
| using | Revision = std::uint64_t |
| using | Status = eve::StatusCode |
| using | DiagnosticSeverity = eve::Severity |
| using | Diagnostic = eve::Diagnostic |
| template<class T > | |
| using | Result = eve::Result< T > |
| using | EditorValue = Value |
| using | EditorStatus = Status |
枚举 | |
| enum class | FieldWriteStatus { Applied , Unchanged , Rejected } |
| FieldWriteStatus public API. 更多... | |
| enum class | CommandSource { Menu , Shortcut , Toolbar , ContextMenu , DragDrop , Pointer , InlineEdit , Palette , Script , Automation , Api } |
| Source that initiated an authoring command. 更多... | |
| enum class | ThreadAffinity { Main , Render , Worker , Any } |
| ThreadAffinity public API. 更多... | |
| enum class | GraphPinDirection { Input , Output } |
| Direction of a typed graph pin. 更多... | |
| enum class | PropertyType { Bool , Int , Float , String , Enum , Color , Vec2 , Vec3 , Vec4 , Transform , AssetRef , ObjectRef , Struct , Array , Map , Action , ReadOnlyText } |
| PropertyType public API. 更多... | |
| enum class | PropertyFlag : std::uint64_t { None = 0 , ReadOnly = 1ull << 0 , Advanced = 1ull << 1 , EditorOnly = 1ull << 2 , Runtime = 1ull << 3 , Replicated = 1ull << 4 , Transient = 1ull << 5 , Dangerous = 1ull << 6 , MultiEdit = 1ull << 7 } |
| PropertyFlag public API. 更多... | |
| enum class | PropertyReadState { Value , Mixed , Missing , Error } |
| PropertyReadState public API. 更多... | |
| enum class | PropertySetMode { Absolute , Relative , Reset } |
| PropertySetMode public API. 更多... | |
| enum class | HostKind { Developer , RuntimeBuilder , RuntimeAdmin , Automation } |
| HostKind public API. 更多... | |
| enum class | TransactionState { Planning , Previewing , PendingAuthority , Committed , Rejected , Conflicted , RolledBack , Failed } |
| TransactionState public API. 更多... | |
| enum class | ActionOrigin { User , Game , Script , Automation , Importer , Network } |
| ActionOrigin public API. 更多... | |
| enum class | SelectionDomain { Scene , Asset , Graph , Timeline , UI , Custom } |
| SelectionDomain public API. 更多... | |
| enum class | TaskState { Queued , Running , Succeeded , Failed , Cancelled } |
| Observable lifecycle of a background editor task. 更多... | |
函数 | |
| Result< ProviderHandle > | registerStaticProvider (ExtensionProviderRegistry ®istry, ExtensionDescriptor descriptor, CapabilityId capability, std::shared_ptr< void > implementation) |
| Register one owned capability behind the standard provider lifecycle. | |
| template<class Tag > | |
| eve::StrongUuid< Tag > | canonicalUuid (const StrongId< Tag > &id) noexcept |
| Project an authoring identifier to its canonical UUID value. | |
| property_access::PropertyDescriptor | toPresentationDescriptor (const PropertyDescriptor &source) |
| To presentation descriptor. | |
| eve::Value | toPresentationValue (const Value &value) |
| To presentation value. | |
| Value | toEditingValue (const eve::Value &value) |
| To editing value. | |
| Result< void > | validatePropertyValue (const PropertyDescriptor &descriptor, const Value &value) |
| Validate property value. | |
| constexpr PropertyFlag | operator| (PropertyFlag left, PropertyFlag right) |
| Operator |. | |
| constexpr PropertyFlag | operator& (PropertyFlag left, PropertyFlag right) |
| Operator &. | |
| constexpr bool | hasPropertyFlag (PropertyFlag value, PropertyFlag flag) |
| True when property flag. | |
| Diagnostic | ruleDiagnostic (eve::DiagnosticCode code, RuleId rule, DiagnosticSeverity severity, std::string message) |
| Build a common diagnostic carrying an open editing rule identity. | |
| RuleId | diagnosticRule (const Diagnostic &diagnostic) |
| Return the projected editing rule, or an empty RuleId when absent. | |
| template<class T > | |
| Result< T > | applied (T value, std::vector< Diagnostic > diagnostics={}) |
| Construct an Applied result with an owning payload and optional diagnostics. | |
| template<class T = void> requires std::is_void_v<T> | |
| Result< void > | applied (std::vector< Diagnostic > diagnostics={}) |
| Construct an Applied void result with optional diagnostics. | |
| Result< void > | noOp (std::vector< Diagnostic > diagnostics={}) |
| Construct a successful void result for an operation that made no change. | |
| Result< void > | pending (std::vector< Diagnostic > diagnostics={}) |
| Construct a successful void result for accepted asynchronous work. | |
| template<class T > | |
| Result< T > | failed (Status status, eve::DiagnosticCode code, RuleId rule, std::string message) |
| Construct a failed editing result with explicit status and diagnostic categories. | |
| constexpr eve::DiagnosticCode | diagnosticCodeForStatus (Status status) noexcept |
| Coarse default diagnostic category for a failure status. | |
| template<class T > | |
| Result< T > | failed (Status status, RuleId rule, std::string message) |
| Migration convenience using the canonical coarse category for the failure status. | |
| template<class T > | |
| Result< T > | rejected (RuleId rule, std::string message, eve::DiagnosticCode code=eve::DiagnosticCode::PreconditionViolation) |
| Construct a Rejected result for invalid editing input or preconditions. | |
| std::string | editorValueToJson (const EditorValue &value) |
| Serialize an EditorValue to deterministic compact JSON. | |
| Result< EditorValue > | editorValueFromJson (const std::string &json) |
| Parse JSON into the pointer-free EditorValue protocol tree. | |
| std::string | editorValueContentHash (const EditorValue &value) |
| Stable content hash derived from deterministic JSON serialization. | |
变量 | |
| constexpr const char * | kRuleDiagnosticDetail = "rule" |
| Reserved DiagnosticDetails key containing an editing RuleId projection. | |
类型定义说明
◆ AssetGuid
| using eve::editing::AssetGuid = typedef StrongId<AssetGuidTag> |
在文件 EditingIds.h 第 66 行定义.
◆ CapabilityId
| using eve::editing::CapabilityId = typedef StrongId<CapabilityIdTag> |
在文件 EditingIds.h 第 61 行定义.
◆ CommandId
| using eve::editing::CommandId = typedef StrongId<CommandIdTag> |
在文件 EditingIds.h 第 58 行定义.
◆ Diagnostic
| using eve::editing::Diagnostic = typedef eve::Diagnostic |
在文件 EditingResult.h 第 16 行定义.
◆ DiagnosticSeverity
| using eve::editing::DiagnosticSeverity = typedef eve::Severity |
在文件 EditingResult.h 第 15 行定义.
◆ DocumentId
| using eve::editing::DocumentId = typedef StrongId<DocumentIdTag> |
在文件 EditingIds.h 第 67 行定义.
◆ EditingCommandPlanner
| using eve::editing::EditingCommandPlanner = typedef std::function<Result<CommandPlan>(IEditableTarget&, const CommandRequest&)> |
Side-effect-free planner invoked with the resolved target.
在文件 EditingCommandRegistry.h 第 21 行定义.
◆ EditorStatus
| using eve::editing::EditorStatus = typedef Status |
在文件 EditingValueJson.h 第 13 行定义.
◆ EditorValue
| using eve::editing::EditorValue = typedef Value |
在文件 EditingValueJson.h 第 12 行定义.
◆ GraphNodeId
| using eve::editing::GraphNodeId = typedef StrongId<GraphNodeIdTag> |
在文件 EditingIds.h 第 68 行定义.
◆ GraphPinId
| using eve::editing::GraphPinId = typedef StrongId<GraphPinIdTag> |
在文件 EditingIds.h 第 69 行定义.
◆ ObjectId
| using eve::editing::ObjectId = typedef StrongId<ObjectIdTag> |
在文件 EditingIds.h 第 65 行定义.
◆ PlanId
| using eve::editing::PlanId = typedef StrongId<PlanIdTag> |
在文件 EditingIds.h 第 63 行定义.
◆ Result
| using eve::editing::Result = typedef eve::Result<T> |
在文件 EditingResult.h 第 19 行定义.
◆ Revision
| using eve::editing::Revision = typedef std::uint64_t |
在文件 EditingProtocol.h 第 11 行定义.
◆ RuleId
| using eve::editing::RuleId = typedef StrongId<RuleIdTag> |
在文件 EditingIds.h 第 60 行定义.
◆ SessionId
| using eve::editing::SessionId = typedef StrongId<SessionIdTag> |
在文件 EditingIds.h 第 56 行定义.
◆ StableId
| using eve::editing::StableId = typedef StrongId<StableIdTag> |
在文件 EditingIds.h 第 64 行定义.
◆ Status
| using eve::editing::Status = typedef eve::StatusCode |
在文件 EditingResult.h 第 14 行定义.
◆ StrongId
| using eve::editing::StrongId = typedef eve::UuidIdAdapter<Tag> |
UUID-backed identifier used by authoring contracts.
- 模板参数
-
Tag Empty domain tag preventing unrelated identifiers from mixing.
在文件 EditingIds.h 第 18 行定义.
◆ TargetId
| using eve::editing::TargetId = typedef StrongId<TargetIdTag> |
在文件 EditingIds.h 第 57 行定义.
◆ TaskId
| using eve::editing::TaskId = typedef StrongId<TaskIdTag> |
在文件 EditingIds.h 第 70 行定义.
◆ ToolId
| using eve::editing::ToolId = typedef StrongId<ToolIdTag> |
在文件 EditingIds.h 第 59 行定义.
◆ TransactionId
| using eve::editing::TransactionId = typedef StrongId<TransactionIdTag> |
在文件 EditingIds.h 第 62 行定义.
枚举类型说明
◆ ActionOrigin
|
strong |
ActionOrigin public API.
| 枚举值 | |
|---|---|
| User | |
| Game | |
| Script | |
| Automation | |
| Importer | |
| Network | |
在文件 EditingProtocol.h 第 94 行定义.
◆ CommandSource
|
strong |
Source that initiated an authoring command.
| 枚举值 | |
|---|---|
| Menu | |
| Shortcut | |
| Toolbar | |
| ContextMenu | |
| DragDrop | |
| Pointer | |
| InlineEdit | |
| Palette | |
| Script | |
| Automation | |
| Api | |
在文件 EditingCommandTypes.h 第 6 行定义.
◆ FieldWriteStatus
|
strong |
◆ GraphPinDirection
|
strong |
◆ HostKind
|
strong |
HostKind public API.
| 枚举值 | |
|---|---|
| Developer | |
| RuntimeBuilder | |
| RuntimeAdmin | |
| Automation | |
在文件 EditingProtocol.h 第 13 行定义.
◆ PropertyFlag
|
strong |
PropertyFlag public API.
| 枚举值 | |
|---|---|
| None | |
| ReadOnly | |
| Advanced | |
| EditorOnly | |
| Runtime | |
| Replicated | |
| Transient | |
| Dangerous | |
| MultiEdit | |
在文件 EditingProperty.h 第 42 行定义.
◆ PropertyReadState
|
strong |
◆ PropertySetMode
|
strong |
◆ PropertyType
|
strong |
PropertyType public API.
| 枚举值 | |
|---|---|
| Bool | |
| Int | |
| Float | |
| String | |
| Enum | |
| Color | |
| Vec2 | |
| Vec3 | |
| Vec4 | |
| Transform | |
| AssetRef | |
| ObjectRef | |
| Struct | |
| Array | |
| Map | |
| Action | |
| ReadOnlyText | |
在文件 EditingProperty.h 第 21 行定义.
◆ SelectionDomain
|
strong |
◆ TaskState
|
strong |
Observable lifecycle of a background editor task.
| 枚举值 | |
|---|---|
| Queued | |
| Running | |
| Succeeded | |
| Failed | |
| Cancelled | |
在文件 EditingTaskService.h 第 21 行定义.
◆ ThreadAffinity
|
strong |
◆ TransactionState
|
strong |
TransactionState public API.
| 枚举值 | |
|---|---|
| Planning | |
| Previewing | |
| PendingAuthority | |
| Committed | |
| Rejected | |
| Conflicted | |
| RolledBack | |
| Failed | |
在文件 EditingProtocol.h 第 83 行定义.
函数说明
◆ applied() [1/2]
requires std::is_void_v<T>
| Result< void > eve::editing::applied | ( | std::vector< Diagnostic > | diagnostics = {} | ) |
◆ applied() [2/2]
| Result< T > eve::editing::applied | ( | T | value, |
| std::vector< Diagnostic > | diagnostics = {} |
||
| ) |
Construct an Applied result with an owning payload and optional diagnostics.
Applied.
Success.
在文件 EditingResult.h 第 43 行定义.
被这些函数引用 eve::gpuagents_editing::GpuAgentsRuntimeApplier::apply(), eve::procgen_editing::PcgInstancePublisher::apply(), eve::gpuagents_editing::GpuAgentsDocumentTarget::applyDomainOperation(), eve::procgen_editing::RoadNetworkEditTarget::applyDomainOperation(), eve::procgen_editing::PcgInstancePublisher::applyPublish(), eve::procgen_editing::RoadNetworkEditTarget::commitDomainState(), eve::procgen_editing::PcgPointGraphDomain::compile(), eve::procgen_editor::ProcgenEditorModule::TargetFactory::create(), eve::gpuagents_editing::GpuAgentsDocumentTarget::loadSnapshot(), eve::procgen_editing::RoadNetworkEditTarget::loadSnapshot(), eve::procgen_editing::RoadNetworkEditTarget::makeAddEdge(), eve::procgen_editing::RoadNetworkEditTarget::makeAddEdgeAndConnect(), eve::procgen_editing::RoadNetworkEditTarget::makeAddLaneLink(), eve::procgen_editing::RoadNetworkEditTarget::makeAddNode(), eve::procgen_editing::RoadNetworkEditTarget::makeBlockLaneLink(), eve::procgen_editing::RoadNetworkEditTarget::makeConnectAllTurns(), eve::procgen_editing::RoadNetworkEditTarget::makeConnectEdgeIntersection(), eve::procgen_editing::RoadNetworkEditTarget::makeConnectNodeAtPosition(), eve::procgen_editing::RoadNetworkEditTarget::makeDetachEdgeEndpoint(), eve::procgen_editing::ProcgenScriptDocumentTarget::makeLoadModule(), eve::procgen_editing::RoadNetworkEditTarget::makeMoveNode(), eve::procgen_editing::RoadNetworkEditTarget::makeReconnectEdgeEndpoint(), eve::procgen_editing::RoadNetworkEditTarget::makeRemoveEdge(), eve::procgen_editing::RoadNetworkEditTarget::makeRemoveLaneLink(), eve::procgen_editing::RoadNetworkEditTarget::makeRemoveNode(), eve::procgen_editing::RoadNetworkEditTarget::makeReverseEdge(), eve::procgen_editing::ProcgenScriptDocumentTarget::makeSet(), eve::procgen_editing::RoadNetworkEditTarget::makeSetEdgeControlPoints(), eve::procgen_editing::RoadNetworkEditTarget::makeSetEdgeLaneCounts(), eve::procgen_editing::RoadNetworkEditTarget::makeSetEdgeStyle(), eve::procgen_editing::RoadNetworkEditTarget::makeSetNodeJunctionControl(), eve::procgen_editing::RoadNetworkEditTarget::makeSetNodeJunctionRadius(), eve::procgen_editing::RoadNetworkEditTarget::makeSplitEdge(), eve::procgen_editing::RoadNetworkEditTarget::makeSplitEdgeAtPosition(), eve::procgen_editing::RoadNetworkEditTarget::makeUnblockLaneLink(), eve::procgen_editing::ProcgenScriptDocumentTarget::parseSpec(), eve::procgen_editing::PcgInstancePublisher::planPublish(), eve::procgen_editing::PcgInstancePublisher::planRemove(), eve::procgen_editing::SplinePathBinder::refreshResult() , 以及 eve::procgen_editing::registerRoadNetworkEditingCommands().
◆ canonicalUuid()
|
noexcept |
Project an authoring identifier to its canonical UUID value.
- 模板参数
-
Tag Authoring domain tag.
- 参数
-
id Compatibility-aware identifier.
- 返回
- Canonical UUID, including a deterministic projection for legacy text.
Canonical uuid.
在文件 EditingIds.h 第 36 行定义.
引用了 canonicalUuid().
被这些函数引用 canonicalUuid().
◆ diagnosticCodeForStatus()
|
constexprnoexcept |
Coarse default diagnostic category for a failure status.
在文件 EditingResult.h 第 82 行定义.
引用了 eve::Cancelled, eve::Conflict, eve::Failed, eve::None, eve::NotFound, eve::PreconditionViolation, status , 以及 eve::Unsupported.
被这些函数引用 eve::editing::LocalWorldAuthority::compensate() , 以及 failed().
◆ diagnosticRule()
|
inline |
Return the projected editing rule, or an empty RuleId when absent.
在文件 EditingResult.h 第 34 行定义.
引用了 eve::Diagnostic::details(), key, kRuleDiagnosticDetail , 以及 value.
被这些函数引用 eve::fluids_editing::FluidSimulationRuntimeApplier::apply(), eve::animation_editing::AnimationClipRuntimeBuilder::build(), eve::editor::editorRuleFrom() , 以及 eve::map_editing::MapRoadMeshPublisher::publish().
◆ editorValueContentHash()
| EVENGINE_API_PLATFORM std::string eve::editing::editorValueContentHash | ( | const EditorValue & | value | ) |
Stable content hash derived from deterministic JSON serialization.
在文件 EditingValueJson.cpp 第 361 行定义.
引用了 editorValueContentHash(), editorValueToJson() , 以及 value.
被这些函数引用 editorValueContentHash().
◆ editorValueFromJson()
| EVENGINE_API_PLATFORM Result< EditorValue > eve::editing::editorValueFromJson | ( | const std::string & | json | ) |
Parse JSON into the pointer-free EditorValue protocol tree.
- 参数
-
json UTF-8 JSON text.
- 返回
- Parsed value or a structured parse diagnostic.
在文件 EditingValueJson.cpp 第 352 行定义.
引用了 editorValueFromJson() , 以及 value.
被这些函数引用 eve::definitions_editing::DefinitionDocument::applyDomainOperation(), editorValueFromJson(), eve::definitions_editing::DefinitionDocument::makeSetField(), eve::definitions_editing::DefinitionSchemaFormTarget::read(), eve::scene_editor::SceneEditorSession::restoreJson(), eve::scene_editor::SceneEditorSession::restorePhysicsPlacementColliderCacheJson() , 以及 eve::definitions_editing::DefinitionSchemaFormTarget::validate().
◆ editorValueToJson()
| EVENGINE_API_PLATFORM std::string eve::editing::editorValueToJson | ( | const EditorValue & | value | ) |
Serialize an EditorValue to deterministic compact JSON.
在文件 EditingValueJson.cpp 第 346 行定义.
引用了 editorValueToJson() , 以及 value.
被这些函数引用 eve::definitions_editing::DefinitionDocument::applyDomainOperation(), editorValueContentHash(), editorValueToJson(), eve::scene_editor::SceneEditorSession::saveJson() , 以及 eve::scene_editor::SceneEditorSession::savePhysicsPlacementColliderCacheJson().
◆ failed() [1/2]
| Result< T > eve::editing::failed | ( | Status | status, |
| eve::DiagnosticCode | code, | ||
| RuleId | rule, | ||
| std::string | message | ||
| ) |
Construct a failed editing result with explicit status and diagnostic categories.
Failed.
Ev assert.
Failure.
Failure.
Moves move.
在文件 EditingResult.h 第 70 行定义.
引用了 code, EV_ASSERT, eve::Result< T >::failure(), eve::Status::failure(), message, ruleDiagnostic() , 以及 status.
被这些函数引用 eve::scene_editing::SceneHostEditorTarget::componentLinks(), eve::scene_editing::SceneComponentPayloadRegistry::componentPayloads(), eve::scene_editor::ScenePhysicsPlacementBackend::create(), eve::biome_editing::BiomeDocumentRuntime::preview(), eve::editor::MemoryAssetDatabase::publishBatch() , 以及 eve::editor::ScenePrefabService::revertOverrides().
◆ failed() [2/2]
| Result< T > eve::editing::failed | ( | Status | status, |
| RuleId | rule, | ||
| std::string | message | ||
| ) |
Migration convenience using the canonical coarse category for the failure status.
Failed.
在文件 EditingResult.h 第 101 行定义.
引用了 diagnosticCodeForStatus(), message , 以及 status.
◆ hasPropertyFlag()
|
constexpr |
True when property flag.
在文件 EditingProperty.h 第 63 行定义.
引用了 hasPropertyFlag() , 以及 value.
被这些函数引用 hasPropertyFlag() , 以及 eve::definitions_editing::DefinitionSchemaFormTarget::makeSet().
◆ noOp()
|
inline |
Construct a successful void result for an operation that made no change.
在文件 EditingResult.h 第 58 行定义.
被这些函数引用 eve::editor::ProjectSettingsTarget::applyDomainOperation(), eve::decal_editing::DecalRuntimeBinding::clear(), eve::editor::ActionTimelineWidget::inspectSelection(), eve::audio_editing::AudioAuditionTransport::pause(), eve::editor::ActionTimelineWidget::pointerDown(), eve::editor::EditorTargetCoordinator::registerTarget(), eve::editor::ActionTimelineEditor::setItemEnabled(), eve::editor::ActionTimelineEditor::setMontageSettings(), eve::audio_editing::AudioAuditionTransport::stop() , 以及 eve::editor::EditorTargetCoordinator::unregisterTarget().
◆ operator&()
|
constexpr |
◆ operator|()
|
constexpr |
◆ pending()
|
inline |
Construct a successful void result for accepted asynchronous work.
在文件 EditingResult.h 第 63 行定义.
◆ registerStaticProvider()
| EVENGINE_API_PLATFORM Result< ProviderHandle > eve::editing::registerStaticProvider | ( | ExtensionProviderRegistry & | registry, |
| ExtensionDescriptor | descriptor, | ||
| CapabilityId | capability, | ||
| std::shared_ptr< void > | implementation | ||
| ) |
Register one owned capability behind the standard provider lifecycle.
- 参数
-
registry Destination registry owned by the host. descriptor Owning extension description; capabilities must contain capability. capability Capability id returned by the provider. implementation Type-erased owning capability implementation.
- 返回
- Generation-qualified provider handle.
在文件 EditingExtension.cpp 第 164 行定义.
引用了 descriptor , 以及 eve::editing::ExtensionProviderRegistry::registerProvider().
被这些函数引用 eve::audio_editing::registerEditingProvider() , 以及 eve::physics_editing::registerEditingProvider().
◆ rejected()
| Result< T > eve::editing::rejected | ( | RuleId | rule, |
| std::string | message, | ||
| eve::DiagnosticCode | code = eve::DiagnosticCode::PreconditionViolation |
||
| ) |
Construct a Rejected result for invalid editing input or preconditions.
Rejected.
在文件 EditingResult.h 第 108 行定义.
◆ ruleDiagnostic()
|
inline |
Build a common diagnostic carrying an open editing rule identity.
在文件 EditingResult.h 第 25 行定义.
引用了 code, kRuleDiagnosticDetail, message , 以及 eve::UuidIdAdapter< Tag >::value().
被这些函数引用 eve::editor::SimulationPreviewController::bake(), eve::animation_editing::AnimationSkeletonOverlayAdapter::build(), eve::editor::DialogueSubtitlePreviewService::build(), eve::gpuagents_editor::GpuAgentsPreviewService::build(), eve::dialogue_editing::DialogueGraphRuntimeBuilder::build(), eve::procgen_editing::SplinePathGizmoBuilder::build(), eve::editor::UiSkinPreviewPlanner::build(), eve::ui_editing::UiDocumentPreviewService::build(), eve::animation_editing::ProceduralBoneOverlayBuilder::build(), eve::animation_editing::SkeletonOverlayBuilder::build(), eve::animation_editing::AnimationStateGraphDomain::canConnect(), eve::dialogue_editing::DialogueGraphDomain::canConnect(), eve::material_editing::MaterialGraphDomain::canConnect(), eve::particles_editing::ParticleGraphDomain::canConnect(), eve::queue_editing::RuntimeQueueInspector::capture(), eve::queue_editing::RuntimeQueueInspector::capture(), eve::profiler_editing::EditorProfilerCollector::collect(), eve::domain_gizmo_editing::EditorGizmoPreviewBuilder::collider(), eve::editing::LocalWorldAuthority::compensate(), eve::material_editing::MaterialGraphDomain::compile(), eve::editing::GraphDocument::connect(), eve::network_editing::NetworkTelemetryModel::diagnostics(), eve::profiler_editing::EditorProfilerModel::diagnostics(), eve::editor::EditorValidationService::EditorValidationService(), eve::editor::EditConstraintPipeline::evaluateChecked(), failed(), eve::audio_editing::AudioWaveformService::generate(), eve::procgen_editing::RoadNetworkEditTarget::gizmo(), eve::audio_editing::AudioImportDiagnosticsService::inspect(), eve::sceneloader_editing::SceneImportPreflightRuntime::inspect(), eve::editor::ScenePrefabService::inspectDependencies(), eve::crowd_editing::CrowdDocumentTarget::overlay(), eve::map_editing::MapObjectImporter::plan(), eve::particles_editing::ParticleGraphDomain::preview(), eve::building_editing::BuildingPlacementTarget::preview(), eve::editor::EditorCurveDocument::preview(), eve::building_editing::BuildingPlacementTarget::previewEdgeCubicBezier(), eve::map_editing::MapDocumentTarget::previewRoad(), eve::editor::ProjectSettingsTarget::read(), eve::editor::DocumentService::reconcileExternal(), eve::editor::MaterialPreviewService::render(), eve::editor::OffscreenMaterialPreviewRenderer::render(), eve::editor::DiskAssetCatalog::scan(), eve::archspace_editing::ArchSpaceDocumentTarget::validate(), eve::audio_editing::AudioEffectChainTarget::validate(), eve::audio_editing::AudioSourceTarget::validate(), eve::camera_editing::CameraDocumentTarget::validate(), eve::crowd_editing::CrowdDocumentTarget::validate(), eve::definitions_editing::DefinitionSchemaFormTarget::validate(), eve::input_editing::InputMapTarget::validate(), eve::lighting_editing::Light3DDocumentTarget::validate(), eve::lighting_editing::EnvironmentDocumentTarget::validate(), eve::material_editing::MaterialDocumentTarget::validate(), eve::hd2d_editing::Hd2dDocumentTarget::validate(), eve::map_editing::MapDocumentTarget::validate(), eve::physics_editing::PhysicsColliderTarget::validate(), eve::physics_editing::PhysicsJointTarget::validate(), eve::housegen_editing::HouseGenDocumentTarget::validate(), eve::sceneloader_editing::SceneImportTarget::validate(), eve::social_editing::SocialDocumentTarget::validate(), eve::spritestack_editing::SpriteStackDocumentTarget::validate(), eve::stylize_editing::StylizeRecipeTarget::validate(), eve::virtualgeometry_editing::VirtualGeometryDocumentTarget::validate(), eve::voxel_editing::VoxelCatalogTarget::validate(), eve::voxel_editing::VoxelPaletteTarget::validate(), eve::definitions_editing::DefinitionDocument::validate() , 以及 eve::scene_editing::SceneComponentPropertyBindings::validateComponent().
◆ toEditingValue()
| EVENGINE_API_PLATFORM Value eve::editing::toEditingValue | ( | const eve::Value & | value | ) |
To editing value.
在文件 EditingProperty.cpp 第 116 行定义.
引用了 current, key, toEditingValue() , 以及 value.
被这些函数引用 eve::scene_editor::exposeSceneEditorSessions(), toEditingValue() , 以及 eve::editor::toEditorValue().
◆ toPresentationDescriptor()
| EVENGINE_API_PLATFORM property_access::PropertyDescriptor eve::editing::toPresentationDescriptor | ( | const PropertyDescriptor & | source | ) |
To presentation descriptor.
在文件 EditingProperty.cpp 第 75 行定义.
引用了 eve::property_access::PropertyDescriptor::category, eve::property_access::PropertyDescriptor::choices, eve::property_access::PropertyDescriptor::defaultValue, eve::property_access::PropertyDescriptor::description, eve::property_access::PropertyDescriptor::displayName, eve::property_access::PropertyDescriptor::flags, eve::property_access::PropertyDescriptor::kind, eve::editing::NumericMetadata::maximum, eve::editing::NumericMetadata::minimum, eve::property_access::PropertyDescriptor::numeric, eve::property_access::PropertyDescriptor::path, eve::editing::NumericMetadata::precision, eve::property_access::PropertyDescriptor::presenterHint, source, eve::editing::NumericMetadata::step, toPresentationDescriptor(), toPresentationValue() , 以及 eve::editing::NumericMetadata::units.
被这些函数引用 toPresentationDescriptor() , 以及 validatePropertyValue().
◆ toPresentationValue()
| EVENGINE_API_PLATFORM eve::Value eve::editing::toPresentationValue | ( | const Value & | value | ) |
To presentation value.
在文件 EditingProperty.cpp 第 94 行定义.
引用了 current, key, toPresentationValue() , 以及 value.
被这些函数引用 eve::scene_editor::exposeSceneEditorSessions(), toPresentationDescriptor(), toPresentationValue() , 以及 validatePropertyValue().
◆ validatePropertyValue()
| EVENGINE_API_PLATFORM Result< void > eve::editing::validatePropertyValue | ( | const PropertyDescriptor & | descriptor, |
| const Value & | value | ||
| ) |
Validate property value.
在文件 EditingProperty.cpp 第 138 行定义.
引用了 eve::property_access::WriteResult::accepted, Action, descriptor, eve::editing::Value::Null, toPresentationDescriptor(), toPresentationValue(), validatePropertyValue(), eve::property_access::validatePropertyValue() , 以及 value.
被这些函数引用 eve::procgen_editing::ProcgenScriptDocumentTarget::makeSet(), eve::input_editing::InputMapTarget::makeSet(), eve::procgen_editing::TextureRecipeTarget::makeSet(), eve::sceneloader_editing::SceneImportTarget::makeSet(), eve::definitions_editing::DefinitionSchemaFormTarget::makeSet(), eve::ui_editing::UiThemeCatalogTarget::makeSet(), eve::definitions_editing::DefinitionSchemaFormTarget::validate(), eve::procgen_editing::ProcgenScriptDocumentTarget::validate(), eve::procgen_editing::TextureRecipeTarget::validate() , 以及 validatePropertyValue().
变量说明
◆ kRuleDiagnosticDetail
|
inlineconstexpr |
Reserved DiagnosticDetails key containing an editing RuleId projection.
在文件 EditingResult.h 第 22 行定义.
被这些函数引用 diagnosticRule() , 以及 ruleDiagnostic().