CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MemberWithDict.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_MemberWithDict_h
2 #define FWCore_Utilities_MemberWithDict_h
3 
4 /*----------------------------------------------------------------------
5 
6 MemberWithDict: A holder for a class member
7 
8 ----------------------------------------------------------------------*/
9 
10 #include <string>
11 
12 class TDataMember;
13 
14 namespace edm {
15 
16  class ObjectWithDict;
17  class TypeWithDict;
18 
20  public:
22 
23  explicit MemberWithDict(TDataMember* dataMember);
24 
25  std::string name() const;
26 
27  ObjectWithDict get() const;
28 
29  ObjectWithDict get(ObjectWithDict const& obj) const;
30 
32 
33  TypeWithDict typeOf() const;
34 
35  bool isConst() const;
36 
37  bool isPublic() const;
38 
39  bool isStatic() const;
40 
41  bool isTransient() const;
42 
43  size_t offset() const;
44 
45 #ifndef __GCCXML__
46  explicit operator bool() const;
47 #endif
48 
49  private:
50 
51  TDataMember* dataMember_;
52  };
53 
54 }
55 #endif
bool isStatic() const
size_t offset() const
bool isPublic() const
TypeWithDict declaringType() const
TDataMember * dataMember_
std::string name() const
TypeWithDict typeOf() const
bool isConst() const
bool isTransient() const