CMS 3D CMS Logo

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 public:
31  unsigned int iBitPackedViews,
32  bool iRepresentsSubPart,
33  bool iRequiresFF = false);
35 
36  // ---------- const member functions ---------------------
37  const std::string& purpose() const;
38  //virtual bool canWorkWith(const std::string& iTypeName) const = 0;
39  virtual FWRepresentationInfo infoFor(const std::string& iTypeName) const = 0;
40 
41  unsigned int bitPackedViews() const;
42  bool representsSubPart() const;
43 
44  bool requiresFF() const { return m_requiresFF; }
45  // ---------- static member functions --------------------
46 
47  // ---------- member functions ---------------------------
48 
49  FWRepresentationCheckerBase(const FWRepresentationCheckerBase&) = delete; // stop default
50 
51  const FWRepresentationCheckerBase& operator=(const FWRepresentationCheckerBase&) = delete; // stop default
52 
53 private:
54  // ---------- member data --------------------------------
56  const unsigned int m_bitPackedViews;
57  const bool m_representsSubPart;
58  const bool m_requiresFF;
59 };
60 
61 #endif
virtual FWRepresentationInfo infoFor(const std::string &iTypeName) const =0
const FWRepresentationCheckerBase & operator=(const FWRepresentationCheckerBase &)=delete
FWRepresentationCheckerBase(const std::string &iPurpose, unsigned int iBitPackedViews, bool iRepresentsSubPart, bool iRequiresFF=false)
const std::string & purpose() const