GeoModel - GeoModelCore
GeoIdentifierTag.h
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GEOMODELKERNEL_GEOIDENTIFIERTAG_H
6 #define GEOMODELKERNEL_GEOIDENTIFIERTAG_H
7 
16 #include "GeoModelKernel/GeoGraphNode.h"
17 
19 {
20  public:
21  // Constructor for the identifier tag. Takes an unsigned int
22  GeoIdentifierTag (int id);
23 
24  // Executes a GeoNodeAction.
25  virtual void exec (GeoNodeAction *action) const;
26 
27  // Specifies the identifier of the next physical volume in
28  // the node tree.
29  int getIdentifier () const;
30 
31  protected:
32  virtual ~GeoIdentifierTag();
33 
34  private:
35  GeoIdentifierTag(const GeoIdentifierTag &right);
36  GeoIdentifierTag & operator=(const GeoIdentifierTag &right);
37 
38  int m_identifier;
39 };
40 
41 inline int GeoIdentifierTag::getIdentifier () const
42 {
43  return m_identifier;
44 }
45 
46 #endif
This class gives an integral identifer to the following physical volume.
This type of action sees the geometry graph in full detail, including each transformation and propert...
Definition: GeoNodeAction.h:30
Represents Nodes that can be assembled together to make a graph. Subclasses (for now): ...
Definition: GeoGraphNode.h:28