Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:32

0001 #ifndef Fireworks_Core_FWValidatorBase_h
0002 #define Fireworks_Core_FWValidatorBase_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     FWValidatorBase
0007 //
0008 /**\class FWValidatorBase FWValidatorBase.h Fireworks/Core/interface/FWValidatorBase.h
0009 
0010    Description: <one line class summary>
0011 
0012    Usage:
0013     <usage>
0014 
0015  */
0016 //
0017 // Original Author:  Chris Jones
0018 //         Created:  Fri Aug 22 20:42:39 EDT 2008
0019 //
0020 
0021 // system include files
0022 #include <vector>
0023 #include <string>
0024 #include <memory>
0025 
0026 // user include files
0027 
0028 // forward declarations
0029 
0030 class FWValidatorBase {
0031 public:
0032   FWValidatorBase() {}
0033   virtual ~FWValidatorBase() {}
0034 
0035   // ---------- const member functions ---------------------
0036   //fills the vector with
0037   // first: the full details about the substitution
0038   // second: exactly what should be inserted into the expression to complete the option
0039   virtual void fillOptions(const char* iBegin,
0040                            const char* iEnd,
0041                            std::vector<std::pair<std::shared_ptr<std::string>, std::string> >& oOptions) const = 0;
0042 
0043   // ---------- static member functions --------------------
0044 
0045   // ---------- member functions ---------------------------
0046 
0047   FWValidatorBase(const FWValidatorBase&) = delete;  // stop default
0048 
0049   const FWValidatorBase& operator=(const FWValidatorBase&) = delete;  // stop default
0050 
0051   // ---------- member data --------------------------------
0052 };
0053 
0054 #endif