Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CommonTools
Utils
src
ExpressionSetter.cc
Go to the documentation of this file.
1
#include "
CommonTools/Utils/src/ExpressionSetter.h
"
2
#include "
CommonTools/Utils/src/AndCombiner.h
"
3
#include "
CommonTools/Utils/src/OrCombiner.h
"
4
#include "
CommonTools/Utils/src/NotCombiner.h
"
5
#include "
CommonTools/Utils/interface/Exception.h
"
6
7
using namespace
reco::parser
;
8
9
void
ExpressionSetter::operator()
(
const
char
*
begin
,
const
char
* )
const
{
10
if
(
exprStack_
.size() == 0 )
11
throw
Exception
( begin )
12
<<
"Grammar error: When trying parse an expression, expression stack is empty! Please contact a developer."
;
13
expr_
=
exprStack_
.back();
14
}
geometryXMLtoCSV.parser
tuple parser
Definition:
geometryXMLtoCSV.py:78
AndCombiner.h
reco::parser::ExpressionSetter::exprStack_
ExpressionStack & exprStack_
Definition:
ExpressionSetter.h:24
reco::parser::ExpressionSetter::expr_
ExpressionPtr & expr_
Definition:
ExpressionSetter.h:23
ExpressionSetter.h
edm::hlt::Exception
error
Definition:
HLTenums.h:24
OrCombiner.h
NotCombiner.h
begin
#define begin
Definition:
vmac.h:31
reco::parser::ExpressionSetter::operator()
void operator()(const char *, const char *) const
Definition:
ExpressionSetter.cc:9
Exception.h
Generated for CMSSW Reference Manual by
1.8.5