18 #ifndef QGSSTYLEENTITYVISITOR_H 19 #define QGSSTYLEENTITYVISITOR_H 21 #include "qgis_core.h" 69 : identifier( identifier )
70 , description( description )
118 , identifier( identifier )
119 , description( description )
191 #endif // QGSSTYLEENTITYVISITOR_H QString identifier
A string identifying the style entity.
An interface for entities which can be placed in a QgsStyle database.
StyleLeaf(const QgsStyleEntityInterface *entity, const QString &identifier=QString(), const QString &description=QString())
Constructor for StyleLeaf, visiting the given style entity with the specified identifier and descript...
An interface for classes which can visit style entity (e.g.
virtual bool visit(const QgsStyleEntityVisitorInterface::StyleLeaf &entity)
Called when the visitor will visit a style entity.
virtual bool visitExit(const QgsStyleEntityVisitorInterface::Node &node)
Called when the visitor stops visiting a node.
Contains information relating to a node (i.e.
NodeType
Describes the types of nodes which may be visited by the visitor.
QString description
A string describing the node.
Node(QgsStyleEntityVisitorInterface::NodeType type, const QString &identifier, const QString &description)
Constructor for Node, visiting the node with the specified identifier and description.
virtual bool visitEnter(const QgsStyleEntityVisitorInterface::Node &node)
Called when the visitor starts visiting a node.
QString description
A string describing the style entity.
Contains information relating to the style entity currently being visited.
QString identifier
A string identifying the node.