5 #include <QSharedPointer>
21 #ifndef RDEFAULT_QVARIANT
22 #define RDEFAULT_QVARIANT QVariant()
25 #define RDEFAULT_QLIST_RS_ENTITYTYPE QList<RS::EntityType>()
58 bool includeLockedLayers =
true
61 QSet<REntity::Id>& candidates,
68 QSet<REntity::Id>
queryAllEntities(
bool undone =
false,
bool allBlocks =
false)
const;
86 bool checkBoundingBoxOnly=
false,
87 bool includeLockedLayers=
true,
94 bool checkBoundingBoxOnly=
false,
95 bool includeLockedLayers=
true,
111 QSharedPointer<RUcs>
queryUcs(
const QString& ucsName)
const;
114 QSharedPointer<RLayer>
queryLayer(
const QString& layerName)
const;
117 QSharedPointer<RBlock>
queryBlock(
const QString& blockName)
const;
119 QSharedPointer<RView>
queryView(
const QString& viewName)
const;
121 QSharedPointer<RLinetype>
queryLinetype(
const QString& linetypeName)
const;
124 QSet<REntity::Id>* affectedEntities=NULL
132 QSet<REntity::Id>* affectedEntities=NULL
136 QSet<REntity::Id>* affectedEntities=NULL
139 const QSet<REntity::Id>& entityId,
141 QSet<REntity::Id>* affectedEntities=NULL
144 const QSet<REntity::Id>& entityId,
145 QSet<REntity::Id>* affectedEntities=NULL
216 bool hasLayer(
const QString& layerName);
217 bool hasBlock(
const QString& blockName);
218 bool hasView(
const QString& viewName);
237 void setVariable(
const QString& key,
const QVariant & value);