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 
11 #include <string>
12 
13 class TDataMember;
14 
15 namespace edm {
16 
17 class ObjectWithDict;
18 class TypeWithDict;
19 
21 private:
22  TDataMember* dataMember_;
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