This class derives from TreeChangeEvent and check if a node has been removed from the tree. More...
#include <itkTreeChangeEvent.h>
Public Types | |
typedef TreeRemoveEvent | Self |
typedef TreeChangeEvent < TTreeType > | Superclass |
Public Member Functions | |
virtual bool | CheckEvent (const ::itk::EventObject *e) const |
virtual bool | CheckEvent (const EventObject *) const =0 |
const TreeIteratorBase < TTreeType > & | GetChangePosition () const |
virtual const char * | GetEventName () const |
virtual ::itk::EventObject * | MakeObject () const |
virtual void | Print (std::ostream &os) const |
TreeRemoveEvent (const TreeIteratorBase< TTreeType > &position) | |
TreeRemoveEvent () | |
TreeRemoveEvent (const Self &s) | |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
Protected Attributes | |
const TreeIteratorBase < TTreeType > * | m_ChangePosition |
This class derives from TreeChangeEvent and check if a node has been removed from the tree.
Definition at line 176 of file itkTreeChangeEvent.h.
typedef TreeRemoveEvent itk::TreeRemoveEvent< TTreeType >::Self |
Typedefs
Reimplemented from itk::TreeChangeEvent< TTreeType >.
Reimplemented in itk::TreePruneEvent< TTreeType >.
Definition at line 181 of file itkTreeChangeEvent.h.
typedef TreeChangeEvent<TTreeType> itk::TreeRemoveEvent< TTreeType >::Superclass |
Reimplemented from itk::TreeChangeEvent< TTreeType >.
Reimplemented in itk::TreePruneEvent< TTreeType >.
Definition at line 182 of file itkTreeChangeEvent.h.
itk::TreeRemoveEvent< TTreeType >::TreeRemoveEvent | ( | ) | [inline] |
Constructor
Definition at line 185 of file itkTreeChangeEvent.h.
itk::TreeRemoveEvent< TTreeType >::TreeRemoveEvent | ( | const TreeIteratorBase< TTreeType > & | position | ) | [inline] |
Copy constructor
Definition at line 188 of file itkTreeChangeEvent.h.
itk::TreeRemoveEvent< TTreeType >::TreeRemoveEvent | ( | const Self & | s | ) | [inline] |
Definition at line 209 of file itkTreeChangeEvent.h.
virtual bool itk::TreeRemoveEvent< TTreeType >::CheckEvent | ( | const ::itk::EventObject * | e | ) | const [inline, virtual] |
Check the event
Reimplemented from itk::TreeChangeEvent< TTreeType >.
Reimplemented in itk::TreePruneEvent< TTreeType >.
Definition at line 198 of file itkTreeChangeEvent.h.
virtual bool itk::EventObject::CheckEvent | ( | const EventObject * | ) | const [pure virtual, inherited] |
Check if given event matches or derives from this event.
const TreeIteratorBase<TTreeType>& itk::TreeChangeEvent< TTreeType >::GetChangePosition | ( | ) | const [inline, inherited] |
Get the change position
Definition at line 74 of file itkTreeChangeEvent.h.
References itk::TreeChangeEvent< TTreeType >::m_ChangePosition.
virtual const char* itk::TreeRemoveEvent< TTreeType >::GetEventName | ( | void | ) | const [inline, virtual] |
Get the event name
Reimplemented from itk::TreeChangeEvent< TTreeType >.
Reimplemented in itk::TreePruneEvent< TTreeType >.
Definition at line 192 of file itkTreeChangeEvent.h.
virtual ::itk::EventObject* itk::TreeRemoveEvent< TTreeType >::MakeObject | ( | ) | const [inline, virtual] |
Make the event object
Reimplemented from itk::TreeChangeEvent< TTreeType >.
Reimplemented in itk::TreePruneEvent< TTreeType >.
Definition at line 204 of file itkTreeChangeEvent.h.
References itk::TreeChangeEvent< TTreeType >::m_ChangePosition.
virtual void itk::EventObject::Print | ( | std::ostream & | os | ) | const [virtual, inherited] |
Print Event information. This method can be overridden by specific Event subtypes. The default is to print out the type of the event.
virtual void itk::EventObject::PrintHeader | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual, inherited] |
virtual void itk::EventObject::PrintSelf | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual, inherited] |
virtual void itk::EventObject::PrintTrailer | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual, inherited] |
const TreeIteratorBase<TTreeType>* itk::TreeChangeEvent< TTreeType >::m_ChangePosition [protected, inherited] |
Definition at line 79 of file itkTreeChangeEvent.h.
Referenced by itk::TreeChangeEvent< TTreeType >::GetChangePosition(), itk::TreeAddEvent< TTreeType >::MakeObject(), itk::TreeNodeChangeEvent< TTreeType >::MakeObject(), itk::TreePruneEvent< TTreeType >::MakeObject(), itk::TreeChangeEvent< TTreeType >::MakeObject(), itk::TreeRemoveEvent< TTreeType >::MakeObject(), and itk::TreeChangeEvent< TTreeType >::TreeChangeEvent().