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); }
76 template<
class TTreeType >
88 virtual const char *
GetEventName()
const {
return "TreeNodeChangeEvent"; }
90 virtual bool CheckEvent(const::itk::EventObject *
e)
const {
return dynamic_cast< const Self *
>(
e ); }
103 template<
class TTreeType >
123 virtual bool CheckEvent(const::itk::EventObject *
e)
const {
return (dynamic_cast< const Self * >( e ) !=
NULL); }
137 template<
class TTreeType >
154 virtual const char *
GetEventName()
const {
return "TreeRemoveEvent"; }
157 virtual bool CheckEvent(const::itk::EventObject *
e)
const {
return (dynamic_cast< const Self * >( e ) !=
NULL); }
172 template<
class TTreeType >
186 virtual bool CheckEvent(const::itk::EventObject *
e)
const {
return (dynamic_cast< const Self * >( e ) !=
NULL); }