CMS 3D CMS Logo

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

Public Member Functions

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

Static Public Member Functions

static void fillPSetDescription (edm::ParameterSetDescription &iDesc)
 

Public Attributes

int value_
 

Detailed Description

Definition at line 43 of file ProducerWithPSetDesc.cc.

Constructor & Destructor Documentation

◆ AnotherValueMaker()

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

Definition at line 44 of file ProducerWithPSetDesc.cc.

References edm::ParameterSet::getParameter().

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

Member Function Documentation

◆ fillPSetDescription()

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

Definition at line 47 of file ProducerWithPSetDesc.cc.

References edm::ParameterSetDescription::add().

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

◆ value()

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

Member Data Documentation

◆ value_

int edmtest::AnotherValueMaker::value_

Definition at line 48 of file ProducerWithPSetDesc.cc.

Referenced by value().