ATLAS Offline Software
Loading...
Searching...
No Matches
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
IUnitInterpreter.h
NTUPUnitInterpreter.h
ExpressionParsing::EncapsulatingSingleton< IUnitInterpreter >::EncapsulatingSingleton
EncapsulatingSingleton()
Definition
EncapsulatingSingleton.h:46
ExpressionParsing::IUnitInterpreter
Definition
IUnitInterpreter.h:19
ExpressionParsing::NTUPUnitInterpreter
Definition
NTUPUnitInterpreter.h:18
ExpressionParsing::UnitInterpreterSingleton
Definition
UnitInterpreterSingleton.h:25
ExpressionParsing
Namespace holding all the expression evaluation code.
Definition
ExpressionParser.h:26
ExpressionParsing::EncapsulatedDefault< IUnitInterpreter >::type
NTUPUnitInterpreter type
Definition
UnitInterpreterSingleton.h:22
ExpressionParsing::EncapsulatedDefault
Definition
EncapsulatingSingleton.h:18
Generated on
for ATLAS Offline Software by
1.14.0