Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:42

0001 // -*- C++ -*-
0002 //
0003 // Package:     Core
0004 // Class  :     FWRepresentationCheckerBase
0005 //
0006 // Implementation:
0007 //     <Notes on implementation>
0008 //
0009 // Original Author:  Chris Jones
0010 //         Created:  Tue Nov 11 14:08:50 EST 2008
0011 //
0012 
0013 // system include files
0014 
0015 // user include files
0016 #include "Fireworks/Core/interface/FWRepresentationCheckerBase.h"
0017 
0018 //
0019 // constants, enums and typedefs
0020 //
0021 
0022 //
0023 // static data member definitions
0024 //
0025 
0026 //
0027 // constructors and destructor
0028 //
0029 FWRepresentationCheckerBase::FWRepresentationCheckerBase(const std::string& iPurpose,
0030                                                          unsigned int iBitPackedViews,
0031                                                          bool iRepresentsSubPart,
0032                                                          bool iRequiresFF)
0033     : m_purpose(iPurpose),
0034       m_bitPackedViews(iBitPackedViews),
0035       m_representsSubPart(iRepresentsSubPart),
0036       m_requiresFF(iRequiresFF) {}
0037 
0038 // FWRepresentationCheckerBase::FWRepresentationCheckerBase(const FWRepresentationCheckerBase& rhs)
0039 // {
0040 //    // do actual copying here;
0041 // }
0042 
0043 FWRepresentationCheckerBase::~FWRepresentationCheckerBase() {}
0044 
0045 //
0046 // assignment operators
0047 //
0048 // const FWRepresentationCheckerBase& FWRepresentationCheckerBase::operator=(const FWRepresentationCheckerBase& rhs)
0049 // {
0050 //   //An exception safe implementation is
0051 //   FWRepresentationCheckerBase temp(rhs);
0052 //   swap(rhs);
0053 //
0054 //   return *this;
0055 // }
0056 
0057 //
0058 // member functions
0059 //
0060 
0061 //
0062 // const member functions
0063 //
0064 const std::string& FWRepresentationCheckerBase::purpose() const { return m_purpose; }
0065 
0066 unsigned int FWRepresentationCheckerBase::bitPackedViews() const { return m_bitPackedViews; }
0067 
0068 bool FWRepresentationCheckerBase::representsSubPart() const { return m_representsSubPart; }
0069 //
0070 // static member functions
0071 //