Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSvgVisitor Class Reference

#include <qsvgvisitor_p.h>

+ Inheritance diagram for QSvgVisitor:
+ Collaboration diagram for QSvgVisitor:

Public Member Functions

void traverse (const QSvgStructureNode *node)
 
void traverse (const QSvgNode *node)
 
virtual ~QSvgVisitor ()
 

Protected Member Functions

virtual void visitNode (const QSvgNode *)
 
virtual bool visitStructureNodeStart (const QSvgStructureNode *node)
 
virtual void visitStructureNodeEnd (const QSvgStructureNode *)
 
virtual void visitAnimationNode (const QSvgAnimation *node)
 
virtual void visitEllipseNode (const QSvgEllipse *node)
 
virtual void visitImageNode (const QSvgImage *node)
 
virtual void visitLineNode (const QSvgLine *node)
 
virtual void visitPathNode (const QSvgPath *node)
 
virtual void visitPolygonNode (const QSvgPolygon *node)
 
virtual void visitPolylineNode (const QSvgPolyline *node)
 
virtual void visitRectNode (const QSvgRect *node)
 
virtual void visitTextNode (const QSvgText *node)
 
virtual void visitTspanNode (const QSvgTspan *node)
 
virtual void visitUseNode (const QSvgUse *node)
 
virtual void visitVideoNode (const QSvgVideo *node)
 
virtual bool visitDocumentNodeStart (const QSvgTinyDocument *node)
 
virtual void visitDocumentNodeEnd (const QSvgTinyDocument *node)
 
virtual bool visitGroupNodeStart (const QSvgG *node)
 
virtual void visitGroupNodeEnd (const QSvgG *node)
 
virtual bool visitDefsNodeStart (const QSvgDefs *node)
 
virtual void visitDefsNodeEnd (const QSvgDefs *node)
 
virtual bool visitSwitchNodeStart (const QSvgSwitch *node)
 
virtual void visitSwitchNodeEnd (const QSvgSwitch *node)
 
virtual bool visitMaskNodeStart (const QSvgMask *node)
 
virtual void visitMaskNodeEnd (const QSvgMask *node)
 

Detailed Description

Definition at line 25 of file qsvgvisitor_p.h.

Constructor & Destructor Documentation

◆ ~QSvgVisitor()

virtual QSvgVisitor::~QSvgVisitor ( )
inlinevirtual

Definition at line 30 of file qsvgvisitor_p.h.

Member Function Documentation

◆ traverse() [1/2]

◆ traverse() [2/2]

QT_BEGIN_NAMESPACE void QSvgVisitor::traverse ( const QSvgStructureNode * node)

Definition at line 8 of file qsvgvisitor.cpp.

References child, QSvgNode::Defs, QSvgNode::Doc, QSvgNode::Group, QSvgNode::Mask, QSvgStructureNode::renderers(), QSvgNode::Switch, traverse(), QSvgNode::type(), visitDefsNodeEnd(), visitDefsNodeStart(), visitDocumentNodeEnd(), visitDocumentNodeStart(), visitGroupNodeEnd(), visitGroupNodeStart(), visitMaskNodeEnd(), visitMaskNodeStart(), visitSwitchNodeEnd(), and visitSwitchNodeStart().

Referenced by QSvgVisitorImpl::traverse(), traverse(), traverse(), QSvgVisitorImpl::visitUseNode(), and SvgDebugVisitor::write().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visitAnimationNode()

virtual void QSvgVisitor::visitAnimationNode ( const QSvgAnimation * node)
inlineprotectedvirtual

Reimplemented in SvgDebugVisitor.

Definition at line 36 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitDefsNodeEnd()

virtual void QSvgVisitor::visitDefsNodeEnd ( const QSvgDefs * node)
inlineprotectedvirtual

Definition at line 54 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitDefsNodeStart()

virtual bool QSvgVisitor::visitDefsNodeStart ( const QSvgDefs * node)
inlineprotectedvirtual

Reimplemented in QSvgVisitorImpl.

Definition at line 53 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitDocumentNodeEnd()

virtual void QSvgVisitor::visitDocumentNodeEnd ( const QSvgTinyDocument * node)
inlineprotectedvirtual

Reimplemented in QSvgVisitorImpl.

Definition at line 50 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitDocumentNodeStart()

virtual bool QSvgVisitor::visitDocumentNodeStart ( const QSvgTinyDocument * node)
inlineprotectedvirtual

Reimplemented in QSvgVisitorImpl.

Definition at line 49 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitEllipseNode()

virtual void QSvgVisitor::visitEllipseNode ( const QSvgEllipse * node)
inlineprotectedvirtual

Reimplemented in QSvgVisitorImpl, and SvgDebugVisitor.

Definition at line 37 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitGroupNodeEnd()

virtual void QSvgVisitor::visitGroupNodeEnd ( const QSvgG * node)
inlineprotectedvirtual

Definition at line 52 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitGroupNodeStart()

virtual bool QSvgVisitor::visitGroupNodeStart ( const QSvgG * node)
inlineprotectedvirtual

Definition at line 51 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitImageNode()

virtual void QSvgVisitor::visitImageNode ( const QSvgImage * node)
inlineprotectedvirtual

Reimplemented in QSvgVisitorImpl, and SvgDebugVisitor.

Definition at line 38 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitLineNode()

virtual void QSvgVisitor::visitLineNode ( const QSvgLine * node)
inlineprotectedvirtual

Reimplemented in QSvgVisitorImpl, and SvgDebugVisitor.

Definition at line 39 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitMaskNodeEnd()

virtual void QSvgVisitor::visitMaskNodeEnd ( const QSvgMask * node)
inlineprotectedvirtual

Definition at line 58 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitMaskNodeStart()

virtual bool QSvgVisitor::visitMaskNodeStart ( const QSvgMask * node)
inlineprotectedvirtual

Definition at line 57 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitNode()

virtual void QSvgVisitor::visitNode ( const QSvgNode * )
inlineprotectedvirtual

Reimplemented in SvgDebugVisitor, and QSvgVisitorImpl.

Definition at line 33 of file qsvgvisitor_p.h.

◆ visitPathNode()

virtual void QSvgVisitor::visitPathNode ( const QSvgPath * node)
inlineprotectedvirtual

Reimplemented in QSvgVisitorImpl, and SvgDebugVisitor.

Definition at line 40 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitPolygonNode()

virtual void QSvgVisitor::visitPolygonNode ( const QSvgPolygon * node)
inlineprotectedvirtual

Reimplemented in QSvgVisitorImpl, and SvgDebugVisitor.

Definition at line 41 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitPolylineNode()

virtual void QSvgVisitor::visitPolylineNode ( const QSvgPolyline * node)
inlineprotectedvirtual

Reimplemented in QSvgVisitorImpl, and SvgDebugVisitor.

Definition at line 42 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitRectNode()

virtual void QSvgVisitor::visitRectNode ( const QSvgRect * node)
inlineprotectedvirtual

Reimplemented in QSvgVisitorImpl, and SvgDebugVisitor.

Definition at line 43 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitStructureNodeEnd()

virtual void QSvgVisitor::visitStructureNodeEnd ( const QSvgStructureNode * )
inlineprotectedvirtual

Reimplemented in SvgDebugVisitor, and QSvgVisitorImpl.

Definition at line 35 of file qsvgvisitor_p.h.

◆ visitStructureNodeStart()

virtual bool QSvgVisitor::visitStructureNodeStart ( const QSvgStructureNode * node)
inlineprotectedvirtual

Reimplemented in QSvgVisitorImpl, and SvgDebugVisitor.

Definition at line 34 of file qsvgvisitor_p.h.

◆ visitSwitchNodeEnd()

virtual void QSvgVisitor::visitSwitchNodeEnd ( const QSvgSwitch * node)
inlineprotectedvirtual

Definition at line 56 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitSwitchNodeStart()

virtual bool QSvgVisitor::visitSwitchNodeStart ( const QSvgSwitch * node)
inlineprotectedvirtual

Definition at line 55 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitTextNode()

virtual void QSvgVisitor::visitTextNode ( const QSvgText * node)
inlineprotectedvirtual

Reimplemented in QSvgVisitorImpl, and SvgDebugVisitor.

Definition at line 44 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitTspanNode()

virtual void QSvgVisitor::visitTspanNode ( const QSvgTspan * node)
inlineprotectedvirtual

Definition at line 45 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitUseNode()

virtual void QSvgVisitor::visitUseNode ( const QSvgUse * node)
inlineprotectedvirtual

Reimplemented in QSvgVisitorImpl, and SvgDebugVisitor.

Definition at line 46 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

◆ visitVideoNode()

virtual void QSvgVisitor::visitVideoNode ( const QSvgVideo * node)
inlineprotectedvirtual

Reimplemented in SvgDebugVisitor.

Definition at line 47 of file qsvgvisitor_p.h.

Referenced by traverse().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: