1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
#ifndef Fireworks_Core_FWRepresentationCheckerBase_h
#define Fireworks_Core_FWRepresentationCheckerBase_h
// -*- C++ -*-
//
// Package: Core
// Class : FWRepresentationCheckerBase
//
/**\class FWRepresentationCheckerBase FWRepresentationCheckerBase.h Fireworks/Core/interface/FWRepresentationCheckerBase.h
Description: <one line class summary>
Usage:
<usage>
*/
//
// Original Author: Chris Jones
// Created: Tue Nov 11 13:12:35 EST 2008
//
// system include files
#include <string>
// user include files
// forward declarations
class FWRepresentationInfo;
class FWRepresentationCheckerBase {
public:
FWRepresentationCheckerBase(const std::string& iPurpose,
unsigned int iBitPackedViews,
bool iRepresentsSubPart,
bool iRequiresFF = false);
virtual ~FWRepresentationCheckerBase();
// ---------- const member functions ---------------------
const std::string& purpose() const;
//virtual bool canWorkWith(const std::string& iTypeName) const = 0;
virtual FWRepresentationInfo infoFor(const std::string& iTypeName) const = 0;
unsigned int bitPackedViews() const;
bool representsSubPart() const;
bool requiresFF() const { return m_requiresFF; }
// ---------- static member functions --------------------
// ---------- member functions ---------------------------
FWRepresentationCheckerBase(const FWRepresentationCheckerBase&) = delete; // stop default
const FWRepresentationCheckerBase& operator=(const FWRepresentationCheckerBase&) = delete; // stop default
private:
// ---------- member data --------------------------------
const std::string m_purpose;
const unsigned int m_bitPackedViews;
const bool m_representsSubPart;
const bool m_requiresFF;
};
#endif
|