GDCM
2.2.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
Source
MediaStorageAndFileFormat
gdcmAnonymizeEvent.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: GDCM (Grassroots DICOM). A DICOM library
4
5
Copyright (c) 2006-2011 Mathieu Malaterre
6
All rights reserved.
7
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notice for more information.
12
13
=========================================================================*/
14
#ifndef GDCMANONYMIZEEVENT_H
15
#define GDCMANONYMIZEEVENT_H
16
17
#include "
gdcmEvent.h
"
18
#include "
gdcmTag.h
"
19
20
namespace
gdcm
21
{
22
29
class
AnonymizeEvent
:
public
AnyEvent
30
{
31
public
:
32
typedef
AnonymizeEvent
Self
;
33
typedef
AnyEvent
Superclass
;
34
AnonymizeEvent
(
Tag
const
&tag = 0):m_Tag(tag) {}
35
virtual
~AnonymizeEvent
() {}
36
virtual
const
char
*
GetEventName
()
const
{
return
"AnonymizeEvent"
; }
37
virtual
bool
CheckEvent
(const ::gdcm::Event* e)
const
38
{
return
(dynamic_cast<const Self*>(e) == NULL ?
false
:
true
) ; }
39
virtual ::gdcm::Event*
MakeObject
()
const
40
{
return
new
Self
; }
41
AnonymizeEvent
(
const
Self
&s) :
AnyEvent
(s){};
42
43
void
SetTag
(
const
Tag
& t ) { m_Tag = t; }
44
Tag
const
&
GetTag
()
const
{
return
m_Tag; }
45
private
:
46
void
operator=(
const
Self
&);
47
Tag
m_Tag;
48
};
49
50
51
}
// end namespace gdcm
52
53
#endif //GDCMANONYMIZEEVENT_H
Generated on Wed Jun 13 2012 20:40:37 for GDCM by
1.8.1