a2dWalker_RemoveHierarchy Class Reference
[Algorithms on hierarchy in a2dDocument]

remove hierarchy in grouped objects More...

#include <algos.h>

Inheritance diagram for a2dWalker_RemoveHierarchy:

Inheritance graph
[legend]
Collaboration diagram for a2dWalker_RemoveHierarchy:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dWalker_RemoveHierarchy (a2dCanvasObjectFlagsMask mask=a2dCanvasOFlags::ALL)
 constructor with no a2dPropertyId added yet. For that use AddPropertyId()
 a2dWalker_RemoveHierarchy (const a2dPropertyId *id, a2dCanvasObjectFlagsMask mask=a2dCanvasOFlags::ALL)
 constructor with a2dPropertyId added to the propertyIsList to search for.
 a2dWalker_RemoveHierarchy (const a2dPropertyIdList &idList, a2dCanvasObjectFlagsMask mask=a2dCanvasOFlags::ALL)
 constructor with the propertyIdList to search for as input
bool Start (a2dCanvasObject *object)
 start here
void Initialize ()
 used from constructors
virtual bool WalkTask (wxObject *parent, wxObject *object, a2dWalkEvent event)
 called from within a2dCanvasDocument


Detailed Description

remove hierarchy in grouped objects

in a2dCanvasObject with children, the children are moved one level. Same for a2dCanvasObjectReference and a2dCanvasObjectArrayReference its m_object.

m_depth > 1 will result in smashing all children in an object also nest. m_depth = 1 will result in on level of hierarchy removed.

Definition at line 680 of file algos.h.


The documentation for this class was generated from the following files:
a2dWalker_RemoveHierarchy Class Reference -- Tue Aug 31 18:37:24 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation