72 lines
2.3 KiB
Plaintext
72 lines
2.3 KiB
Plaintext
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. *
|
|
// * *
|
|
// * This code implementation is the intellectual property of the *
|
|
// * 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: G4PVSolid.ddl,v 1.4.4.1 2001/06/28 19:11:27 gunter Exp $
|
|
// GEANT4 tag $Name: $
|
|
//
|
|
//
|
|
// class G4PVSolid
|
|
//
|
|
// History:
|
|
// 19.06.98 A.Kimura Converted from G4VSolid.hh
|
|
// 20.06.98 A.Kimura Clean up
|
|
|
|
#ifndef G4PVSOLID_DDL
|
|
#define G4PVSOLID_DDL
|
|
|
|
#include "G4Pglobals.hh"
|
|
#include "geomdefs.hh"
|
|
#include "G4PersistentTypes.hh"
|
|
#include "G4PersistentSchema.hh"
|
|
|
|
#include "G4VSolid.hh"
|
|
|
|
#include "HepODBMS/odbms/HepODBMS.h"
|
|
|
|
class G4PVSolid;
|
|
|
|
class G4PVSolid : public HepPersObj {
|
|
public:
|
|
G4PVSolid();
|
|
G4PVSolid(const G4String& name);
|
|
virtual ~G4PVSolid();
|
|
|
|
virtual G4VSolid* MakeTransientObject() const = 0;
|
|
|
|
G4bool operator==( const G4PVSolid& s) const
|
|
{
|
|
return (this==&s) ? true : false;
|
|
}
|
|
|
|
G4String GetName() const;
|
|
void SetName(const G4String& name);
|
|
|
|
virtual G4GeometryType GetEntityType() const = 0;
|
|
|
|
private:
|
|
|
|
G4PString fshapeName; // Name
|
|
};
|
|
|
|
#endif
|