ATLAS Offline Software
Identifiable.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #ifndef IDENTIFIER_IDENTIFIABLE_H
8 # define IDENTIFIER_IDENTIFIABLE_H
9 
10 class Identifier;
11 class IdentifierHash;
12 class IdHelper;
13 
27 class Identifiable {
28 public:
29 
30  virtual ~Identifiable() = default;
31 
32  virtual Identifier identify() const = 0;
33 
34  virtual IdentifierHash identifyHash() const;
35 
36  virtual const IdHelper* getHelper() const;
37 };
38 
39 #endif // IDENTIFIER_IDENTIFIABLE_H
Identifiable::getHelper
virtual const IdHelper * getHelper() const
Definition: Identifiable.cxx:18
IdHelper
This is an abstract base class for helper classes that know how to convert Identifier <-> IdentifierH...
Definition: IdHelper.h:24
Identifiable::~Identifiable
virtual ~Identifiable()=default
Identifiable
This class provides an abstract interface to an Identifiable object.
Definition: Identifiable.h:27
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
Identifiable::identify
virtual Identifier identify() const =0
Identifiable::identifyHash
virtual IdentifierHash identifyHash() const
Definition: Identifiable.cxx:11
Identifier
Definition: IdentifierFieldParser.cxx:14