Go to the documentation of this file.
35 virtual Event* MakeObject()
const = 0;
40 virtual void Print(std::ostream& os)
const;
43 virtual const char * GetEventName(
void)
const = 0;
46 virtual bool CheckEvent(
const Event*)
const = 0;
50 void operator=(
const Event&);
63 #define gdcmEventMacro( classname , super ) \
65 class classname : public super { \
67 typedef classname Self; \
68 typedef super Superclass; \
70 virtual ~classname() {} \
71 virtual const char * GetEventName() const { return #classname; } \
72 virtual bool CheckEvent(const ::gdcm::Event* e) const \
73 { return dynamic_cast<const Self*>(e) ? true : false; } \
74 virtual ::gdcm::Event* MakeObject() const \
75 { return new Self; } \
76 classname(const Self&s) : super(s){}; \
78 void operator=(const Self&); \
Generated on Wed Jun 13 2012 20:40:37 for GDCM by
1.8.1