RMemoryStorage
Class in Core Module
Header: #include <src/core/RMemoryStorage.h>
Inherits: RStorage
Inherited by: RLinkedStorage
Description
Section titled “Description”Basic memory based storage.
Scriptable: This class is available in script environments.
Public Functions
Section titled “Public Functions”RMemoryStorage() |
|
| virtual | ~RMemoryStorage() |
| virtual void | beginTransaction()Starts a new transaction. |
| bool | checkRecursion(RObject::Id blockId, RObject::Id potentialChildBlockId)Checks recursively, if the given block is allowed to contain references to the potential child block. |
| virtual void | clear()Resets this storage to its initial, empty state. |
| virtual void | clearEntitySelection(QSet< RObject::Id > *affectedEntities=NULL)Clears the selection status of all entities. |
| void | clearSelectionCache() |
| void | clearVisibleCache() |
| virtual void | commitTransaction()Commits the current transaction. |
| virtual int | countSelectedEntities() const |
| virtual bool | deleteObject(RObject::Id objectId)Deletes the object with the given ID. |
| virtual void | deleteTransactionsFrom(int transactionId)Deletes all transactions with IDs from transactionId (inclusive) to the maximum transaction ID. |
| virtual int | deselectEntities(const QSet< RObject::Id > &entityIds, QSet< RObject::Id > *affectedEntities=NULL)Deselects all entities with the given IDs. |
| virtual void | deselectEntity(RObject::Id entityId, QSet< RObject::Id > *affectedEntities=NULL)Deselects the entity with the given ID. |
| virtual RObject::Id | getBlockId(const QString &blockName) const |
| virtual RObject::Id | getBlockIdAuto(const QString &blockLayoutName) const |
| virtual QString | getBlockName(RObject::Id blockId) const |
| virtual QString | getBlockNameFromHandle(RObject::Handle blockHandle) const |
| virtual QString | getBlockNameFromLayout(const QString &layoutName) const |
| virtual QString | getBlockNameFromLayout(RObject::Id layoutId) const |
| virtual QSet< QString > | getBlockNames(const QString &rxStr=RDEFAULT_QSTRING, bool undone=false) const |
| virtual RBox | getBoundingBox(bool ignoreHiddenLayers=true, bool ignoreEmpty=false) const |
| virtual RBox | getEntitiesBox(QSet< RObject::Id > &ids) const |
| virtual QVariant | getKnownVariable(RS::KnownVariable key) const |
| virtual RObject::Id | getLayerId(const QString &layerName) const |
| virtual QString | getLayerName(RObject::Id layerId) const |
| virtual QSet< QString > | getLayerNames(const QString &rxStr=RDEFAULT_QSTRING) const |
| virtual RObject::Id | getLayerStateId(const QString &layerStateName) const |
| virtual QString | getLayerStateName(RObject::Id layerStateId) const |
| virtual QSet< QString > | getLayerStateNames(const QString &rxStr=RDEFAULT_QSTRING) const |
| virtual RObject::Id | getLayoutId(const QString &layoutName) const |
| virtual QString | getLayoutName(RObject::Id layoutId) const |
| virtual QSet< QString > | getLayoutNames(const QString &rxStr=RDEFAULT_QSTRING) const |
| virtual QString | getLinetypeDescription(RObject::Id linetypeId) const |
| virtual RObject::Id | getLinetypeId(const QString &linetypeName) const |
| virtual QString | getLinetypeLabel(RObject::Id linetypeId) const |
| virtual QString | getLinetypeName(RObject::Id linetypeId) const |
| virtual QSet< QString > | getLinetypeNames() const |
| virtual QList< RLinetypePattern > | getLinetypePatterns() const |
| virtual RLineweight::Lineweight | getMaxLineweight() const |
| virtual int | getMaxTransactionId() |
| virtual RObject::Handle | getNewObjectHandle() |
| virtual RBox | getSelectionBox() const |
| virtual RTransaction | getTransaction(int transactionId) |
| virtual QVariant | getVariable(const QString &key) const |
| virtual QStringList | getVariables() const |
| virtual RObject::Id | getViewId(const QString &viewName) const |
| virtual QString | getViewName(RObject::Id viewId) const |
| virtual QSet< QString > | getViewNames() const |
| virtual bool | hasBlockEntities(RObject::Id blockId) const |
| bool | hasBlockReferenceEntities() const |
| virtual bool | hasChildEntities(RObject::Id parentId) const |
| virtual bool | hasSelection() const |
| virtual bool | isEntityVisible(const REntity &entity) const |
| virtual bool | isSelected(RObject::Id entityId) |
| virtual bool | isSelectedWorkingSet(RObject::Id entityId) |
| virtual QSet< RObject::Id > | queryAllBlockReferences() const |
| virtual QSet< RObject::Id > | queryAllBlocks(bool undone=false) |
| virtual QSet< RObject::Id > | queryAllEntities(bool undone, bool allBlocks, QList< RS::EntityType > types) |
| virtual QSet< RObject::Id > | queryAllEntities(bool undone=false, bool allBlocks=false, RS::EntityType type=RS::EntityAll) |
| virtual QSet< RObject::Id > | queryAllLayers(bool undone=false) |
| virtual QSet< RObject::Id > | queryAllLayerStates(bool undone=false) const |
| virtual QSet< RObject::Id > | queryAllLayoutBlocks(bool includeModelSpace=false, bool undone=false) const |
| virtual QSet< RObject::Id > | queryAllLayouts(bool undone) |
| virtual QSet< RObject::Id > | queryAllLinetypes() |
| virtual QSet< RObject::Id > | queryAllObjects() const |
| virtual QSet< RObject::Id > | queryAllUcs() |
| virtual QSet< RObject::Id > | queryAllViewports() const |
| virtual QSet< RObject::Id > | queryAllViews(bool undone=false) |
| virtual QSet< RObject::Id > | queryAllVisibleEntities() |
| virtual QSharedPointer< RBlock > | queryBlock(const QString &blockName) const |
| virtual QSharedPointer< RBlock > | queryBlock(RObject::Id blockId) const |
| virtual QSharedPointer< RBlock > | queryBlockDirect(const QString &blockName) const |
| virtual QSharedPointer< RBlock > | queryBlockDirect(RObject::Id blockId) const |
| virtual QSet< RObject::Id > | queryBlockEntities(RObject::Id blockId) |
| virtual QSet< RObject::Id > | queryBlockReferences(RObject::Id blockId) const |
| virtual QSet< RObject::Id > | queryBlockReferencesForLayers(const QSet< RObject::Id > &layerIds) const |
| virtual QSet< RObject::Id > | queryChildEntities(RObject::Id parentId, RS::EntityType type=RS::EntityAll) |
| virtual QSharedPointer< RDimStyle > | queryDimStyle() const |
| virtual QSharedPointer< RDimStyle > | queryDimStyleDirect() const |
| virtual QSharedPointer< RDocumentVariables > | queryDocumentVariables() const |
| virtual QSharedPointer< RDocumentVariables > | queryDocumentVariablesDirect() const |
| virtual QSharedPointer< REntity > | queryEntity(RObject::Id objectId) const |
| virtual QSharedPointer< REntity > | queryEntityDirect(RObject::Id objectId) const |
| virtual QSet< RObject::Id > | queryInfiniteEntities() const |
| virtual QSharedPointer< RLayer > | queryLayer(const QString &layerName) const |
| virtual QSharedPointer< RLayer > | queryLayer(RObject::Id layerId) const |
| virtual QSet< RObject::Id > | queryLayerBlockEntities(RObject::Id layerId, RObject::Id blockId) |
| virtual QSharedPointer< RLayer > | queryLayerDirect(RObject::Id layerId) const |
| virtual QSet< RObject::Id > | queryLayerEntities(RObject::Id layerId, bool allBlocks=false) |
| virtual QSharedPointer< RLayerState > | queryLayerState(const QString &layerStateName) const |
| virtual QSharedPointer< RLayerState > | queryLayerState(RObject::Id layerStateId) const |
| virtual QSharedPointer< RLayerState > | queryLayerStateDirect(RObject::Id layerStateId) const |
| virtual QSharedPointer< RLayout > | queryLayout(const QString &layoutName) const |
| virtual QSharedPointer< RLayout > | queryLayout(RObject::Id layoutId) const |
| virtual QSharedPointer< RLayout > | queryLayoutDirect(RObject::Id layoutId) const |
| virtual QSharedPointer< RLinetype > | queryLinetype(const QString &linetypeName) const |
| virtual QSharedPointer< RLinetype > | queryLinetype(RObject::Id linetypeId) const |
| virtual QSharedPointer< RLinetype > | queryLinetypeDirect(RObject::Id linetypeId) const |
| virtual QSharedPointer< RObject > | queryObject(RObject::Id objectId) const |
| virtual QSharedPointer< RObject > | queryObjectByHandle(RObject::Handle objectHandle) const |
| virtual QSharedPointer< RObject > | queryObjectByHandleDirect(RObject::Handle objectHandle) const |
| virtual RObject * | queryObjectCC(RObject::Id objectId) const |
| virtual QSharedPointer< RObject > | queryObjectDirect(RObject::Id objectId) const |
| virtual QSet< RObject::Id > | querySelectedEntities() const |
| virtual QSet< RObject::Id > | querySelectedLayerEntities(RObject::Id layerId, bool allBlocks=false) |
| virtual QSet< RObject::Id > | querySelectedLayers() const |
| virtual QSharedPointer< RUcs > | queryUcs(const QString &ucsName) const |
| virtual QSharedPointer< RUcs > | queryUcs(RObject::Id ucsId) const |
| virtual QSharedPointer< RUcs > | queryUcsDirect(RObject::Id ucsId) const |
| virtual QSharedPointer< RView > | queryView(const QString &viewName) const |
| virtual QSharedPointer< RView > | queryView(RObject::Id viewId) const |
| virtual QSharedPointer< REntity > | queryVisibleEntityDirect(RObject::Id objectId) const |
| virtual QSet< RObject::Id > | queryWorkingSetEntities() |
| virtual bool | removeObject(QSharedPointer< RObject > object) |
| virtual void | removeVariable(const QString &key)Removes the custom variable with the given key. |
| virtual void | resetTransactionStack() |
| virtual void | rollbackTransaction()Rolls the current transaction back in order to cancel it. |
| virtual bool | saveObject(QSharedPointer< RObject > object, bool checkBlockRecursion=true, bool keepHandles=false, bool *overwrite=NULL)Saves the given object to the storage. |
| virtual void | saveTransaction(RTransaction &transaction)Saves the given transaction. |
| virtual void | selectAllEntities(QSet< RObject::Id > *affectedEntities=NULL)Sets the selection status of all entities. |
| virtual int | selectEntities(const QSet< RObject::Id > &entityIds, bool add=false, QSet< RObject::Id > *affectedEntities=NULL)Selects all entities with the given IDs. |
| virtual void | selectEntity(RObject::Id entityId, bool add=false, QSet< RObject::Id > *affectedEntities=NULL)Selects the entity with the given ID. |
| virtual void | setCurrentBlock(RObject::Id blockId) |
| virtual void | setEntityParentId(REntity &entity, RObject::Id parentId) |
| void | setEntitySelected(QSharedPointer< REntity > entity, bool on, QSet< RObject::Id > *affectedEntities=NULL, bool onlyDescend=false)Selects first the top most parent in the entity hierarchy and then all children of it. |
| virtual void | setKnownVariable(RS::KnownVariable key, const QVariant &value, RTransaction *transaction=NULL)Sets a known DXF/DWG variable for this document. |
| virtual void | setLastTransactionId(int transactionId)Sets the ID of the last created transaction. |
| virtual void | setObjectHandle(RObject &object, RObject::Handle objectHandle) |
| virtual void | setUndoStatus(RObject &object, bool status) |
| virtual bool | setUndoStatus(RObject::Id objectId, bool status) |
| virtual void | setVariable(const QString &key, const QVariant &value, bool overwrite=true)Sets a custom variable in the context of this document. |
| virtual void | toggleUndoStatus(QSet< RObject::Id > &objects)Toggles the current undo status of all given objects. |
| virtual void | toggleUndoStatus(RObject::Id object)Toggles the current undo status of the given object. |
| virtual void | update()Clear caches: |
| void | updateSelectedEntityMap() const |
| void | updateSelectedLayerMap() const |
| void | updateVisibleCache() const |
Protected Attributes
Section titled “Protected Attributes”| QHash< RObject::Id, QHash< RObject::Id, QSharedPointer< REntity > > > | blockEntityMap |
| QHash< RObject::Id, QSharedPointer< RBlock > > | blockMap |
| RBox | boundingBox Bounding boxes for ignoreHiddenLayers on/off and ignoreEmpty on/off. |
| bool | boundingBoxDirty |
| QMultiHash< RObject::Id, RObject::Id > | childMap maps parent entity IDs to child entity IDs |
| QSharedPointer< RDimStyle > | dimStyle |
| QSharedPointer< RDocumentVariables > | documentVariables |
| QHash< RObject::Id, QSharedPointer< REntity > > | entityMap |
| bool | inTransaction |
| QHash< RObject::Id, QSharedPointer< RLayer > > | layerMap |
| QHash< QString, QSharedPointer< RLayer > > | layerNameMap |
| QHash< RObject::Id, QSharedPointer< RLayerState > > | layerStateMap |
| QHash< RObject::Id, QSharedPointer< RLayout > > | layoutMap |
| QHash< RObject::Id, QSharedPointer< RLinetype > > | linetypeMap |
| RLineweight::Lineweight | maxLineweight |
| QHash< RObject::Handle, QSharedPointer< RObject > > | objectHandleMap |
| QHash< RObject::Id, QSharedPointer< RObject > > | objectMap |
| QHash< RObject::Id, QSharedPointer< REntity > > | selectedEntityMap |
| bool | selectedEntityMapDirty |
| QHash< RObject::Id, QSharedPointer< RLayer > > | selectedLayerMap |
| bool | selectedLayerMapDirty |
| QHash< int, RTransaction > | transactionMap |
| QHash< RS::EntityType, QHash< RObject::Id, QSharedPointer< RObject > > > | typeObjectMap |
| QMap< QString, QString > | variableCaseMap |
| QHash< QString, QVariant > | variables |
| QHash< RObject::Id, QSharedPointer< REntity > > | visibleEntityMap |
| bool | visibleEntityMapDirty |
Member Documentation
Section titled “Member Documentation”RMemoryStorage
Section titled “RMemoryStorage”RMemoryStorage::RMemoryStorage()All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD.
~RMemoryStorage
Section titled “~RMemoryStorage”virtual RMemoryStorage::~RMemoryStorage()virtual
beginTransaction
Section titled “beginTransaction”virtual void RMemoryStorage::beginTransaction()virtual
Starts a new transaction.
This function is called before something is stored in the storage.
Reimplemented from beginTransaction.
checkRecursion
Section titled “checkRecursion”bool RMemoryStorage::checkRecursion(RObject::Id blockId, RObject::Id potentialChildBlockId)Checks recursively, if the given block is allowed to contain references to the potential child block.
Returns: true if a recusrion has been found.
virtual void RMemoryStorage::clear()virtual
Resets this storage to its initial, empty state.
Reimplemented from clear.
Reimplemented in clear.
clearEntitySelection
Section titled “clearEntitySelection”virtual void RMemoryStorage::clearEntitySelection(QSet< RObject::Id > *affectedEntities=NULL)virtual
Clears the selection status of all entities.
Reimplemented from clearEntitySelection.
clearSelectionCache
Section titled “clearSelectionCache”void RMemoryStorage::clearSelectionCache()clearVisibleCache
Section titled “clearVisibleCache”void RMemoryStorage::clearVisibleCache()commitTransaction
Section titled “commitTransaction”virtual void RMemoryStorage::commitTransaction()virtual
Commits the current transaction.
This function is called after something has been stored in the storage.
Reimplemented from commitTransaction.
countSelectedEntities
Section titled “countSelectedEntities”virtual int RMemoryStorage::countSelectedEntities() constvirtual const
Returns: Number of selected entities.
Reimplemented from countSelectedEntities.
deleteObject
Section titled “deleteObject”virtual bool RMemoryStorage::deleteObject(RObject::Id objectId)virtual
Deletes the object with the given ID.
Reimplemented from deleteObject.
Reimplemented in deleteObject.
deleteTransactionsFrom
Section titled “deleteTransactionsFrom”virtual void RMemoryStorage::deleteTransactionsFrom(int transactionId)virtual
Deletes all transactions with IDs from transactionId (inclusive) to the maximum transaction ID.
This is called if some transactions have been undone and then a redo is triggered. All undone transactions have to be deleted at this point.
Reimplemented from deleteTransactionsFrom.
deselectEntities
Section titled “deselectEntities”virtual int RMemoryStorage::deselectEntities(const QSet< RObject::Id > &entityIds, QSet< RObject::Id > *affectedEntities=NULL)virtual
Deselects all entities with the given IDs.
Parameters:
affected: Optional pointer to an empty set of entity IDs. After the call, this set will contain all entity IDs of entities that were affected by the call.
Reimplemented from deselectEntities.
deselectEntity
Section titled “deselectEntity”virtual void RMemoryStorage::deselectEntity(RObject::Id entityId, QSet< RObject::Id > *affectedEntities=NULL)virtual
Deselects the entity with the given ID.
Parameters:
affected: Optional pointer to an empty set of entity IDs. After the call, this set will contain all entity IDs of entities that were affected by the call.
Reimplemented from deselectEntity.
getBlockId
Section titled “getBlockId”virtual RBlock::Id RMemoryStorage::getBlockId(const QString &blockName) constvirtual const
Reimplemented from getBlockId.
Reimplemented in getBlockId.
getBlockIdAuto
Section titled “getBlockIdAuto”virtual RBlock::Id RMemoryStorage::getBlockIdAuto(const QString &blockLayoutName) constvirtual const
Reimplemented from getBlockIdAuto.
Reimplemented in getBlockIdAuto.
getBlockName
Section titled “getBlockName”virtual QString RMemoryStorage::getBlockName(RObject::Id blockId) constvirtual const
Reimplemented from getBlockName.
Reimplemented in getBlockName.
getBlockNameFromHandle
Section titled “getBlockNameFromHandle”virtual QString RMemoryStorage::getBlockNameFromHandle(RObject::Handle blockHandle) constvirtual const
Reimplemented from getBlockNameFromHandle.
Reimplemented in getBlockNameFromHandle.
getBlockNameFromLayout
Section titled “getBlockNameFromLayout”virtual QString RMemoryStorage::getBlockNameFromLayout(const QString &layoutName) constvirtual const
Reimplemented from getBlockNameFromLayout.
Reimplemented in getBlockNameFromLayout.
getBlockNameFromLayout
Section titled “getBlockNameFromLayout”virtual QString RMemoryStorage::getBlockNameFromLayout(RObject::Id layoutId) constvirtual const
Reimplemented from getBlockNameFromLayout.
Reimplemented in getBlockNameFromLayout.
getBlockNames
Section titled “getBlockNames”virtual QSet< QString > RMemoryStorage::getBlockNames(const QString &rxStr=RDEFAULT_QSTRING, bool undone=false) constvirtual const
Reimplemented from getBlockNames.
Reimplemented in getBlockNames.
getBoundingBox
Section titled “getBoundingBox”virtual RBox RMemoryStorage::getBoundingBox(bool ignoreHiddenLayers=true, bool ignoreEmpty=false) constvirtual const
Returns: The bounding box around all visible entities.
Reimplemented from getBoundingBox.
getEntitiesBox
Section titled “getEntitiesBox”virtual RBox RMemoryStorage::getEntitiesBox(QSet< RObject::Id > &ids) constvirtual const
Reimplemented from getEntitiesBox.
getKnownVariable
Section titled “getKnownVariable”virtual QVariant RMemoryStorage::getKnownVariable(RS::KnownVariable key) constvirtual const
Returns: Value for the given DXF/DWG variable.
Reimplemented from getKnownVariable.
Reimplemented in getKnownVariable.
getLayerId
Section titled “getLayerId”virtual RLayer::Id RMemoryStorage::getLayerId(const QString &layerName) constvirtual const
Reimplemented from getLayerId.
Reimplemented in getLayerId.
getLayerName
Section titled “getLayerName”virtual QString RMemoryStorage::getLayerName(RObject::Id layerId) constvirtual const
Reimplemented from getLayerName.
Reimplemented in getLayerName.
getLayerNames
Section titled “getLayerNames”virtual QSet< QString > RMemoryStorage::getLayerNames(const QString &rxStr=RDEFAULT_QSTRING) constvirtual const
Reimplemented from getLayerNames.
Reimplemented in getLayerNames.
getLayerStateId
Section titled “getLayerStateId”virtual RLayerState::Id RMemoryStorage::getLayerStateId(const QString &layerStateName) constvirtual const
Reimplemented from getLayerStateId.
getLayerStateName
Section titled “getLayerStateName”virtual QString RMemoryStorage::getLayerStateName(RObject::Id layerStateId) constvirtual const
Reimplemented from getLayerStateName.
getLayerStateNames
Section titled “getLayerStateNames”virtual QSet< QString > RMemoryStorage::getLayerStateNames(const QString &rxStr=RDEFAULT_QSTRING) constvirtual const
Reimplemented from getLayerStateNames.
getLayoutId
Section titled “getLayoutId”virtual RLayout::Id RMemoryStorage::getLayoutId(const QString &layoutName) constvirtual const
Reimplemented from getLayoutId.
Reimplemented in getLayoutId.
getLayoutName
Section titled “getLayoutName”virtual QString RMemoryStorage::getLayoutName(RObject::Id layoutId) constvirtual const
Reimplemented from getLayoutName.
Reimplemented in getLayoutName.
getLayoutNames
Section titled “getLayoutNames”virtual QSet< QString > RMemoryStorage::getLayoutNames(const QString &rxStr=RDEFAULT_QSTRING) constvirtual const
Reimplemented from getLayoutNames.
Reimplemented in getLayoutNames.
getLinetypeDescription
Section titled “getLinetypeDescription”virtual QString RMemoryStorage::getLinetypeDescription(RObject::Id linetypeId) constvirtual const
Returns: User readable description for the given linetype.
Reimplemented from getLinetypeDescription.
Reimplemented in getLinetypeDescription.
getLinetypeId
Section titled “getLinetypeId”virtual RLinetype::Id RMemoryStorage::getLinetypeId(const QString &linetypeName) constvirtual const
Returns: Linetype ID of the given linetype name or RObject::INVALID_ID.
Reimplemented from getLinetypeId.
Reimplemented in getLinetypeId.
getLinetypeLabel
Section titled “getLinetypeLabel”virtual QString RMemoryStorage::getLinetypeLabel(RObject::Id linetypeId) constvirtual const
Returns: User readable label for the given linetype.
Reimplemented from getLinetypeLabel.
Reimplemented in getLinetypeLabel.
getLinetypeName
Section titled “getLinetypeName”virtual QString RMemoryStorage::getLinetypeName(RObject::Id linetypeId) constvirtual const
Returns: Linetype name of the given linetype.
Reimplemented from getLinetypeName.
Reimplemented in getLinetypeName.
getLinetypeNames
Section titled “getLinetypeNames”virtual QSet< QString > RMemoryStorage::getLinetypeNames() constvirtual const
Returns: List of all available linetype pattern names in this document.
Reimplemented from getLinetypeNames.
Reimplemented in getLinetypeNames.
getLinetypePatterns
Section titled “getLinetypePatterns”virtual QList< RLinetypePattern > RMemoryStorage::getLinetypePatterns() constvirtual const
Returns: List of all available linetype patterns in this document.
Reimplemented from getLinetypePatterns.
Reimplemented in getLinetypePatterns.
getMaxLineweight
Section titled “getMaxLineweight”virtual RLineweight::Lineweight RMemoryStorage::getMaxLineweight() constvirtual const
Reimplemented from getMaxLineweight.
getMaxTransactionId
Section titled “getMaxTransactionId”virtual int RMemoryStorage::getMaxTransactionId()virtual
Returns: The highest transaction ID that is in use. This should be used by deleteTransactionsFrom internally.
Reimplemented from getMaxTransactionId.
getNewObjectHandle
Section titled “getNewObjectHandle”virtual RObject::Handle RMemoryStorage::getNewObjectHandle()virtual
Reimplemented from getNewObjectHandle.
Reimplemented in getNewObjectHandle.
getSelectionBox
Section titled “getSelectionBox”virtual RBox RMemoryStorage::getSelectionBox() constvirtual const
Reimplemented from getSelectionBox.
getTransaction
Section titled “getTransaction”virtual RTransaction RMemoryStorage::getTransaction(int transactionId)virtual
Returns: Transaction with the given id.
Reimplemented from getTransaction.
getVariable
Section titled “getVariable”virtual QVariant RMemoryStorage::getVariable(const QString &key) constvirtual const
Returns: The value of the given variable or an invalid variant if the variable does not exist.
Reimplemented from getVariable.
getVariables
Section titled “getVariables”virtual QStringList RMemoryStorage::getVariables() constvirtual const
Returns: List of custom variable names stored in this document.
Reimplemented from getVariables.
getViewId
Section titled “getViewId”virtual RView::Id RMemoryStorage::getViewId(const QString &viewName) constvirtual const
Reimplemented from getViewId.
Reimplemented in getViewId.
getViewName
Section titled “getViewName”virtual QString RMemoryStorage::getViewName(RObject::Id viewId) constvirtual const
Reimplemented from getViewName.
Reimplemented in getViewName.
getViewNames
Section titled “getViewNames”virtual QSet< QString > RMemoryStorage::getViewNames() constvirtual const
Reimplemented from getViewNames.
Reimplemented in getViewNames.
hasBlockEntities
Section titled “hasBlockEntities”virtual bool RMemoryStorage::hasBlockEntities(RObject::Id blockId) constvirtual const
Returns: True if the given block contains any entities.
Reimplemented from hasBlockEntities.
Reimplemented in hasBlockEntities.
hasBlockReferenceEntities
Section titled “hasBlockReferenceEntities”bool RMemoryStorage::hasBlockReferenceEntities() constconst
hasChildEntities
Section titled “hasChildEntities”virtual bool RMemoryStorage::hasChildEntities(RObject::Id parentId) constvirtual const
Reimplemented from hasChildEntities.
Reimplemented in hasChildEntities.
hasSelection
Section titled “hasSelection”virtual bool RMemoryStorage::hasSelection() constvirtual const
Returns: True if at least one entity is selected in this storage.
Reimplemented from hasSelection.
isEntityVisible
Section titled “isEntityVisible”virtual bool RMemoryStorage::isEntityVisible(const REntity &entity) constvirtual const
isSelected
Section titled “isSelected”virtual bool RMemoryStorage::isSelected(RObject::Id entityId)virtual
Reimplemented from isSelected.
isSelectedWorkingSet
Section titled “isSelectedWorkingSet”virtual bool RMemoryStorage::isSelectedWorkingSet(RObject::Id entityId)virtual
Reimplemented from isSelectedWorkingSet.
queryAllBlockReferences
Section titled “queryAllBlockReferences”virtual QSet< REntity::Id > RMemoryStorage::queryAllBlockReferences() constvirtual const
Returns: A set of all block reference entity IDs.
Reimplemented from queryAllBlockReferences.
Reimplemented in queryAllBlockReferences.
queryAllBlocks
Section titled “queryAllBlocks”virtual QSet< RBlock::Id > RMemoryStorage::queryAllBlocks(bool undone=false)virtual
Returns: A set of all block IDs of the document.
Reimplemented from queryAllBlocks.
Reimplemented in queryAllBlocks.
queryAllEntities
Section titled “queryAllEntities”virtual QSet< REntity::Id > RMemoryStorage::queryAllEntities(bool undone, bool allBlocks, QList< RS::EntityType > types)virtual
Reimplemented from queryAllEntities.
Reimplemented in queryAllEntities.
queryAllEntities
Section titled “queryAllEntities”virtual QSet< REntity::Id > RMemoryStorage::queryAllEntities(bool undone=false, bool allBlocks=false, RS::EntityType type=RS::EntityAll)virtual
Returns: A set of all entity IDs of the document.
Reimplemented from queryAllEntities.
Reimplemented in queryAllEntities.
queryAllLayers
Section titled “queryAllLayers”virtual QSet< RLayer::Id > RMemoryStorage::queryAllLayers(bool undone=false)virtual
Returns: A set of all layer IDs of the document.
Reimplemented from queryAllLayers.
Reimplemented in queryAllLayers.
queryAllLayerStates
Section titled “queryAllLayerStates”virtual QSet< RLayerState::Id > RMemoryStorage::queryAllLayerStates(bool undone=false) constvirtual const
Returns: A set of all layer state IDs of the document.
Reimplemented from queryAllLayerStates.
queryAllLayoutBlocks
Section titled “queryAllLayoutBlocks”virtual QSet< RBlock::Id > RMemoryStorage::queryAllLayoutBlocks(bool includeModelSpace=false, bool undone=false) constvirtual const
Returns: A set of all block IDs of layout blocks of the document.
Reimplemented from queryAllLayoutBlocks.
Reimplemented in queryAllLayoutBlocks.
queryAllLayouts
Section titled “queryAllLayouts”virtual QSet< RBlock::Id > RMemoryStorage::queryAllLayouts(bool undone)virtual
Returns: A set of all layout IDs of layouts of the document.
Reimplemented from queryAllLayouts.
Reimplemented in queryAllLayouts.
queryAllLinetypes
Section titled “queryAllLinetypes”virtual QSet< RLinetype::Id > RMemoryStorage::queryAllLinetypes()virtual
Returns: A set of all linetype IDs of the document.
Reimplemented from queryAllLinetypes.
Reimplemented in queryAllLinetypes.
queryAllObjects
Section titled “queryAllObjects”virtual QSet< RObject::Id > RMemoryStorage::queryAllObjects() constvirtual const
Returns: A set of all object IDs of the document.
Reimplemented from queryAllObjects.
Reimplemented in queryAllObjects.
queryAllUcs
Section titled “queryAllUcs”virtual QSet< RUcs::Id > RMemoryStorage::queryAllUcs()virtual
Returns: A set of all UCS IDs of the document.
Reimplemented from queryAllUcs.
Reimplemented in queryAllUcs.
queryAllViewports
Section titled “queryAllViewports”virtual QSet< REntity::Id > RMemoryStorage::queryAllViewports() constvirtual const
Returns: A set of all viewport entity IDs.
Reimplemented from queryAllViewports.
Reimplemented in queryAllViewports.
queryAllViews
Section titled “queryAllViews”virtual QSet< RView::Id > RMemoryStorage::queryAllViews(bool undone=false)virtual
Returns: A set of all view IDs of the document.
Reimplemented from queryAllViews.
Reimplemented in queryAllViews.
queryAllVisibleEntities
Section titled “queryAllVisibleEntities”virtual QSet< REntity::Id > RMemoryStorage::queryAllVisibleEntities()virtual
Returns: IDs of all visible entities (current block only, no frozen or off layers, no frozen blocks, no undone entities).
Reimplemented from queryAllVisibleEntities.
Reimplemented in queryAllVisibleEntities.
queryBlock
Section titled “queryBlock”virtual QSharedPointer< RBlock > RMemoryStorage::queryBlock(const QString &blockName) constvirtual const
Reimplemented from queryBlock.
Reimplemented in queryBlock.
queryBlock
Section titled “queryBlock”virtual QSharedPointer< RBlock > RMemoryStorage::queryBlock(RObject::Id blockId) constvirtual const
Reimplemented from queryBlock.
Reimplemented in queryBlock.
queryBlockDirect
Section titled “queryBlockDirect”virtual QSharedPointer< RBlock > RMemoryStorage::queryBlockDirect(const QString &blockName) constvirtual const
Reimplemented from queryBlockDirect.
queryBlockDirect
Section titled “queryBlockDirect”virtual QSharedPointer< RBlock > RMemoryStorage::queryBlockDirect(RObject::Id blockId) constvirtual const
Reimplemented from queryBlockDirect.
Reimplemented in queryBlockDirect.
queryBlockEntities
Section titled “queryBlockEntities”virtual QSet< REntity::Id > RMemoryStorage::queryBlockEntities(RObject::Id blockId)virtual
Returns: A set of all entity IDs that are part of the given block.
Reimplemented from queryBlockEntities.
Reimplemented in queryBlockEntities.
queryBlockReferences
Section titled “queryBlockReferences”virtual QSet< REntity::Id > RMemoryStorage::queryBlockReferences(RObject::Id blockId) constvirtual const
Returns: A set of all block reference entity IDs that reference the given block.
Reimplemented from queryBlockReferences.
Reimplemented in queryBlockReferences.
queryBlockReferencesForLayers
Section titled “queryBlockReferencesForLayers”virtual QSet< REntity::Id > RMemoryStorage::queryBlockReferencesForLayers(const QSet< RObject::Id > &layerIds) constvirtual const
Returns: A set of the IDs of those block reference entities whose visual appearance may change when the visibility of the given layers changes. These are references to blocks which contain entities on one of the given layers (directly or indirectly through nested block references) and block references which are themselves on one of the given layers (the visibility of layer 0 entities in the referenced block depends on the layer of the block reference). The default implementation conservatively returns all block references.
Reimplemented from queryBlockReferencesForLayers.
queryChildEntities
Section titled “queryChildEntities”virtual QSet< REntity::Id > RMemoryStorage::queryChildEntities(RObject::Id parentId, RS::EntityType type=RS::EntityAll)virtual
Returns: A set of all block attributes which are not stored in the block definition but as separate entities on the same level as the block reference.
Reimplemented from queryChildEntities.
Reimplemented in queryChildEntities.
queryDimStyle
Section titled “queryDimStyle”virtual QSharedPointer< RDimStyle > RMemoryStorage::queryDimStyle() constvirtual const
Reimplemented from queryDimStyle.
Reimplemented in queryDimStyle.
queryDimStyleDirect
Section titled “queryDimStyleDirect”virtual QSharedPointer< RDimStyle > RMemoryStorage::queryDimStyleDirect() constvirtual const
Reimplemented from queryDimStyleDirect.
Reimplemented in queryDimStyleDirect.
queryDocumentVariables
Section titled “queryDocumentVariables”virtual QSharedPointer< RDocumentVariables > RMemoryStorage::queryDocumentVariables() constvirtual const
Reimplemented from queryDocumentVariables.
Reimplemented in queryDocumentVariables.
queryDocumentVariablesDirect
Section titled “queryDocumentVariablesDirect”virtual QSharedPointer< RDocumentVariables > RMemoryStorage::queryDocumentVariablesDirect() constvirtual const
Reimplemented from queryDocumentVariablesDirect.
Reimplemented in queryDocumentVariablesDirect.
queryEntity
Section titled “queryEntity”virtual QSharedPointer< REntity > RMemoryStorage::queryEntity(RObject::Id objectId) constvirtual const
Returns: A pointer to the entity with the given entityId or NULL if no such entity exists.
Reimplemented from queryEntity.
Reimplemented in queryEntity.
queryEntityDirect
Section titled “queryEntityDirect”virtual QSharedPointer< REntity > RMemoryStorage::queryEntityDirect(RObject::Id objectId) constvirtual const
Reimplemented from queryEntityDirect.
Reimplemented in queryEntityDirect.
queryInfiniteEntities
Section titled “queryInfiniteEntities”virtual QSet< REntity::Id > RMemoryStorage::queryInfiniteEntities() constvirtual const
Returns: A set of entity IDs of all infinite entities (xlines).
Reimplemented from queryInfiniteEntities.
Reimplemented in queryInfiniteEntities.
queryLayer
Section titled “queryLayer”virtual QSharedPointer< RLayer > RMemoryStorage::queryLayer(const QString &layerName) constvirtual const
Returns: A pointer to the layer with the given layerName or NULL if no such layer exists.
Reimplemented from queryLayer.
Reimplemented in queryLayer.
queryLayer
Section titled “queryLayer”virtual QSharedPointer< RLayer > RMemoryStorage::queryLayer(RObject::Id layerId) constvirtual const
Returns: A pointer to the layer with the given layerId or NULL if no such layer exists.
Reimplemented from queryLayer.
Reimplemented in queryLayer.
queryLayerBlockEntities
Section titled “queryLayerBlockEntities”virtual QSet< REntity::Id > RMemoryStorage::queryLayerBlockEntities(RObject::Id layerId, RObject::Id blockId)virtual
Reimplemented from queryLayerBlockEntities.
Reimplemented in queryLayerBlockEntities.
queryLayerDirect
Section titled “queryLayerDirect”virtual QSharedPointer< RLayer > RMemoryStorage::queryLayerDirect(RObject::Id layerId) constvirtual const
Reimplemented from queryLayerDirect.
Reimplemented in queryLayerDirect.
queryLayerEntities
Section titled “queryLayerEntities”virtual QSet< REntity::Id > RMemoryStorage::queryLayerEntities(RObject::Id layerId, bool allBlocks=false)virtual
Returns: A set of all entity IDs on the given layer.
Reimplemented from queryLayerEntities.
Reimplemented in queryLayerEntities.
queryLayerState
Section titled “queryLayerState”virtual QSharedPointer< RLayerState > RMemoryStorage::queryLayerState(const QString &layerStateName) constvirtual const
Returns: A pointer to the layer with the given layerName or NULL if no such layer exists.
Reimplemented from queryLayerState.
Reimplemented in queryLayerState.
queryLayerState
Section titled “queryLayerState”virtual QSharedPointer< RLayerState > RMemoryStorage::queryLayerState(RObject::Id layerStateId) constvirtual const
Returns: A pointer to the layer state with the given layerStateId or NULL if no such layer state exists.
Reimplemented from queryLayerState.
Reimplemented in queryLayerState.
queryLayerStateDirect
Section titled “queryLayerStateDirect”virtual QSharedPointer< RLayerState > RMemoryStorage::queryLayerStateDirect(RObject::Id layerStateId) constvirtual const
Reimplemented from queryLayerStateDirect.
Reimplemented in queryLayerStateDirect.
queryLayout
Section titled “queryLayout”virtual QSharedPointer< RLayout > RMemoryStorage::queryLayout(const QString &layoutName) constvirtual const
Returns: A pointer to the layout with the given layoutName or NULL if no such layout exists.
Reimplemented from queryLayout.
Reimplemented in queryLayout.
queryLayout
Section titled “queryLayout”virtual QSharedPointer< RLayout > RMemoryStorage::queryLayout(RObject::Id layoutId) constvirtual const
Returns: A pointer to the layout with the given layoutId or NULL if no such layout exists.
Reimplemented from queryLayout.
Reimplemented in queryLayout.
queryLayoutDirect
Section titled “queryLayoutDirect”virtual QSharedPointer< RLayout > RMemoryStorage::queryLayoutDirect(RObject::Id layoutId) constvirtual const
Reimplemented from queryLayoutDirect.
Reimplemented in queryLayoutDirect.
queryLinetype
Section titled “queryLinetype”virtual QSharedPointer< RLinetype > RMemoryStorage::queryLinetype(const QString &linetypeName) constvirtual const
Reimplemented from queryLinetype.
Reimplemented in queryLinetype.
queryLinetype
Section titled “queryLinetype”virtual QSharedPointer< RLinetype > RMemoryStorage::queryLinetype(RObject::Id linetypeId) constvirtual const
Reimplemented from queryLinetype.
Reimplemented in queryLinetype.
queryLinetypeDirect
Section titled “queryLinetypeDirect”virtual QSharedPointer< RLinetype > RMemoryStorage::queryLinetypeDirect(RObject::Id linetypeId) constvirtual const
Reimplemented from queryLinetypeDirect.
Reimplemented in queryLinetypeDirect.
queryObject
Section titled “queryObject”virtual QSharedPointer< RObject > RMemoryStorage::queryObject(RObject::Id objectId) constvirtual const
Returns: A shared pointer to the object with the given objectId or null pointer if the object is no available in this storage.
Reimplemented from queryObject.
Reimplemented in queryObject.
queryObjectByHandle
Section titled “queryObjectByHandle”virtual QSharedPointer< RObject > RMemoryStorage::queryObjectByHandle(RObject::Handle objectHandle) constvirtual const
Reimplemented from queryObjectByHandle.
Reimplemented in queryObjectByHandle.
queryObjectByHandleDirect
Section titled “queryObjectByHandleDirect”virtual QSharedPointer< RObject > RMemoryStorage::queryObjectByHandleDirect(RObject::Handle objectHandle) constvirtual const
queryObjectCC
Section titled “queryObjectCC”virtual RObject * RMemoryStorage::queryObjectCC(RObject::Id objectId) constvirtual const
Reimplemented from queryObjectCC.
Reimplemented in queryObjectCC.
queryObjectDirect
Section titled “queryObjectDirect”virtual QSharedPointer< RObject > RMemoryStorage::queryObjectDirect(RObject::Id objectId) constvirtual const
Reimplemented from queryObjectDirect.
Reimplemented in queryObjectDirect.
querySelectedEntities
Section titled “querySelectedEntities”virtual QSet< REntity::Id > RMemoryStorage::querySelectedEntities() constvirtual const
Returns: A set of entity IDs of all selected entities.
Reimplemented from querySelectedEntities.
Reimplemented in querySelectedEntities.
querySelectedLayerEntities
Section titled “querySelectedLayerEntities”virtual QSet< REntity::Id > RMemoryStorage::querySelectedLayerEntities(RObject::Id layerId, bool allBlocks=false)virtual
Returns: A set of all entity IDs of selected entities on the given layer.
Reimplemented from querySelectedLayerEntities.
Reimplemented in querySelectedLayerEntities.
querySelectedLayers
Section titled “querySelectedLayers”virtual QSet< RObject::Id > RMemoryStorage::querySelectedLayers() constvirtual const
Returns: A set of object IDs of all selected objects (layers, …).
Reimplemented from querySelectedLayers.
Reimplemented in querySelectedLayers.
queryUcs
Section titled “queryUcs”virtual QSharedPointer< RUcs > RMemoryStorage::queryUcs(const QString &ucsName) constvirtual const
Returns: A pointer to the UCS with the given ucsName or NULL if no such UCS exists.
Reimplemented from queryUcs.
Reimplemented in queryUcs.
queryUcs
Section titled “queryUcs”virtual QSharedPointer< RUcs > RMemoryStorage::queryUcs(RObject::Id ucsId) constvirtual const
Returns: A pointer to the UCS with the given ucsId or NULL if no such UCS exists.
Reimplemented from queryUcs.
Reimplemented in queryUcs.
queryUcsDirect
Section titled “queryUcsDirect”virtual QSharedPointer< RUcs > RMemoryStorage::queryUcsDirect(RObject::Id ucsId) constvirtual const
Reimplemented from queryUcsDirect.
Reimplemented in queryUcsDirect.
queryView
Section titled “queryView”virtual QSharedPointer< RView > RMemoryStorage::queryView(const QString &viewName) constvirtual const
Reimplemented from queryView.
Reimplemented in queryView.
queryView
Section titled “queryView”virtual QSharedPointer< RView > RMemoryStorage::queryView(RObject::Id viewId) constvirtual const
Reimplemented from queryView.
Reimplemented in queryView.
queryVisibleEntityDirect
Section titled “queryVisibleEntityDirect”virtual QSharedPointer< REntity > RMemoryStorage::queryVisibleEntityDirect(RObject::Id objectId) constvirtual const
Reimplemented from queryVisibleEntityDirect.
queryWorkingSetEntities
Section titled “queryWorkingSetEntities”virtual QSet< REntity::Id > RMemoryStorage::queryWorkingSetEntities()virtual
Returns: A set of all entity IDs in the current working set.
Reimplemented from queryWorkingSetEntities.
removeObject
Section titled “removeObject”virtual bool RMemoryStorage::removeObject(QSharedPointer< RObject > object)virtual
Reimplemented from removeObject.
removeVariable
Section titled “removeVariable”virtual void RMemoryStorage::removeVariable(const QString &key)virtual
Removes the custom variable with the given key.
Reimplemented from removeVariable.
resetTransactionStack
Section titled “resetTransactionStack”virtual void RMemoryStorage::resetTransactionStack()virtual
Reimplemented from resetTransactionStack.
rollbackTransaction
Section titled “rollbackTransaction”virtual void RMemoryStorage::rollbackTransaction()virtual
Rolls the current transaction back in order to cancel it.
This function should never be called under normal circumstances.
Reimplemented from rollbackTransaction.
saveObject
Section titled “saveObject”virtual bool RMemoryStorage::saveObject(QSharedPointer< RObject > object, bool checkBlockRecursion=true, bool keepHandles=false, bool *overwrite=NULL)virtual
Saves the given object to the storage.
Reimplemented from saveObject.
saveTransaction
Section titled “saveTransaction”virtual void RMemoryStorage::saveTransaction(RTransaction &transaction)virtual
Saves the given transaction.
Transactions need to be stored for undo / redo functionality.
Reimplemented from saveTransaction.
selectAllEntities
Section titled “selectAllEntities”virtual void RMemoryStorage::selectAllEntities(QSet< RObject::Id > *affectedEntities=NULL)virtual
Sets the selection status of all entities.
Reimplemented from selectAllEntities.
selectEntities
Section titled “selectEntities”virtual int RMemoryStorage::selectEntities(const QSet< RObject::Id > &entityIds, bool add=false, QSet< RObject::Id > *affectedEntities=NULL)virtual
Selects all entities with the given IDs.
Parameters:
add: True to add the entities to the current selection. False to replace the current selection with the new entities.affected: Optional pointer to an empty set of entity IDs. After the call, this set will contain all entity IDs of entities that were affected by the call.
Reimplemented from selectEntities.
selectEntity
Section titled “selectEntity”virtual void RMemoryStorage::selectEntity(RObject::Id entityId, bool add=false, QSet< RObject::Id > *affectedEntities=NULL)virtual
Selects the entity with the given ID.
Parameters:
add: True to add the entity to the current selection. False to replace the current selection with the given entity.affected: Optional pointer to an empty set of entity IDs. After the call, this set will contain all entity IDs of entities that were affected by the call.
Reimplemented from selectEntity.
setCurrentBlock
Section titled “setCurrentBlock”virtual void RMemoryStorage::setCurrentBlock(RObject::Id blockId)virtual
Reimplemented from setCurrentBlock.
setEntityParentId
Section titled “setEntityParentId”virtual void RMemoryStorage::setEntityParentId(REntity &entity, RObject::Id parentId)virtual
Reimplemented from setEntityParentId.
setEntitySelected
Section titled “setEntitySelected”void RMemoryStorage::setEntitySelected(QSharedPointer< REntity > entity, bool on, QSet< RObject::Id > *affectedEntities=NULL, bool onlyDescend=false)Selects first the top most parent in the entity hierarchy and then all children of it.
This is necessary for attributes which are children of block references.
setKnownVariable
Section titled “setKnownVariable”virtual void RMemoryStorage::setKnownVariable(RS::KnownVariable key, const QVariant &value, RTransaction *transaction=NULL)virtual
Sets a known DXF/DWG variable for this document.
Parameters:
key: Variable key (see DXF reference)value: New value of the variable.transaction: RTransaction to use for the change or NULL (default) to create a transaction on the fly.
Reimplemented from setKnownVariable.
setLastTransactionId
Section titled “setLastTransactionId”virtual void RMemoryStorage::setLastTransactionId(int transactionId)virtual
Sets the ID of the last created transaction.
This is called when a transaction is undone or redone (the last transaction id indicates where we are in the transaction stack). The default implementation sets the variable “LastTransaction”.
Reimplemented from setLastTransactionId.
setObjectHandle
Section titled “setObjectHandle”virtual void RMemoryStorage::setObjectHandle(RObject &object, RObject::Handle objectHandle)virtual
Reimplemented from setObjectHandle.
setUndoStatus
Section titled “setUndoStatus”virtual void RMemoryStorage::setUndoStatus(RObject &object, bool status)virtual
Reimplemented from setUndoStatus.
setUndoStatus
Section titled “setUndoStatus”virtual bool RMemoryStorage::setUndoStatus(RObject::Id objectId, bool status)virtual
Reimplemented from setUndoStatus.
Reimplemented in setUndoStatus.
setVariable
Section titled “setVariable”virtual void RMemoryStorage::setVariable(const QString &key, const QVariant &value, bool overwrite=true)virtual
Sets a custom variable in the context of this document.
Parameters:
key: Variable key (name)value: Variable valueoverwrite: True to overwrite an existing variable with the same key (default)
Reimplemented from setVariable.
toggleUndoStatus
Section titled “toggleUndoStatus”virtual void RMemoryStorage::toggleUndoStatus(QSet< RObject::Id > &objects)virtual
Toggles the current undo status of all given objects.
The undo status can for example be a boolean value that is true if the object is undone or false otherwise.
Reimplemented from toggleUndoStatus.
toggleUndoStatus
Section titled “toggleUndoStatus”virtual void RMemoryStorage::toggleUndoStatus(RObject::Id object)virtual
Toggles the current undo status of the given object.
Reimplemented from toggleUndoStatus.
update
Section titled “update”virtual void RMemoryStorage::update()virtual
Clear caches:
Reimplemented from update.
updateSelectedEntityMap
Section titled “updateSelectedEntityMap”void RMemoryStorage::updateSelectedEntityMap() constconst
updateSelectedLayerMap
Section titled “updateSelectedLayerMap”void RMemoryStorage::updateSelectedLayerMap() constconst
updateVisibleCache
Section titled “updateVisibleCache”void RMemoryStorage::updateVisibleCache() constconst
blockEntityMap
Section titled “blockEntityMap”QHash<RObject::Id, QHash<RObject::Id, QSharedPointer<REntity> > > RMemoryStorage::blockEntityMapprotected
blockMap
Section titled “blockMap”QHash<RObject::Id, QSharedPointer<RBlock> > RMemoryStorage::blockMapprotected
boundingBox
Section titled “boundingBox”RBox RMemoryStorage::boundingBox[2][2] [2][2]protected
Bounding boxes for ignoreHiddenLayers on/off and ignoreEmpty on/off.
boundingBoxDirty
Section titled “boundingBoxDirty”bool RMemoryStorage::boundingBoxDirtyprotected
childMap
Section titled “childMap”QMultiHash<RObject::Id, RObject::Id> RMemoryStorage::childMapprotected
maps parent entity IDs to child entity IDs
dimStyle
Section titled “dimStyle”QSharedPointer<RDimStyle> RMemoryStorage::dimStyleprotected
documentVariables
Section titled “documentVariables”QSharedPointer<RDocumentVariables> RMemoryStorage::documentVariablesprotected
entityMap
Section titled “entityMap”QHash<RObject::Id, QSharedPointer<REntity> > RMemoryStorage::entityMapprotected
inTransaction
Section titled “inTransaction”bool RMemoryStorage::inTransactionprotected
layerMap
Section titled “layerMap”QHash<RObject::Id, QSharedPointer<RLayer> > RMemoryStorage::layerMapprotected
layerNameMap
Section titled “layerNameMap”QHash<QString, QSharedPointer<RLayer> > RMemoryStorage::layerNameMapprotected
layerStateMap
Section titled “layerStateMap”QHash<RObject::Id, QSharedPointer<RLayerState> > RMemoryStorage::layerStateMapprotected
layoutMap
Section titled “layoutMap”QHash<RObject::Id, QSharedPointer<RLayout> > RMemoryStorage::layoutMapprotected
linetypeMap
Section titled “linetypeMap”QHash<RObject::Id, QSharedPointer<RLinetype> > RMemoryStorage::linetypeMapprotected
maxLineweight
Section titled “maxLineweight”RLineweight::Lineweight RMemoryStorage::maxLineweightprotected
objectHandleMap
Section titled “objectHandleMap”QHash<RObject::Handle, QSharedPointer<RObject> > RMemoryStorage::objectHandleMapprotected
objectMap
Section titled “objectMap”QHash<RObject::Id, QSharedPointer<RObject> > RMemoryStorage::objectMapprotected
selectedEntityMap
Section titled “selectedEntityMap”QHash<RObject::Id, QSharedPointer<REntity> > RMemoryStorage::selectedEntityMapprotected
selectedEntityMapDirty
Section titled “selectedEntityMapDirty”bool RMemoryStorage::selectedEntityMapDirtyprotected
selectedLayerMap
Section titled “selectedLayerMap”QHash<RObject::Id, QSharedPointer<RLayer> > RMemoryStorage::selectedLayerMapprotected
selectedLayerMapDirty
Section titled “selectedLayerMapDirty”bool RMemoryStorage::selectedLayerMapDirtyprotected
transactionMap
Section titled “transactionMap”QHash<int, RTransaction> RMemoryStorage::transactionMapprotected
typeObjectMap
Section titled “typeObjectMap”QHash<RS::EntityType, QHash<RObject::Id, QSharedPointer<RObject> > > RMemoryStorage::typeObjectMapprotected
variableCaseMap
Section titled “variableCaseMap”QMap<QString, QString> RMemoryStorage::variableCaseMapprotected
variables
Section titled “variables”QHash<QString, QVariant> RMemoryStorage::variablesprotected
visibleEntityMap
Section titled “visibleEntityMap”QHash<RObject::Id, QSharedPointer<REntity> > RMemoryStorage::visibleEntityMapprotected
visibleEntityMapDirty
Section titled “visibleEntityMapDirty”bool RMemoryStorage::visibleEntityMapDirtyprotected