CMS 3D CMS Logo

FWRepresentationInfo.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWRepresentationInfo_h
2 #define Fireworks_Core_FWRepresentationInfo_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWRepresentationInfo
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Tue Nov 11 13:12:28 EST 2008
19 //
20 
21 // system include files
22 #include <string>
23 
24 // user include files
25 
26 // forward declarations
27 
29 public:
31  unsigned int iProximity,
32  unsigned int iBitPackedViews,
33  bool iRepresentsSubPart,
34  bool iRequiresFF)
35  : m_purpose(iPurpose),
36  m_proximity(iProximity),
37  m_bitPackedViews(iBitPackedViews),
38  m_representsSubPart(iRepresentsSubPart),
39  m_requiresFF(iRequiresFF) {}
40 
43 
44  // ---------- const member functions ---------------------
45 
46  const std::string& purpose() const { return m_purpose; }
47 
49  unsigned int proximity() const { return m_proximity; }
50 
51  bool isValid() const { return !m_purpose.empty(); }
52 
53  bool representsSubPart() const { return m_representsSubPart; }
54 
55  bool requiresFF() const { return m_requiresFF; }
56 
57  unsigned int bitPackedViews() const { return m_bitPackedViews; }
58 
59  // ---------- static member functions --------------------
60 
61  // ---------- member functions ---------------------------
62 
63 private:
64  //FWRepresentationInfo(const FWRepresentationInfo&); // stop default
65 
66  //const FWRepresentationInfo& operator=(const FWRepresentationInfo&); // stop default
67 
68  // ---------- member data --------------------------------
70  unsigned int m_proximity;
71  unsigned int m_bitPackedViews;
72 
75 };
76 
77 #endif
funct::false
false
Definition: Factorize.h:29
FWRepresentationInfo::purpose
const std::string & purpose() const
Definition: FWRepresentationInfo.h:46
FWRepresentationInfo::m_purpose
std::string m_purpose
Definition: FWRepresentationInfo.h:69
FWRepresentationInfo::m_proximity
unsigned int m_proximity
Definition: FWRepresentationInfo.h:70
FWRepresentationInfo::representsSubPart
bool representsSubPart() const
Definition: FWRepresentationInfo.h:53
FWRepresentationInfo::m_representsSubPart
bool m_representsSubPart
Definition: FWRepresentationInfo.h:73
FWRepresentationInfo::isValid
bool isValid() const
Definition: FWRepresentationInfo.h:51
FWRepresentationInfo::m_bitPackedViews
unsigned int m_bitPackedViews
Definition: FWRepresentationInfo.h:71
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FWRepresentationInfo::FWRepresentationInfo
FWRepresentationInfo(const std::string &iPurpose, unsigned int iProximity, unsigned int iBitPackedViews, bool iRepresentsSubPart, bool iRequiresFF)
Definition: FWRepresentationInfo.h:30
FWRepresentationInfo::requiresFF
bool requiresFF() const
Definition: FWRepresentationInfo.h:55
FWRepresentationInfo
Definition: FWRepresentationInfo.h:28
FWRepresentationInfo::FWRepresentationInfo
FWRepresentationInfo()
Definition: FWRepresentationInfo.h:41
FWRepresentationInfo::bitPackedViews
unsigned int bitPackedViews() const
Definition: FWRepresentationInfo.h:57
FWRepresentationInfo::proximity
unsigned int proximity() const
measures how 'close' this representation is to the type in question, the large the number the farther...
Definition: FWRepresentationInfo.h:49
FWRepresentationInfo::m_requiresFF
bool m_requiresFF
Definition: FWRepresentationInfo.h:74