CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 public:
33  virtual ~FWValidatorBase() {}
34 
35  // ---------- const member functions ---------------------
36  //fills the vector with
37  // first: the full details about the substitution
38  // second: exactly what should be inserted into the expression to complete the option
39  virtual void fillOptions(const char* iBegin,
40  const char* iEnd,
41  std::vector<std::pair<std::shared_ptr<std::string>, std::string> >& oOptions) const = 0;
42 
43  // ---------- static member functions --------------------
44 
45  // ---------- member functions ---------------------------
46 
47  FWValidatorBase(const FWValidatorBase&) = delete; // stop default
48 
49  const FWValidatorBase& operator=(const FWValidatorBase&) = delete; // stop default
50 
51  // ---------- member data --------------------------------
52 };
53 
54 #endif
virtual ~FWValidatorBase()
virtual void fillOptions(const char *iBegin, const char *iEnd, std::vector< std::pair< std::shared_ptr< std::string >, std::string > > &oOptions) const =0
const FWValidatorBase & operator=(const FWValidatorBase &)=delete