Go to the documentation of this file.
50 #define G4IT_TO_BE_CLONED(parent_class) \
51 virtual parent_class* Clone() const { return 0;}
53 #define G4IT_ADD_CLONE(parent_class, kid_class) \
54 virtual parent_class* Clone() const {\
55 return new kid_class(*this);\
58 #endif // ADDClone_DEF