Public Member Functions | Private Member Functions | List of all members
arttest::SubtractNumber Class Reference
Inheritance diagram for arttest::SubtractNumber:
arttest::OperationBase

Public Member Functions

 SubtractNumber (fhicl::ParameterSet const &)
 
- Public Member Functions inherited from arttest::OperationBase
virtual ~OperationBase () noexcept=default
 
void adjustNumber (int &i) const
 

Private Member Functions

void do_adjustNumber (int &i) const override
 

Detailed Description

Definition at line 9 of file SubtractNumber_tool.cc.

Constructor & Destructor Documentation

arttest::SubtractNumber::SubtractNumber ( fhicl::ParameterSet const &  )
inlineexplicit

Definition at line 11 of file SubtractNumber_tool.cc.

11 {}

Member Function Documentation

void arttest::SubtractNumber::do_adjustNumber ( int &  i) const
inlineoverrideprivatevirtual

Implements arttest::OperationBase.

Definition at line 15 of file SubtractNumber_tool.cc.

16  {
17  --i;
18  }

The documentation for this class was generated from the following file: