This class derives from TreeChangeEvent and check if a node has been added to the tree. More...
#include <itkTreeChangeEvent.h>
Public Types | |
typedef TreeAddEvent | 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 |
TreeAddEvent (const TreeIteratorBase< TTreeType > &position) | |
TreeAddEvent () | |
TreeAddEvent (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 added to the tree.
Definition at line 131 of file itkTreeChangeEvent.h.
typedef TreeAddEvent itk::TreeAddEvent< TTreeType >::Self |
Typedefs
Reimplemented from itk::TreeChangeEvent< TTreeType >.
Definition at line 136 of file itkTreeChangeEvent.h.
typedef TreeChangeEvent<TTreeType> itk::TreeAddEvent< TTreeType >::Superclass |
Reimplemented from itk::TreeChangeEvent< TTreeType >.
Definition at line 137 of file itkTreeChangeEvent.h.
itk::TreeAddEvent< TTreeType >::TreeAddEvent | ( | ) | [inline] |
Constructor
Definition at line 140 of file itkTreeChangeEvent.h.
itk::TreeAddEvent< TTreeType >::TreeAddEvent | ( | const TreeIteratorBase< TTreeType > & | position | ) | [inline] |
Copy constructor
Definition at line 143 of file itkTreeChangeEvent.h.
itk::TreeAddEvent< TTreeType >::TreeAddEvent | ( | const Self & | s | ) | [inline] |
Definition at line 164 of file itkTreeChangeEvent.h.
virtual bool itk::TreeAddEvent< TTreeType >::CheckEvent | ( | const ::itk::EventObject * | e | ) | const [inline, virtual] |
Check event function
Reimplemented from itk::TreeChangeEvent< TTreeType >.
Definition at line 153 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::TreeAddEvent< TTreeType >::GetEventName | ( | void | ) | const [inline, virtual] |
Get the name of the event
Reimplemented from itk::TreeChangeEvent< TTreeType >.
Definition at line 147 of file itkTreeChangeEvent.h.
virtual ::itk::EventObject* itk::TreeAddEvent< TTreeType >::MakeObject | ( | ) | const [inline, virtual] |
Make the event object
Reimplemented from itk::TreeChangeEvent< TTreeType >.
Definition at line 159 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().