CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 // $Id: FWValidatorBase.h,v 1.2 2008/11/06 22:05:26 amraktad Exp $
20 //
21 
22 // system include files
23 #include <vector>
24 #include <string>
25 #include <boost/shared_ptr.hpp>
26 
27 // user include files
28 
29 // forward declarations
30 
32 
33 public:
35  }
36  virtual ~FWValidatorBase() {
37  }
38 
39  // ---------- const member functions ---------------------
40  //fills the vector with
41  // first: the full details about the substitution
42  // second: exactly what should be inserted into the expression to complete the option
43  virtual void fillOptions(const char* iBegin, const char* iEnd,
44  std::vector<std::pair<boost::shared_ptr<std::string>, std::string> >& oOptions) const = 0;
45 
46  // ---------- static member functions --------------------
47 
48  // ---------- member functions ---------------------------
49 
50 private:
51  FWValidatorBase(const FWValidatorBase&); // stop default
52 
53  const FWValidatorBase& operator=(const FWValidatorBase&); // stop default
54 
55  // ---------- member data --------------------------------
56 
57 };
58 
59 
60 #endif
virtual ~FWValidatorBase()
virtual void fillOptions(const char *iBegin, const char *iEnd, std::vector< std::pair< boost::shared_ptr< std::string >, std::string > > &oOptions) const =0
const FWValidatorBase & operator=(const FWValidatorBase &)