CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWItemAccessorFactory.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWItemAccessorFactory_h
2 #define Fireworks_Core_FWItemAccessorFactory_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWItemAccessorFactory
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Sat Oct 18 14:47:03 EDT 2008
19 // $Id: FWItemAccessorFactory.h,v 1.6 2010/06/03 19:38:31 chrjones Exp $
20 //
21 
22 // system include files
23 #include <boost/shared_ptr.hpp>
24 #include <string>
25 
26 // user include files
27 
28 // forward declarations
29 class FWItemAccessorBase;
30 class TClass;
31 
33 
34 public:
36  virtual ~FWItemAccessorFactory();
37 
38  // ---------- const member functions ---------------------
39  boost::shared_ptr<FWItemAccessorBase> accessorFor(const TClass*) const;
40  static bool hasAccessor(const TClass *iClass, std::string &result);
41  static bool hasTVirtualCollectionProxy(const TClass *iClass);
42  static bool hasMemberTVirtualCollectionProxy(const TClass *iClass,
43  TClass *&oMember,
44  size_t& oOffset);
45 
46  static bool classAccessedAsCollection(const TClass*);
47 
48  // ---------- static member functions --------------------
49 
50  // ---------- member functions ---------------------------
51 
52 private:
53  FWItemAccessorFactory(const FWItemAccessorFactory&); // stop default
54 
55  const FWItemAccessorFactory& operator=(const FWItemAccessorFactory&); // stop default
56 
57  // ---------- member data --------------------------------
58 
59 };
60 
61 #endif
const FWItemAccessorFactory & operator=(const FWItemAccessorFactory &)
static bool classAccessedAsCollection(const TClass *)
tuple result
Definition: query.py:137
static bool hasTVirtualCollectionProxy(const TClass *iClass)
static bool hasMemberTVirtualCollectionProxy(const TClass *iClass, TClass *&oMember, size_t &oOffset)
static bool hasAccessor(const TClass *iClass, std::string &result)
boost::shared_ptr< FWItemAccessorBase > accessorFor(const TClass *) const