CMS 3D CMS Logo

ParameterDescriptionTemplate.h

Go to the documentation of this file.
00001 #ifndef FWCore_ParameterSet_ParameterDescriptionTemplate_h
00002 #define FWCore_ParameterSet_ParameterDescriptionTemplate_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     ParameterSet
00006 // Class  :     ParameterDescriptionTemplate
00007 // 
00016 //
00017 // Original Author:  Chris Jones
00018 //         Created:  Thu Aug  2 15:33:51 EDT 2007
00019 // $Id: ParameterDescriptionTemplate.h,v 1.1 2007/09/17 21:04:37 chrjones Exp $
00020 //
00021 
00022 // system include files
00023 
00024 // user include files
00025 #include "FWCore/ParameterSet/interface/ParameterDescription.h"
00026 
00027 // forward declarations
00028 namespace edm {
00029   template<class T>
00030 class ParameterDescriptionTemplate : public ParameterDescription
00031 {
00032 
00033    public:
00034    ParameterDescriptionTemplate(const std::string& iLabel,
00035                                 bool isTracked):
00036   ParameterDescription(iLabel, isTracked, ParameterTypeToEnum::toEnum<T>()) {}
00037 
00038       // ---------- const member functions ---------------------
00039       virtual void validate(const ParameterSet&) const { return; }
00040 
00041       // ---------- static member functions --------------------
00042 
00043       // ---------- member functions ---------------------------
00044 
00045    private:
00046       ParameterDescriptionTemplate(const ParameterDescriptionTemplate&); // stop default
00047 
00048       const ParameterDescriptionTemplate& operator=(const ParameterDescriptionTemplate&); // stop default
00049 
00050       // ---------- member data --------------------------------
00051 
00052 };
00053 
00054 }
00055 #endif

Generated on Tue Jun 9 17:36:26 2009 for CMSSW by  doxygen 1.5.4