Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: faccb.h,v 2.1 1998/07/12 02:39:12 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
// Static Factory Initializer
|
||||
|
||||
#if (XVT_CC == XVT_CC_SYMCPLUS || defined XVT_PREDEF_PLACEMENT_NEW)
|
||||
#include "new.h"
|
||||
#else
|
||||
inline void* operator new(size_t, void* m) { return m; }
|
||||
#endif
|
||||
|
||||
class CGUIFactoryInit
|
||||
{
|
||||
public:
|
||||
CGUIFactoryInit() {
|
||||
if (!CGUIFactory::itIsInitialized)
|
||||
new (&GUIFactory) CGUIFactory;
|
||||
}
|
||||
};
|
||||
|
||||
static CGUIFactoryInit _FACTORYInit;
|
||||
|
||||
Reference in New Issue
Block a user