18 #ifndef __itkTreeChangeEvent_h
19 #define __itkTreeChangeEvent_h
32 template<
class TTreeType >
51 virtual const char *
GetEventName()
const {
return "TreeChangeEvent"; }
54 virtual bool CheckEvent(const::itk::EventObject *
e)
const {
return (dynamic_cast< const Self * >( e ) !=
NULL); }
78 template<
class TTreeType >
90 virtual const char *
GetEventName()
const {
return "TreeNodeChangeEvent"; }
92 virtual bool CheckEvent(const::itk::EventObject *
e)
const {
return dynamic_cast< const Self *
>(
e ); }
106 template<
class TTreeType >
126 virtual bool CheckEvent(const::itk::EventObject *
e)
const {
return (dynamic_cast< const Self * >( e ) !=
NULL); }
141 template<
class TTreeType >
158 virtual const char *
GetEventName()
const {
return "TreeRemoveEvent"; }
161 virtual bool CheckEvent(const::itk::EventObject *
e)
const {
return (dynamic_cast< const Self * >( e ) !=
NULL); }
177 template<
class TTreeType >
191 virtual bool CheckEvent(const::itk::EventObject *
e)
const {
return (dynamic_cast< const Self * >( e ) !=
NULL); }