KWStyle - itkEventObject.cxx
 
Matrix View
Description

1 /*=========================================================================
2
3   Program:   Insight Segmentation & Registration Toolkit
4   Module:    $RCSfile: itkEventObject.cxx.html,v $
5   Language:  C++
6   Date:      $Date: 2006/01/17 19:15:35 $
7   Version:   $Revision: 1.4 $
8
9   Copyright (c) Insight Software Consortium. All rights reserved.
10   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11
12      This software is distributed WITHOUT ANY WARRANTY; without even 
13      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
14      PURPOSE.  See the above copyright notices for more information.
15
16 DEF =========================================================================*/
17 #include "itkEventObject.h"
18
19 namespace itk
20 {
21
22 void
23 EventObject
24 ::Print(std::ostream& os) const
25 {
26   Indent indent;
27   
28   this->PrintHeader(os,0); 
29   this->PrintSelf(os, indent.GetNextIndent());
30   this->PrintTrailer(os,0);
31 }  
32
33 /**
34  * Define a default print header for all objects.
35  */
36 void 
37 EventObject
38 ::PrintHeader(std::ostream& os, Indent indent) const
39 {
40   os << std::endl;
41   os << indent << "itk::" << this->GetEventName() << " (" << this << ")\n";
42 }
43
44
45 /**
46  * Define a default print trailer for all objects.
47  */
48 void 
49 EventObject
50 ::PrintTrailer(std::ostream& os, Indent indent) const
51 {
52   os << indent << std::endl;
53 }
54
55 void
56 EventObject
57 ::PrintSelf(std::ostream&, Indent) const
58 {
59 }
60
61 // end namespace itk
62

Generated by KWStyle 1.0b on Tuesday January,17 at 02:14:07PM
© Kitware Inc.