a2dWalker_RemovePropertyCandoc Class Reference
[Algorithms on hierarchy in a2dDocument]

Remove from property in a hierarchy of a canvas document. More...

#include <algos.h>

Inheritance diagram for a2dWalker_RemovePropertyCandoc:

Inheritance graph
[legend]
Collaboration diagram for a2dWalker_RemovePropertyCandoc:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dWalker_RemovePropertyCandoc (a2dCanvasObjectFlagsMask mask=a2dCanvasOFlags::ALL, bool all=true)
 constructor with no a2dPropertyId added yet. For that use AddPropertyId()
 a2dWalker_RemovePropertyCandoc (const a2dPropertyId *id, a2dCanvasObjectFlagsMask mask=a2dCanvasOFlags::ALL, bool all=true)
 constructor with a2dPropertyId added to the propertyIsList to search for.
 a2dWalker_RemovePropertyCandoc (const a2dPropertyIdList &idList, a2dCanvasObjectFlagsMask mask=a2dCanvasOFlags::ALL, bool all=true)
 constructor with the propertyIdList to search for as input
void AddPropertyId (const a2dPropertyId *id)
 add a a2dPropertyId to the list
bool Start (a2dCanvasObject *object)
virtual bool WalkTask (wxObject *parent, wxObject *object, a2dWalkEvent event)
 called from within a2dCanvasDocument
void SetMakePending (bool makePending)
 if set when a property is removed make the canvas object pending.

Public Attributes

bool m_all
 to remove all or only one property on each object found.
a2dPropertyIdList m_propertyList
 properties to search for
a2dCanvasObjectFlagsMask m_mask
 mask required in object
int m_depth
 how deep to recurse into document
bool m_makePending
 set object pending when property is removed.


Detailed Description

Remove from property in a hierarchy of a canvas document.

Definition at line 185 of file algos.h.


Member Function Documentation

bool a2dWalker_RemovePropertyCandoc::Start ( a2dCanvasObject object  ) 

start removing properties from the object given, and down. returns true if some property was removed.

Definition at line 315 of file algos.cpp.


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