KWStyle - itkMetaDataObject.txx
 
Matrix View
Description

1 /*=========================================================================
2
3   Program:   Insight Segmentation & Registration Toolkit
4   Module:    $RCSfile: itkMetaDataObject.txx.html,v $
5   Language:  C++
6   Date:      $Date: 2006/01/17 19:15:42 $
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   Portions of this code are covered under the VTK copyright.
13   See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details.
14
15      This software is distributed WITHOUT ANY WARRANTY; without even 
16      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
17 IND *****PURPOSE.  See the above copyright notices for more information.
18
19 NMS =========================================================================*/
20 DEF #ifndef _itkMetaDataObject_txx
21 DEF #define _itkMetaDataObject_txx
22
23 #include "itkMetaDataObject.h"
24
25 template<class MetaDataObjectType>
26 itk::MetaDataObject<MetaDataObjectType>
27 ::MetaDataObject(void)
28 IND {
29   //Nothing to do, m_MetaDataObjectValue takes this types default value.
30 IND }
31
32 template<class MetaDataObjectType>
33 itk::MetaDataObject<MetaDataObjectType>
34 ::~MetaDataObject(void)
35 IND {
36 LEN   //std::cout << "                            MetaDataObject Deleteing: " << this << std::endl;
37   //Nothing to do here.
38 }
39
40
41 template<class MetaDataObjectType>
42 itk::MetaDataObject<MetaDataObjectType>
43 ::MetaDataObject(const MetaDataObjectType InitializerValue)
44 IND **:m_MetaDataObjectValue(InitializerValue)
45 IND {
46   //Nothing to be done here
47 IND }
48
49 template<class MetaDataObjectType>
50 itk::MetaDataObject<MetaDataObjectType>
51 ::MetaDataObject(const MetaDataObject<MetaDataObjectType> &TemplateObject)
52 IND **:m_MetaDataObjectValue(TemplateObject.m_MetaDataObjectValue)
53 IND {
54   //Nothing to be done here
55 IND }
56
57 template<class MetaDataObjectType>
58 const char *
59 itk::MetaDataObject<MetaDataObjectType>
60 ::GetMetaDataObjectTypeName(void) const
61 IND {
62   return typeid(MetaDataObjectType).name();
63 IND }
64
65 template<class MetaDataObjectType>
66 const std::type_info &
67 itk::MetaDataObject<MetaDataObjectType>
68 ::GetMetaDataObjectTypeInfo(void) const
69 IND {
70   return typeid(MetaDataObjectType);
71 IND }
72
73 template<class MetaDataObjectType>
74 const MetaDataObjectType &
75 itk::MetaDataObject<MetaDataObjectType>
76 ::GetMetaDataObjectValue(void) const
77 IND {
78   return m_MetaDataObjectValue;
79 IND }
80
81 template<class MetaDataObjectType>
82 void
83 itk::MetaDataObject<MetaDataObjectType>
84 ::SetMetaDataObjectValue(const MetaDataObjectType & NewValue )
85 IND {
86   m_MetaDataObjectValue=NewValue;
87 IND }
88
89 template<class MetaDataObjectType>
90 void
91 itk::MetaDataObject<MetaDataObjectType>
92 ::Print(std::ostream& os) const
93 IND {
94 IND ********//  os << "[UNKNOWN PRINT CHARACTERISTICS]" << std::endl;
95 IND ********Superclass::Print(os);
96 IND }
97 #endif
98

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