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 // $Id: FWRepresentationCheckerBase.h,v 1.3 2010/06/02 22:36:38 chrjones Exp $
20 //
21 
22 // system include files
23 #include <string>
24 // user include files
25 
26 // forward declarations
28 
30 
31 public:
32  FWRepresentationCheckerBase(const std::string& iPurpose, unsigned int iBitPackedViews, bool iRepresentsSubPart);
34 
35  // ---------- const member functions ---------------------
36  const std::string& purpose() const;
37  //virtual bool canWorkWith(const std::string& iTypeName) const = 0;
38  virtual FWRepresentationInfo infoFor(const std::string& iTypeName) const = 0;
39 
40  unsigned int bitPackedViews() const;
41  bool representsSubPart() const;
42  // ---------- static member functions --------------------
43 
44  // ---------- member functions ---------------------------
45 
46 private:
48 
50 
51  // ---------- member data --------------------------------
52  const std::string m_purpose;
53  const unsigned int m_bitPackedViews;
54  const bool m_representsSubPart;
55 
56 };
57 
58 
59 #endif
const std::string & purpose() const
virtual FWRepresentationInfo infoFor(const std::string &iTypeName) const =0
const FWRepresentationCheckerBase & operator=(const FWRepresentationCheckerBase &)
FWRepresentationCheckerBase(const std::string &iPurpose, unsigned int iBitPackedViews, bool iRepresentsSubPart)