CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWRepresentationCheckerBase.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWRepresentationCheckerBase_h
2 #define Fireworks_Core_FWRepresentationCheckerBase_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWRepresentationCheckerBase
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Tue Nov 11 13:12:35 EST 2008
19 //
20 
21 // system include files
22 #include <string>
23 // user include files
24 
25 // forward declarations
27 
29 
30 public:
31  FWRepresentationCheckerBase(const std::string& iPurpose, unsigned int iBitPackedViews, bool iRepresentsSubPart, bool iRequiresFF = false);
33 
34  // ---------- const member functions ---------------------
35  const std::string& purpose() const;
36  //virtual bool canWorkWith(const std::string& iTypeName) const = 0;
37  virtual FWRepresentationInfo infoFor(const std::string& iTypeName) const = 0;
38 
39  unsigned int bitPackedViews() const;
40  bool representsSubPart() const;
41 
42  bool requiresFF() const { return m_requiresFF; }
43  // ---------- static member functions --------------------
44 
45  // ---------- member functions ---------------------------
46 
47 private:
49 
51 
52  // ---------- member data --------------------------------
54  const unsigned int m_bitPackedViews;
55  const bool m_representsSubPart;
56  const bool m_requiresFF;
57 
58 };
59 
60 
61 #endif
const std::string & purpose() const
virtual FWRepresentationInfo infoFor(const std::string &iTypeName) const =0
FWRepresentationCheckerBase(const std::string &iPurpose, unsigned int iBitPackedViews, bool iRepresentsSubPart, bool iRequiresFF=false)
const FWRepresentationCheckerBase & operator=(const FWRepresentationCheckerBase &)