LibreOffice Module svgio (master) 1
Public Member Functions | Private Attributes | List of all members
svgio::svgreader::SvgDrawVisitor Class Referencefinal

#include <svgvisitor.hxx>

Inheritance diagram for svgio::svgreader::SvgDrawVisitor:
[legend]
Collaboration diagram for svgio::svgreader::SvgDrawVisitor:
[legend]

Public Member Functions

 SvgDrawVisitor ()
 
void visit (svgio::svgreader::SvgNode const &rNode) override
 
void goToChildren (svgio::svgreader::SvgNode const &rNode)
 
std::shared_ptr< gfx::DrawRoot > const & getDrawRoot () const
 
- Public Member Functions inherited from svgio::svgreader::Visitor
virtual ~Visitor ()=default
 
virtual void visit (SvgNode const &pNode)=0
 

Private Attributes

std::shared_ptr< gfx::DrawRootmpDrawRoot
 
std::shared_ptr< gfx::DrawBasempCurrent
 

Detailed Description

Definition at line 19 of file svgvisitor.hxx.

Constructor & Destructor Documentation

◆ SvgDrawVisitor()

svgio::svgreader::SvgDrawVisitor::SvgDrawVisitor ( )

Definition at line 22 of file svgvisitor.cxx.

References make_shared().

Member Function Documentation

◆ getDrawRoot()

std::shared_ptr< gfx::DrawRoot > const & svgio::svgreader::SvgDrawVisitor::getDrawRoot ( ) const
inline

Definition at line 31 of file svgvisitor.hxx.

References mpDrawRoot.

◆ goToChildren()

void svgio::svgreader::SvgDrawVisitor::goToChildren ( svgio::svgreader::SvgNode const &  rNode)

Definition at line 141 of file svgvisitor.cxx.

References svgio::svgreader::SvgNode::getChildren().

Referenced by visit().

◆ visit()

void svgio::svgreader::SvgDrawVisitor::visit ( svgio::svgreader::SvgNode const &  rNode)
overridevirtual

Member Data Documentation

◆ mpCurrent

std::shared_ptr<gfx::DrawBase> svgio::svgreader::SvgDrawVisitor::mpCurrent
private

Definition at line 23 of file svgvisitor.hxx.

Referenced by visit().

◆ mpDrawRoot

std::shared_ptr<gfx::DrawRoot> svgio::svgreader::SvgDrawVisitor::mpDrawRoot
private

Definition at line 22 of file svgvisitor.hxx.

Referenced by getDrawRoot().


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