00001
00002
00003 #ifndef TESTATLFAST_EXAMPLECONTAINEDOBJECT_H
00004 #define TESTATLFAST_EXAMPLECONTAINEDOBJECT_H
00005
00006
00007 #ifndef GAUDIKERNEL_CONTAINEDOBJECT_H
00008 #include "GaudiKernel/ContainedObject.h"
00009 #define GAUDIKERNEL_CONTAINEDOBJECT_H
00010 #endif
00011
00012 #ifndef GAUDIKERNEL_OBJECTFACTORY_H
00013 #include "GaudiKernel/ObjectFactory.h"
00014 #define GAUDIKERNEL_OBJECTFACTORY_H
00015 #endif
00016
00017
00018
00019 static const CLID CLID_TESTATLFAST_EXAMPLECONTAINEDOBJECT=2999 ;
00020
00021 namespace TestAtlfast {
00022 class ExampleContainedObject : public ContainedObject{
00023 public:
00025 ExampleContainedObject():ContainedObject(), m_int(0){}
00026 ExampleContainedObject(int i):ContainedObject(), m_int(i){}
00027 virtual ~ExampleContainedObject() { }
00029 static const CLID& classID() {
00030 return CLID_TESTATLFAST_EXAMPLECONTAINEDOBJECT; }
00032 virtual const CLID& clID() const {
00033 return CLID_TESTATLFAST_EXAMPLECONTAINEDOBJECT; }
00034 int getit()const{return m_int;}
00035 private:
00036 int m_int;
00037 };
00038 }
00039 #endif
00040
00041
00042
00043
00044
00045
00046
00047
00048