ValueExample

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
#ifndef Integration_test_ValueExample_h
#define Integration_test_ValueExample_h
// -*- C++ -*-
//
// Package:     Integration
// Class  :     ValueExample
//
/**\class ValueExample ValueExample.h FWCore/Integration/test/stubs/ValueExample.h

 Description: An example of a trivial Service

 Usage:
    <usage>

*/
//
// Original Author:  Chris Jones
//         Created:  Mon Sep  5 19:51:59 EDT 2005
//

namespace edm {
  class ParameterSet;
  class ConfigurationDescriptions;
}  // namespace edm

class ValueExample {
public:
  ValueExample(const edm::ParameterSet&);
  virtual ~ValueExample();

  // ---------- const member functions ---------------------
  int value() const { return value_; }

  // ---------- static member functions --------------------
  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);

  // ---------- member functions ---------------------------

private:
  ValueExample(const ValueExample&) = delete;  // stop default

  const ValueExample& operator=(const ValueExample&) = delete;  // stop default

  // ---------- member data --------------------------------
  int value_;
};

#endif