ATLAS Offline Software
PhysicsAnalysis
CommonTools
ExpressionEvaluation
Root
UnitInterpreterSingleton.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// UnitInterpreterSingleton.h, (c) ATLAS Detector software
8
// Author: Thomas Gillam (thomas.gillam@cern.ch)
9
// ExpressionParsing library
11
12
#ifndef UNIT_INTERPRETER_SINGLETON_H
13
#define UNIT_INTERPRETER_SINGLETON_H
14
15
#include "
ExpressionEvaluation/IUnitInterpreter.h
"
16
#include "
NTUPUnitInterpreter.h
"
17
#include "
EncapsulatingSingleton.h
"
18
#include <stdexcept>
19
20
namespace
ExpressionParsing
{
21
template
<>
struct
EncapsulatedDefault
<
IUnitInterpreter
> {
22
typedef
NTUPUnitInterpreter
type
;
23
};
24
25
class
UnitInterpreterSingleton
:
public
EncapsulatingSingleton
<IUnitInterpreter> {
26
};
27
28
}
29
30
#endif // UNIT_INTERPRETER_SINGLETON_H
EncapsulatingSingleton.h
ExpressionParsing::IUnitInterpreter
Definition:
IUnitInterpreter.h:19
ExpressionParsing::UnitInterpreterSingleton
Definition:
UnitInterpreterSingleton.h:25
ExpressionParsing::NTUPUnitInterpreter
Definition:
NTUPUnitInterpreter.h:18
ExpressionParsing
Namespace holding all the expression evaluation code.
Definition:
ExpressionParser.h:26
NTUPUnitInterpreter.h
ExpressionParsing::EncapsulatedDefault< IUnitInterpreter >::type
NTUPUnitInterpreter type
Definition:
UnitInterpreterSingleton.h:22
ExpressionParsing::EncapsulatedDefault
Definition:
EncapsulatingSingleton.h:18
ExpressionParsing::EncapsulatingSingleton
Definition:
EncapsulatingSingleton.h:22
IUnitInterpreter.h
Generated on Tue Dec 24 2024 21:22:23 for ATLAS Offline Software by
1.8.18