Fireworks
Core
interface
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
26
class
FWRepresentationInfo
;
27
28
class
FWRepresentationCheckerBase
{
29
public
:
30
FWRepresentationCheckerBase
(
const
std::string
& iPurpose,
31
unsigned
int
iBitPackedViews,
32
bool
iRepresentsSubPart,
33
bool
iRequiresFF =
false
);
34
virtual
~FWRepresentationCheckerBase
();
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
private
:
50
FWRepresentationCheckerBase
(
const
FWRepresentationCheckerBase
&) =
delete
;
// stop default
51
52
const
FWRepresentationCheckerBase
&
operator=
(
const
FWRepresentationCheckerBase
&) =
delete
;
// stop default
53
54
// ---------- member data --------------------------------
55
const
std::string
m_purpose
;
56
const
unsigned
int
m_bitPackedViews
;
57
const
bool
m_representsSubPart
;
58
const
bool
m_requiresFF
;
59
};
60
61
#endif
FWRepresentationCheckerBase::operator=
const FWRepresentationCheckerBase & operator=(const FWRepresentationCheckerBase &)=delete
FWRepresentationCheckerBase::infoFor
virtual FWRepresentationInfo infoFor(const std::string &iTypeName) const =0
FWRepresentationCheckerBase::purpose
const std::string & purpose() const
Definition:
FWRepresentationCheckerBase.cc:64
FWRepresentationCheckerBase::~FWRepresentationCheckerBase
virtual ~FWRepresentationCheckerBase()
Definition:
FWRepresentationCheckerBase.cc:43
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
FWRepresentationCheckerBase::bitPackedViews
unsigned int bitPackedViews() const
Definition:
FWRepresentationCheckerBase.cc:66
FWRepresentationCheckerBase::requiresFF
bool requiresFF() const
Definition:
FWRepresentationCheckerBase.h:44
FWRepresentationCheckerBase::m_bitPackedViews
const unsigned int m_bitPackedViews
Definition:
FWRepresentationCheckerBase.h:56
FWRepresentationInfo
Definition:
FWRepresentationInfo.h:28
FWRepresentationCheckerBase::representsSubPart
bool representsSubPart() const
Definition:
FWRepresentationCheckerBase.cc:68
FWRepresentationCheckerBase::FWRepresentationCheckerBase
FWRepresentationCheckerBase(const std::string &iPurpose, unsigned int iBitPackedViews, bool iRepresentsSubPart, bool iRequiresFF=false)
Definition:
FWRepresentationCheckerBase.cc:29
FWRepresentationCheckerBase
Definition:
FWRepresentationCheckerBase.h:28
FWRepresentationCheckerBase::m_purpose
const std::string m_purpose
Definition:
FWRepresentationCheckerBase.h:55
FWRepresentationCheckerBase::m_requiresFF
const bool m_requiresFF
Definition:
FWRepresentationCheckerBase.h:58
FWRepresentationCheckerBase::m_representsSubPart
const bool m_representsSubPart
Definition:
FWRepresentationCheckerBase.h:57
Generated for CMSSW Reference Manual by
1.8.16