a2dWalker_SetProperty< basetype, a2dpropertyidtyped, proptype > Class Template Reference
[Algorithms on hierarchy in a2dDocument]

set a2dObjects property in a hierarchy of a a2dDocument More...

#include <algos.h>

Inheritance diagram for a2dWalker_SetProperty< basetype, a2dpropertyidtyped, proptype >:

Inheritance graph
[legend]
Collaboration diagram for a2dWalker_SetProperty< basetype, a2dpropertyidtyped, proptype >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dWalker_SetProperty (basetype valueToSet, bool all=true)
 constructor with no a2dPropertyIdTyped<basetype, proptype> added yet. For that use AddPropertyId()
 a2dWalker_SetProperty (const a2dpropertyidtyped *id, basetype valueToSet, bool all=true)
 constructor with a2dPropertyId added to the propertyIsList to search for.
 ~a2dWalker_SetProperty ()
 destructor
void AddPropertyId (const a2dpropertyidtyped *id)
 add a a2dPropertyId to the list
bool Start (a2dObject *object)
 start removing properties from the object given, and down.
virtual bool WalkTask (wxObject *parent, wxObject *object, a2dWalkEvent event)
 called from within a2dCanvasDocument

Public Attributes

bool m_all
 to remove all or only one property on each object found.
basetype m_valueToSet
 value to set
a2dPropertyIdList m_propertyList
 properties to search for


Detailed Description

template<class basetype, class a2dpropertyidtyped, class proptype = a2dPropObject>
class a2dWalker_SetProperty< basetype, a2dpropertyidtyped, proptype >

set a2dObjects property in a hierarchy of a a2dDocument

Definition at line 468 of file algos.h.


The documentation for this class was generated from the following file:
a2dWalker_SetProperty< basetype, a2dpropertyidtyped, proptype > Class Template Reference -- Tue Aug 31 18:37:41 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation