CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
edmtest::ValueMaker Struct Reference
Inheritance diagram for edmtest::ValueMaker:
edmtest::IntMakerBase

Public Member Functions

int value () const final
 
 ValueMaker (edm::ParameterSet const &iPSet)
 
- Public Member Functions inherited from edmtest::IntMakerBase
virtual ~IntMakerBase ()=default
 

Static Public Member Functions

static void fillPSetDescription (edm::ParameterSetDescription &iDesc)
 

Public Attributes

int value_
 

Detailed Description

Definition at line 40 of file PluginUsingProducer.cc.

Constructor & Destructor Documentation

◆ ValueMaker()

edmtest::ValueMaker::ValueMaker ( edm::ParameterSet const &  iPSet)
inlineexplicit

Definition at line 41 of file PluginUsingProducer.cc.

References edm::ParameterSet::getParameter().

41 : value_{iPSet.getParameter<int>("value")} {}

Member Function Documentation

◆ fillPSetDescription()

static void edmtest::ValueMaker::fillPSetDescription ( edm::ParameterSetDescription iDesc)
inlinestatic

Definition at line 44 of file PluginUsingProducer.cc.

References edm::ParameterSetDescription::add().

44 { iDesc.add<int>("value", 5); }
ParameterDescriptionBase * add(U const &iLabel, T const &value)

◆ value()

int edmtest::ValueMaker::value ( ) const
inlinefinalvirtual

Member Data Documentation

◆ value_

int edmtest::ValueMaker::value_

Definition at line 46 of file PluginUsingProducer.cc.

Referenced by value().