ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AddClone_def.hh File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define G4IT_TO_BE_CLONED(parent_class)   virtual parent_class* Clone() const { return 0;}
 
#define G4IT_ADD_CLONE(parent_class, kid_class)
 

Macro Definition Documentation

#define G4IT_ADD_CLONE (   parent_class,
  kid_class 
)
Value:
virtual parent_class* Clone() const {\
return new kid_class(*this);\
}

Definition at line 52 of file AddClone_def.hh.

View newest version in sPHENIX GitHub at line 52 of file AddClone_def.hh

#define G4IT_TO_BE_CLONED (   parent_class)    virtual parent_class* Clone() const { return 0;}

Definition at line 49 of file AddClone_def.hh.

View newest version in sPHENIX GitHub at line 49 of file AddClone_def.hh