CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWExpressionValidator.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWExpressionValidator_h
2 #define Fireworks_Core_FWExpressionValidator_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWExpressionValidator
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Fri Aug 22 20:42:49 EDT 2008
19 // $Id: FWExpressionValidator.h,v 1.4 2012/06/26 22:13:03 wmtan Exp $
20 //
21 
22 // system include files
23 #include <vector>
24 #include <boost/shared_ptr.hpp>
25 #include "Reflex/Type.h"
26 
27 // user include files
29 
30 // forward declarations
31 namespace fireworks {
32  class OptionNode;
33 }
34 
36 
37 public:
39  virtual ~FWExpressionValidator();
40 
41  // ---------- const member functions ---------------------
42  virtual void fillOptions(const char* iBegin, const char* iEnd,
43  std::vector<std::pair<boost::shared_ptr<std::string>, std::string> >& oOptions) const;
44 
45  // ---------- static member functions --------------------
46 
47  // ---------- member functions ---------------------------
48  void setType(const Reflex::Type&);
49 
50 private:
51  FWExpressionValidator(const FWExpressionValidator&); // stop default
52 
53  const FWExpressionValidator& operator=(const FWExpressionValidator&); // stop default
54 
55  // ---------- member data --------------------------------
57  std::vector<boost::shared_ptr<fireworks::OptionNode> > m_options;
58  std::vector<boost::shared_ptr<fireworks::OptionNode> > m_builtins;
59 
60 };
61 
62 
63 #endif
std::vector< boost::shared_ptr< fireworks::OptionNode > > m_options
const FWExpressionValidator & operator=(const FWExpressionValidator &)
virtual void fillOptions(const char *iBegin, const char *iEnd, std::vector< std::pair< boost::shared_ptr< std::string >, std::string > > &oOptions) const
void setType(const Reflex::Type &)
std::vector< boost::shared_ptr< fireworks::OptionNode > > m_builtins