Layer, spline and placement editing capability for map presenters. 更多...
#include <MapDocument.h>
Public 成员函数 | |
| virtual | ~IMapStructureEditTarget ()=default |
| Releases IMapStructureEditTarget resources. | |
| virtual std::vector< MapLayerRecord > | mapLayers () const =0 |
| Enumerate layers in visual order. | |
| virtual std::vector< MapRoadRecord > | mapRoads () const =0 |
| Enumerate roads in stable id order. | |
| virtual std::vector< MapPlacementRecord > | mapPlacements () const =0 |
| Enumerate placements in stable id order. | |
| virtual Result< DomainOperation > | makeCreateLayer (const MapLayerRecord &layer) const =0 |
| Plan reversible layer creation. | |
| virtual Result< DomainOperation > | makeDeleteLayer (const StableId &layer) const =0 |
| Plan deletion of an empty layer. | |
| virtual Result< DomainOperation > | makeSetLayer (const MapLayerRecord &layer) const =0 |
| Plan reversible layer metadata replacement. | |
| virtual Result< DomainOperation > | makeSetRoad (const MapRoadRecord &road) const =0 |
| Plan reversible road creation or replacement. | |
| virtual Result< DomainOperation > | makeDeleteRoad (const StableId &road) const =0 |
| Plan reversible road deletion. | |
| virtual Result< DomainOperation > | makeSetPlacement (const MapPlacementRecord &placement) const =0 |
| Plan reversible placement creation or replacement. | |
| virtual Result< DomainOperation > | makeDeletePlacement (const StableId &placement) const =0 |
| Plan reversible placement deletion. | |
静态 Public 成员函数 | |
| static CapabilityId | editorCapabilityId () |
| Stable capability id for map structure operations. | |
详细描述
Layer, spline and placement editing capability for map presenters.
在文件 MapDocument.h 第 100 行定义.
构造及析构函数说明
◆ ~IMapStructureEditTarget()
|
virtualdefault |
Releases IMapStructureEditTarget resources.
成员函数说明
◆ editorCapabilityId()
|
inlinestatic |
Stable capability id for map structure operations.
在文件 MapDocument.h 第 105 行定义.
被这些函数引用 eve::map_editing::MapDocumentTarget::describe() , 以及 eve::map_editing::MapDocumentTarget::queryCapability().
◆ makeCreateLayer()
|
pure virtual |
Plan reversible layer creation.
◆ makeDeleteLayer()
|
pure virtual |
Plan deletion of an empty layer.
◆ makeDeletePlacement()
|
pure virtual |
Plan reversible placement deletion.
◆ makeDeleteRoad()
|
pure virtual |
Plan reversible road deletion.
◆ makeSetLayer()
|
pure virtual |
Plan reversible layer metadata replacement.
◆ makeSetPlacement()
|
pure virtual |
Plan reversible placement creation or replacement.
◆ makeSetRoad()
|
pure virtual |
Plan reversible road creation or replacement.
◆ mapLayers()
|
pure virtual |
Enumerate layers in visual order.
◆ mapPlacements()
|
pure virtual |
Enumerate placements in stable id order.
◆ mapRoads()
|
pure virtual |
Enumerate roads in stable id order.
该类的文档由以下文件生成:
- src/modules/map/editing/MapDocument.h