Go to the documentation of this file.
42 #define G4IT_TO_BE_CLONED(parent_class) \
43 virtual parent_class* Clone() const { return 0;}
45 #define G4IT_ADD_CLONE(parent_class, kid_class) \
46 virtual parent_class* Clone() const {\
47 return new kid_class(*this);\
50 #endif // ADDClone_DEF