CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::pathStatusExpression::Operand Class Reference
Inheritance diagram for edm::pathStatusExpression::Operand:
edm::pathStatusExpression::Evaluator

Public Member Functions

bool evaluate (Event const &event) const override
 
void init (ConsumesCollector &iC) override
 
 Operand (std::vector< char > const &pathName)
 
void print (std::ostream &out, unsigned int indentation) const override
 
EvaluatorType type () const override
 
- Public Member Functions inherited from edm::pathStatusExpression::Evaluator
virtual void setLeft (std::unique_ptr< Evaluator > &&)
 
virtual void setRight (std::unique_ptr< Evaluator > &&)
 
virtual ~Evaluator ()
 

Private Attributes

std::string pathName_
 
EDGetTokenT< PathStatustoken_
 

Additional Inherited Members

- Public Types inherited from edm::pathStatusExpression::Evaluator
enum  EvaluatorType {
  Name, Not, And, Or,
  BeginParen
}
 

Detailed Description

Definition at line 96 of file PathStatusFilter.cc.

Constructor & Destructor Documentation

◆ Operand()

edm::pathStatusExpression::Operand::Operand ( std::vector< char > const &  pathName)
inline

Member Function Documentation

◆ evaluate()

bool edm::pathStatusExpression::Operand::evaluate ( Event const &  event) const
inlineoverridevirtual

Reimplemented from edm::pathStatusExpression::Evaluator.

Definition at line 108 of file PathStatusFilter.cc.

References token_.

108 { return event.get(token_).accept(); }
EDGetTokenT< PathStatus > token_

◆ init()

void edm::pathStatusExpression::Operand::init ( ConsumesCollector iC)
inlineoverridevirtual

◆ print()

void edm::pathStatusExpression::Operand::print ( std::ostream &  out,
unsigned int  indentation 
) const
inlineoverridevirtual

◆ type()

EvaluatorType edm::pathStatusExpression::Operand::type ( ) const
inlineoverridevirtual

Member Data Documentation

◆ pathName_

std::string edm::pathStatusExpression::Operand::pathName_
private

Definition at line 111 of file PathStatusFilter.cc.

Referenced by init(), and print().

◆ token_

EDGetTokenT<PathStatus> edm::pathStatusExpression::Operand::token_
private

Definition at line 112 of file PathStatusFilter.cc.

Referenced by evaluate(), and init().