CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 public:
30  FWItemSingleAccessor(const TClass*);
31  ~FWItemSingleAccessor() override;
32 
33  // ---------- const member functions ---------------------
34  const void* modelData(int iIndex) const override;
35  const void* data() const override;
36  unsigned int size() const override;
37  const TClass* modelType() const override;
38  const TClass* type() const override;
39 
40  bool isCollection() const override;
41 
42  // ---------- member functions ---------------------------
43  void setData(const edm::ObjectWithDict&) override;
44  void reset() override;
45 
46  FWItemSingleAccessor(const FWItemSingleAccessor&) = delete; // stop default
47 
48  const FWItemSingleAccessor& operator=(const FWItemSingleAccessor&) = delete; // stop default
49 
50 private:
51  // ---------- member data --------------------------------
52  const TClass* m_type;
53  const void* m_data;
54 };
55 
56 #endif
unsigned int size() const override
bool isCollection() const override
const FWItemSingleAccessor & operator=(const FWItemSingleAccessor &)=delete
const void * data() const override
void setData(const edm::ObjectWithDict &) override
override if id of an object should be different than the index
const void * modelData(int iIndex) const override
FWItemSingleAccessor(const TClass *)
const TClass * modelType() const override
const TClass * type() const override