source: trunk/source/geometry/management/include/G4VTouchable.icc@ 1177

Last change on this file since 1177 was 1058, checked in by garnier, 17 years ago

file release beta

File size: 3.4 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26//
27// $Id: G4VTouchable.icc,v 1.9 2006/06/29 18:33:07 gunter Exp $
28// GEANT4 tag $Name: geant4-09-02-ref-02 $
29//
30//
31// class G4VTouchable Inline implementation
32//
33// --------------------------------------------------------------------
34
35inline
36G4VTouchable::G4VTouchable()
37{
38}
39
40inline
41G4VTouchable::~G4VTouchable()
42{
43}
44
45inline
46G4VPhysicalVolume* G4VTouchable::GetVolume(G4int) const
47{
48 G4Exception("G4VTouchable::GetVolume()", "NotApplicable",
49 FatalException, "Undefined call to base class.");
50 return 0;
51}
52
53inline
54G4VSolid* G4VTouchable::GetSolid(G4int) const
55{
56 G4Exception("G4VTouchable::GetSolid()", "NotApplicable",
57 FatalException, "Undefined call to base class.");
58 return 0;
59}
60
61inline
62G4int G4VTouchable::GetReplicaNumber(G4int) const
63{
64 G4Exception("G4VTouchable::GetReplicaNumber()", "NotApplicable",
65 FatalException, "Undefined call to base class.");
66 return 0;
67}
68
69inline
70G4int G4VTouchable::GetCopyNumber(G4int depth) const
71{
72 return GetReplicaNumber(depth);
73}
74
75inline
76G4int G4VTouchable::MoveUpHistory(G4int)
77{
78 G4Exception("G4VTouchable::MoveUpHistory()", "NotApplicable",
79 FatalException, "Undefined call to base class.");
80 return 0;
81}
82
83inline
84void G4VTouchable::UpdateYourself(G4VPhysicalVolume*,
85 const G4NavigationHistory* )
86{
87 G4Exception("G4VTouchable::UpdateYourself()", "NotApplicable",
88 FatalException, "Undefined call to base class.");
89}
90
91inline
92G4int G4VTouchable::GetHistoryDepth() const
93{
94 G4Exception("G4VTouchable::GetHistoryDepth()", "NotApplicable",
95 FatalException, "Undefined call to base class.");
96 return 0;
97}
98
99inline
100const G4NavigationHistory* G4VTouchable::GetHistory() const
101{
102 G4Exception("G4VTouchable::GetHistory()", "NotApplicable",
103 FatalException, "Undefined call to base class.");
104 return 0;
105}
Note: See TracBrowser for help on using the repository browser.