载入中...
搜索中...
未找到
eve::editor::DocumentSnapshot结构体 参考
Immutable document metadata snapshot. 更多...
#include <EditorDocumentService.h>
Public 成员函数 | |
| bool | dirty () const |
| True when the latest edit revision has not been saved. | |
Public 属性 | |
| DocumentId | id |
| DocumentKey | key |
| std::string | title |
| std::string | resourceUri |
| DocumentState | state = DocumentState::Loading |
| DocumentRevision | revision |
| std::string | diskContentHash |
| std::vector< StableId > | viewIds |
| std::vector< EditorDiagnostic > | diagnostics |
详细描述
Immutable document metadata snapshot.
在文件 EditorDocumentService.h 第 53 行定义.
成员函数说明
◆ dirty()
|
inline |
True when the latest edit revision has not been saved.
在文件 EditorDocumentService.h 第 65 行定义.
引用了 eve::editor::DocumentRevision::edit, revision , 以及 eve::editor::DocumentRevision::saved.
类成员变量说明
◆ diagnostics
| std::vector<EditorDiagnostic> eve::editor::DocumentSnapshot::diagnostics |
在文件 EditorDocumentService.h 第 62 行定义.
◆ diskContentHash
| std::string eve::editor::DocumentSnapshot::diskContentHash |
◆ id
| DocumentId eve::editor::DocumentSnapshot::id |
◆ key
| DocumentKey eve::editor::DocumentSnapshot::key |
在文件 EditorDocumentService.h 第 55 行定义.
◆ resourceUri
| std::string eve::editor::DocumentSnapshot::resourceUri |
在文件 EditorDocumentService.h 第 57 行定义.
◆ revision
| DocumentRevision eve::editor::DocumentSnapshot::revision |
◆ state
| DocumentState eve::editor::DocumentSnapshot::state = DocumentState::Loading |
在文件 EditorDocumentService.h 第 58 行定义.
◆ title
| std::string eve::editor::DocumentSnapshot::title |
在文件 EditorDocumentService.h 第 56 行定义.
◆ viewIds
| std::vector<StableId> eve::editor::DocumentSnapshot::viewIds |
在文件 EditorDocumentService.h 第 61 行定义.
该结构体的文档由以下文件生成:
- src/modules/editor/EditorDocumentService.h