Fireworks
Core
interface
FWItemAccessorBase.h
Go to the documentation of this file.
1
#ifndef Fireworks_Core_FWItemAccessorBase_h
2
#define Fireworks_Core_FWItemAccessorBase_h
3
// -*- C++ -*-
4
//
5
// Package: Core
6
// Class : FWItemAccessorBase
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Sat Oct 18 08:14:21 EDT 2008
19
//
20
21
// system include files
22
#include <typeinfo>
23
24
// user include files
25
26
// forward declarations
27
class
TClass;
28
namespace
edm
{
29
class
EDProduct;
30
class
ObjectWithDict;
31
}
// namespace edm
32
33
class
FWItemAccessorBase
{
34
public
:
35
FWItemAccessorBase
();
36
virtual
~FWItemAccessorBase
();
37
38
// ---------- const member functions ---------------------
39
virtual
const
void
*
modelData
(
int
iIndex)
const
= 0;
40
virtual
const
void
*
data
()
const
= 0;
41
virtual
unsigned
int
size
()
const
= 0;
42
virtual
const
TClass*
modelType
()
const
= 0;
43
virtual
const
TClass*
type
()
const
= 0;
44
45
virtual
bool
isCollection
()
const
= 0;
46
48
//virtual std::string idForIndex(int iIndex) const;
49
// ---------- member functions ---------------------------
50
virtual
void
setData
(
const
edm::ObjectWithDict
&) = 0;
51
virtual
void
reset
() = 0;
52
53
private
:
54
//FWItemAccessorBase(const FWItemAccessorBase&); // stop default
55
56
//const FWItemAccessorBase& operator=(const FWItemAccessorBase&); // stop default
57
58
// ---------- member data --------------------------------
59
};
60
61
#endif
FWItemAccessorBase::modelType
virtual const TClass * modelType() const =0
FWItemAccessorBase::~FWItemAccessorBase
virtual ~FWItemAccessorBase()
Definition:
FWItemAccessorBase.cc:36
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ObjectWithDict
Definition:
ObjectWithDict.h:17
FWItemAccessorBase::modelData
virtual const void * modelData(int iIndex) const =0
FWItemAccessorBase::FWItemAccessorBase
FWItemAccessorBase()
Definition:
FWItemAccessorBase.cc:29
FWItemAccessorBase::data
virtual const void * data() const =0
FWItemAccessorBase::size
virtual unsigned int size() const =0
FWItemAccessorBase::setData
virtual void setData(const edm::ObjectWithDict &)=0
override if id of an object should be different than the index
FWItemAccessorBase
Definition:
FWItemAccessorBase.h:33
FWItemAccessorBase::isCollection
virtual bool isCollection() const =0
FWItemAccessorBase::type
virtual const TClass * type() const =0
FWItemAccessorBase::reset
virtual void reset()=0
Generated for CMSSW Reference Manual by
1.8.16