CMS 3D CMS Logo

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  private:
21  TDataMember* dataMember_;
22 
23  public:
25  explicit MemberWithDict(TDataMember*);
26  explicit operator bool() const;
27  std::string name() const;
28  bool isArray() const;
29  bool isConst() const;
30  bool isPublic() const;
31  bool isStatic() const;
32  bool isTransient() const;
33  size_t offset() const;
35  TypeWithDict typeOf() const;
36  ObjectWithDict get() const;
37  ObjectWithDict get(ObjectWithDict const&) const;
38  };
39 
40 } // namespace edm
41 
44 
45 #endif // FWCore_Utilities_MemberWithDict_h
bool isStatic() const
size_t offset() const
bool isArray() const
bool isPublic() const
TypeWithDict declaringType() const
TDataMember * dataMember_
std::string name() const
TypeWithDict typeOf() const
bool isConst() const
bool isTransient() const
HLT enums.