21#include "vcomposite.h"
26#include "vselection.h"
35 object.accept( *
this );
43 VLayerListIterator itr( document.
layers() );
45 for( ; itr.current(); ++itr )
47 itr.current()->accept( *
this );
54 VObjectListIterator itr( group.
objects() );
56 for( ; itr.current(); ++itr )
58 itr.current()->accept( *
this );
65 VObjectListIterator itr( layer.
objects() );
67 for( ; itr.current(); ++itr )
69 itr.current()->accept( *
this );
76 VSubpathListIterator itr( composite.paths() );
78 for( ; itr.current(); ++itr )
80 if( !itr.current()->isEmpty() )
81 itr.current()->accept( *
this );
93 VObjectListIterator itr( selection.
objects() );
95 for( ; itr.current() ; ++itr )
97 itr.current()->accept( *
this );
All non-visual, static doc info is in here.
const VLayerList & layers() const
Returns the list of layers.
Base class for all sort of VObject conglomerats.
const VObjectList & objects() const
Read only access to the grouped objects.
VLayer manages a set of vobjects.
The base class for all karbon objects.
A composite path consists of one or many subpaths.
VSelection manages a set of selected vobjects.
const VObjectList & objects() const
Read only access to the selected objects.
VSubpath provides a sophisticated list of VSegment.
virtual void visitVSubpath(VSubpath &path)
Visit method for a VSubpath.
virtual void visitVText(VText &text)
Visit method for a VText.
virtual bool visit(VObject &object)
General visit method.
virtual void visitVImage(VImage &img)
Visit method for a VImage.
virtual void visitVDocument(VDocument &document)
Visit method for a VDocument.
virtual void visitVObject(VObject &object)
Visit method for a VObject.
virtual void visitVGroup(VGroup &group)
Visit method for a VGroup.
virtual void visitVLayer(VLayer &layer)
Visit method for a VLayer.
virtual void visitVPath(VPath &composite)
Visit method for a VPath.
virtual void visitVSelection(VSelection &selection)
Visit method for a VSelection.