ATLAS Offline Software
VolumeLink.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // VolumeLink.h, (c) ATLAS Detector software
8 
9 #ifndef TRKVOLUMES_VOLUMELINK_H
10 #define TRKVOLUMES_VOLUMELINK_H
11 
13 
14 namespace Trk {
15 
16 class Volume;
17 
25 class VolumeLink {
26 public:
31  VolumeLink(const Volume* vol) :
32  m_linkVolume(vol){}
33 
35  VolumeLink(const VolumeLink& vlink) :
36  m_linkVolume(vlink.m_linkVolume){}
37 
40 
42  void VolumeLink::updateLink(const Volume* vol) {
43  m_linkVolume = vol;
44  }
45  // forward the link
46  const Volume* VolumeLink::volume( void ) const{
47  return m_linkVolume;
48  }
49 
50 private:
52 };
53 } // end of namespace
54 
55 #endif // TRKVOLUMES_VOLUMELINK_H
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
checker_macros.h
Define macros for attributes used to control the static checker.
Trk::Volume
Definition: Volume.h:35