CMS 3D CMS Logo

FWValidatorBase.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWValidatorBase_h
2 #define Fireworks_Core_FWValidatorBase_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWValidatorBase
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Fri Aug 22 20:42:39 EDT 2008
19 //
20 
21 // system include files
22 #include <vector>
23 #include <string>
24 #include <memory>
25 
26 // user include files
27 
28 // forward declarations
29 
31 
32 public:
34  }
35  virtual ~FWValidatorBase() {
36  }
37 
38  // ---------- const member functions ---------------------
39  //fills the vector with
40  // first: the full details about the substitution
41  // second: exactly what should be inserted into the expression to complete the option
42  virtual void fillOptions(const char* iBegin, const char* iEnd,
43  std::vector<std::pair<std::shared_ptr<std::string>, std::string> >& oOptions) const = 0;
44 
45  // ---------- static member functions --------------------
46 
47  // ---------- member functions ---------------------------
48 
49 private:
50  FWValidatorBase(const FWValidatorBase&) = delete; // stop default
51 
52  const FWValidatorBase& operator=(const FWValidatorBase&) = delete; // stop default
53 
54  // ---------- member data --------------------------------
55 
56 };
57 
58 
59 #endif
virtual ~FWValidatorBase()
const FWValidatorBase & operator=(const FWValidatorBase &)=delete
virtual void fillOptions(const char *iBegin, const char *iEnd, std::vector< std::pair< std::shared_ptr< std::string >, std::string > > &oOptions) const =0