Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::TreeChangeEvent< TTreeType > Class Template Reference

#include <itkTreeChangeEvent.h>

Inheritance diagram for itk::TreeChangeEvent< TTreeType >:

Inheritance graph
[legend]
Collaboration diagram for itk::TreeChangeEvent< TTreeType >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class TTreeType>
class itk::TreeChangeEvent< TTreeType >

This class derives from ModifiedEvent and check if the position of a node in the tree has been changed.

Definition at line 32 of file itkTreeChangeEvent.h.

Public Types

typedef TreeChangeEvent Self
typedef ModifiedEvent Superclass

Public Member Functions

virtual bool CheckEvent (const EventObject *) const =0
virtual bool CheckEvent (const ::itk::EventObject *e) const
const TreeIteratorBase< TTreeType > & GetChangePosition () const
virtual const char * GetEventName () const
virtual ::itk::EventObjectMakeObject () const
virtual void Print (std::ostream &os) const
 TreeChangeEvent (const TreeIteratorBase< TTreeType > &position)
 TreeChangeEvent ()
virtual ~TreeChangeEvent ()

Protected Member Functions

virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintSelf (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const

Protected Attributes

const TreeIteratorBase< TTreeType > * m_ChangePosition


Member Typedef Documentation

template<class TTreeType>
typedef TreeChangeEvent itk::TreeChangeEvent< TTreeType >::Self

Typedefs

Reimplemented in itk::TreeAddEvent< TTreeType >, and itk::TreeRemoveEvent< TTreeType >.

Definition at line 37 of file itkTreeChangeEvent.h.

template<class TTreeType>
typedef ModifiedEvent itk::TreeChangeEvent< TTreeType >::Superclass

Reimplemented in itk::TreeAddEvent< TTreeType >, and itk::TreeRemoveEvent< TTreeType >.

Definition at line 38 of file itkTreeChangeEvent.h.


Constructor & Destructor Documentation

template<class TTreeType>
itk::TreeChangeEvent< TTreeType >::TreeChangeEvent (  )  [inline]

Constructor

Definition at line 41 of file itkTreeChangeEvent.h.

References itk::TreeChangeEvent< TTreeType >::m_ChangePosition, and NULL.

template<class TTreeType>
itk::TreeChangeEvent< TTreeType >::TreeChangeEvent ( const TreeIteratorBase< TTreeType > &  position  )  [inline]

Copy constructor

Definition at line 47 of file itkTreeChangeEvent.h.

References itk::TreeChangeEvent< TTreeType >::m_ChangePosition.

template<class TTreeType>
virtual itk::TreeChangeEvent< TTreeType >::~TreeChangeEvent (  )  [inline, virtual]

Destructor

Definition at line 53 of file itkTreeChangeEvent.h.


Member Function Documentation

virtual bool itk::EventObject::CheckEvent ( const EventObject  )  const [pure virtual, inherited]

Check if given event matches or derives from this event.

template<class TTreeType>
virtual bool itk::TreeChangeEvent< TTreeType >::CheckEvent ( const ::itk::EventObject e  )  const [inline, virtual]

Check the event

Reimplemented in itk::TreeAddEvent< TTreeType >, and itk::TreeRemoveEvent< TTreeType >.

Definition at line 62 of file itkTreeChangeEvent.h.

template<class TTreeType>
const TreeIteratorBase<TTreeType>& itk::TreeChangeEvent< TTreeType >::GetChangePosition (  )  const [inline]

Get the change position

Definition at line 74 of file itkTreeChangeEvent.h.

References itk::TreeChangeEvent< TTreeType >::m_ChangePosition.

template<class TTreeType>
virtual const char* itk::TreeChangeEvent< TTreeType >::GetEventName ( void   )  const [inline, virtual]

Get the event name

Implements itk::EventObject.

Reimplemented in itk::TreeAddEvent< TTreeType >, and itk::TreeRemoveEvent< TTreeType >.

Definition at line 56 of file itkTreeChangeEvent.h.

template<class TTreeType>
virtual ::itk::EventObject* itk::TreeChangeEvent< TTreeType >::MakeObject (  )  const [inline, virtual]

Make the event object

Implements itk::EventObject.

Reimplemented in itk::TreeAddEvent< TTreeType >, and itk::TreeRemoveEvent< TTreeType >.

Definition at line 68 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]

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

virtual void itk::EventObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const [protected, virtual, inherited]


Member Data Documentation

template<class TTreeType>
const TreeIteratorBase<TTreeType>* itk::TreeChangeEvent< TTreeType >::m_ChangePosition [protected]

Definition at line 86 of file itkTreeChangeEvent.h.

Referenced by itk::TreeChangeEvent< TTreeType >::GetChangePosition(), itk::TreeChangeEvent< TTreeType >::MakeObject(), and itk::TreeChangeEvent< TTreeType >::TreeChangeEvent().


The documentation for this class was generated from the following file:
Generated at Fri Sep 8 08:44:24 2006 for ITK by doxygen 1.4.7 written by Dimitri van Heesch, © 1997-2000