Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:37

0001 #ifndef Integration_test_ValueExample_h
0002 #define Integration_test_ValueExample_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Integration
0006 // Class  :     ValueExample
0007 //
0008 /**\class ValueExample ValueExample.h FWCore/Integration/test/stubs/ValueExample.h
0009 
0010  Description: An example of a trivial Service
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Chris Jones
0018 //         Created:  Mon Sep  5 19:51:59 EDT 2005
0019 //
0020 
0021 namespace edm {
0022   class ParameterSet;
0023   class ConfigurationDescriptions;
0024 }  // namespace edm
0025 
0026 class ValueExample {
0027 public:
0028   ValueExample(const edm::ParameterSet&);
0029   virtual ~ValueExample();
0030 
0031   // ---------- const member functions ---------------------
0032   int value() const { return value_; }
0033 
0034   // ---------- static member functions --------------------
0035   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0036 
0037   // ---------- member functions ---------------------------
0038 
0039 private:
0040   ValueExample(const ValueExample&) = delete;  // stop default
0041 
0042   const ValueExample& operator=(const ValueExample&) = delete;  // stop default
0043 
0044   // ---------- member data --------------------------------
0045   int value_;
0046 };
0047 
0048 #endif