CMS 3D CMS Logo

FWItemSingleAccessor.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWItemSingleAccessor_h
2 #define Fireworks_Core_FWItemSingleAccessor_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWItemSingleAccessor
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Sat Oct 18 11:36:41 EDT 2008
19 //
20 
21 // system include files
22 
23 // user include files
25 
26 // forward declarations
27 
29 
30 public:
31  FWItemSingleAccessor(const TClass*);
32  ~FWItemSingleAccessor() override;
33 
34  // ---------- const member functions ---------------------
35  const void* modelData(int iIndex) const override;
36  const void* data() const override;
37  unsigned int size() const override;
38  const TClass* modelType() const override;
39  const TClass* type() const override;
40 
41  bool isCollection() const override;
42 
43  // ---------- member functions ---------------------------
44  void setData(const edm::ObjectWithDict& ) override;
45  void reset() override;
46 
47 private:
48  FWItemSingleAccessor(const FWItemSingleAccessor&) = delete; // stop default
49 
50  const FWItemSingleAccessor& operator=(const FWItemSingleAccessor&) = delete; // stop default
51 
52  // ---------- member data --------------------------------
53  const TClass* m_type;
54  const void* m_data;
55 
56 };
57 
58 
59 #endif
const FWItemSingleAccessor & operator=(const FWItemSingleAccessor &)=delete
const TClass * type() const override
void setData(const edm::ObjectWithDict &) override
override if id of an object should be different than the index
unsigned int size() const override
const void * modelData(int iIndex) const override
bool isCollection() const override
const void * data() const override
FWItemSingleAccessor(const TClass *)
const TClass * modelType() const override