CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/Fireworks/Core/src/FWValidatorBase.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWValidatorBase_h
00002 #define Fireworks_Core_FWValidatorBase_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWValidatorBase
00007 //
00016 //
00017 // Original Author:  Chris Jones
00018 //         Created:  Fri Aug 22 20:42:39 EDT 2008
00019 // $Id: FWValidatorBase.h,v 1.3 2009/01/23 21:35:44 amraktad Exp $
00020 //
00021 
00022 // system include files
00023 #include <vector>
00024 #include <string>
00025 #include <boost/shared_ptr.hpp>
00026 
00027 // user include files
00028 
00029 // forward declarations
00030 
00031 class FWValidatorBase {
00032 
00033 public:
00034    FWValidatorBase() {
00035    }
00036    virtual ~FWValidatorBase() {
00037    }
00038 
00039    // ---------- const member functions ---------------------
00040    //fills the vector with
00041    // first: the full details about the substitution
00042    // second: exactly what should be inserted into the expression to complete the option
00043    virtual void fillOptions(const char* iBegin, const char* iEnd,
00044                             std::vector<std::pair<boost::shared_ptr<std::string>, std::string> >& oOptions) const = 0;
00045 
00046    // ---------- static member functions --------------------
00047 
00048    // ---------- member functions ---------------------------
00049 
00050 private:
00051    FWValidatorBase(const FWValidatorBase&); // stop default
00052 
00053    const FWValidatorBase& operator=(const FWValidatorBase&); // stop default
00054 
00055    // ---------- member data --------------------------------
00056 
00057 };
00058 
00059 
00060 #endif