载入中...
搜索中...
未找到
eve::editing 命名空间参考

类

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 &registry, 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

在文件 EditingResult.h 第 16 行定义.

◆ DiagnosticSeverity

在文件 EditingResult.h 第 15 行定义.

◆ DocumentId

using eve::editing::DocumentId = typedef StrongId<DocumentIdTag>

在文件 EditingIds.h 第 67 行定义.

◆ EditingCommandPlanner

Side-effect-free planner invoked with the resolved target.

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

◆ EditorStatus

在文件 EditingValueJson.h 第 13 行定义.

◆ EditorValue

在文件 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

template<class T >
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

在文件 EditingResult.h 第 14 行定义.

◆ StrongId

template<class Tag >
using eve::editing::StrongId = typedef eve::UuidIdAdapter<Tag>

UUID-backed identifier used by authoring contracts.

模板参数
TagEmpty 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

enum class eve::editing::ActionOrigin
strong

ActionOrigin public API.

枚举值
User 
Game 
Script 
Automation 
Importer 
Network 

在文件 EditingProtocol.h 第 94 行定义.

◆ CommandSource

enum class eve::editing::CommandSource
strong

Source that initiated an authoring command.

枚举值
Menu 
Shortcut 
Toolbar 
ContextMenu 
DragDrop 
Pointer 
InlineEdit 
Palette 
Script 
Automation 
Api 

在文件 EditingCommandTypes.h 第 6 行定义.

◆ FieldWriteStatus

enum class eve::editing::FieldWriteStatus
strong

FieldWriteStatus public API.

枚举值
Applied 
Unchanged 
Rejected 

在文件 EditableTarget.h 第 211 行定义.

◆ GraphPinDirection

Direction of a typed graph pin.

枚举值
Input 
Output 

在文件 EditingGraph.h 第 14 行定义.

◆ HostKind

enum class eve::editing::HostKind
strong

HostKind public API.

枚举值
Developer 
RuntimeBuilder 
RuntimeAdmin 
Automation 

在文件 EditingProtocol.h 第 13 行定义.

◆ PropertyFlag

enum class eve::editing::PropertyFlag : std::uint64_t
strong

PropertyFlag public API.

枚举值
None 
ReadOnly 
Advanced 
EditorOnly 
Runtime 
Replicated 
Transient 
Dangerous 
MultiEdit 

在文件 EditingProperty.h 第 42 行定义.

◆ PropertyReadState

PropertyReadState public API.

枚举值
Value 
Mixed 
Missing 
Error 

在文件 EditingProperty.h 第 126 行定义.

◆ PropertySetMode

enum class eve::editing::PropertySetMode
strong

PropertySetMode public API.

枚举值
Absolute 
Relative 
Reset 

在文件 EditingProperty.h 第 136 行定义.

◆ PropertyType

enum class eve::editing::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

enum class eve::editing::SelectionDomain
strong

SelectionDomain public API.

枚举值
Scene 
Asset 
Graph 
Timeline 
UI 
Custom 

在文件 EditingSelection.h 第 9 行定义.

◆ TaskState

enum class eve::editing::TaskState
strong

Observable lifecycle of a background editor task.

枚举值
Queued 
Running 
Succeeded 
Failed 
Cancelled 

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

◆ ThreadAffinity

enum class eve::editing::ThreadAffinity
strong

ThreadAffinity public API.

枚举值
Main 
Render 
Worker 
Any 

在文件 EditingExtension.h 第 15 行定义.

◆ TransactionState

enum class eve::editing::TransactionState
strong

TransactionState public API.

枚举值
Planning 
Previewing 
PendingAuthority 
Committed 
Rejected 
Conflicted 
RolledBack 
Failed 

在文件 EditingProtocol.h 第 83 行定义.

函数说明

◆ applied() [1/2]

template<class T = void>
requires std::is_void_v<T>
Result< void > eve::editing::applied ( std::vector< Diagnostic >  diagnostics = {})

Construct an Applied void result with optional diagnostics.

Success.

在文件 EditingResult.h 第 52 行定义.

◆ applied() [2/2]

template<class T >
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()

template<class Tag >
eve::StrongUuid< Tag > eve::editing::canonicalUuid ( const StrongId< Tag > &  id)
noexcept

Project an authoring identifier to its canonical UUID value.

模板参数
TagAuthoring domain tag.
参数
idCompatibility-aware identifier.
返回
Canonical UUID, including a deterministic projection for legacy text.

Canonical uuid.

在文件 EditingIds.h 第 36 行定义.

引用了 canonicalUuid().

被这些函数引用 canonicalUuid().

◆ diagnosticCodeForStatus()

constexpr eve::DiagnosticCode eve::editing::diagnosticCodeForStatus ( Status  status)
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()

RuleId eve::editing::diagnosticRule ( const Diagnostic &  diagnostic)
inline

◆ 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()

◆ editorValueToJson()

◆ failed() [1/2]

template<class T >
Result< T > eve::editing::failed ( Status  status,
eve::DiagnosticCode  code,
RuleId  rule,
std::string  message 
)

◆ failed() [2/2]

template<class T >
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 bool eve::editing::hasPropertyFlag ( PropertyFlag  value,
PropertyFlag  flag 
)
constexpr

True when property flag.

在文件 EditingProperty.h 第 63 行定义.

引用了 hasPropertyFlag() , 以及 value.

被这些函数引用 hasPropertyFlag() , 以及 eve::definitions_editing::DefinitionSchemaFormTarget::makeSet().

◆ noOp()

◆ operator&()

constexpr PropertyFlag eve::editing::operator& ( PropertyFlag  left,
PropertyFlag  right 
)
constexpr

Operator &.

在文件 EditingProperty.h 第 59 行定义.

引用了 left , 以及 right.

◆ operator|()

constexpr PropertyFlag eve::editing::operator| ( PropertyFlag  left,
PropertyFlag  right 
)
constexpr

Operator |.

在文件 EditingProperty.h 第 55 行定义.

引用了 left , 以及 right.

◆ pending()

Result< void > eve::editing::pending ( std::vector< Diagnostic >  diagnostics = {})
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.

参数
registryDestination registry owned by the host.
descriptorOwning extension description; capabilities must contain capability.
capabilityCapability id returned by the provider.
implementationType-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()

template<class T >
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 行定义.

引用了 code , 以及 message.

◆ ruleDiagnostic()

Diagnostic eve::editing::ruleDiagnostic ( eve::DiagnosticCode  code,
RuleId  rule,
DiagnosticSeverity  severity,
std::string  message 
)
inline

Build a common diagnostic carrying an open editing rule identity.

Diagnostic.

在文件 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()

◆ toPresentationValue()

EVENGINE_API_PLATFORM eve::Value eve::editing::toPresentationValue ( const Value &  value)

◆ validatePropertyValue()

变量说明

◆ kRuleDiagnosticDetail

constexpr const char* eve::editing::kRuleDiagnosticDetail = "rule"
inlineconstexpr

Reserved DiagnosticDetails key containing an editing RuleId projection.

在文件 EditingResult.h 第 22 行定义.

被这些函数引用 diagnosticRule() , 以及 ruleDiagnostic().