CMS 3D CMS Logo

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 
34 public:
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
size
Write out results.
type
Definition: HCALResponse.h:21
HLT enums.
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
void reset(double vett[256])
Definition: TPedValues.cc:11