CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWRepresentationCheckerBase.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Core
4 // Class : FWRepresentationCheckerBase
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author: Chris Jones
10 // Created: Tue Nov 11 14:08:50 EST 2008
11 // $Id: FWRepresentationCheckerBase.cc,v 1.3 2010/06/02 22:36:36 chrjones Exp $
12 //
13 
14 // system include files
15 
16 // user include files
18 
19 
20 //
21 // constants, enums and typedefs
22 //
23 
24 //
25 // static data member definitions
26 //
27 
28 //
29 // constructors and destructor
30 //
32  unsigned int iBitPackedViews,
33  bool iRepresentsSubPart) :
34  m_purpose(iPurpose), m_bitPackedViews(iBitPackedViews), m_representsSubPart(iRepresentsSubPart)
35 {
36 }
37 
38 // FWRepresentationCheckerBase::FWRepresentationCheckerBase(const FWRepresentationCheckerBase& rhs)
39 // {
40 // // do actual copying here;
41 // }
42 
44 {
45 }
46 
47 //
48 // assignment operators
49 //
50 // const FWRepresentationCheckerBase& FWRepresentationCheckerBase::operator=(const FWRepresentationCheckerBase& rhs)
51 // {
52 // //An exception safe implementation is
53 // FWRepresentationCheckerBase temp(rhs);
54 // swap(rhs);
55 //
56 // return *this;
57 // }
58 
59 //
60 // member functions
61 //
62 
63 //
64 // const member functions
65 //
66 const std::string&
68 {
69  return m_purpose;
70 }
71 
72 unsigned int
74 {
75  return m_bitPackedViews;
76 }
77 
79 {
80  return m_representsSubPart;
81 }
82 //
83 // static member functions
84 //
const std::string & purpose() const
FWRepresentationCheckerBase(const std::string &iPurpose, unsigned int iBitPackedViews, bool iRepresentsSubPart)