CMS 3D CMS Logo

MemberWithDict.h
Go to the documentation of this file.
1 #ifndef FWCore_Reflection_MemberWithDict_h
2 #define FWCore_Reflection_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_Reflection_MemberWithDict_h
electrons_cff.bool
bool
Definition: electrons_cff.py:366
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::ObjectWithDict
Definition: ObjectWithDict.h:17
edm::MemberWithDict::declaringType
TypeWithDict declaringType() const
Definition: MemberWithDict.cc:32
TypeWithDict.h
edm::MemberWithDict::isArray
bool isArray() const
Definition: MemberWithDict.cc:34
ObjectWithDict.h
edm::MemberWithDict::offset
size_t offset() const
Definition: MemberWithDict.cc:44
edm::MemberWithDict::isPublic
bool isPublic() const
Definition: MemberWithDict.cc:38
edm::MemberWithDict::get
ObjectWithDict get() const
Definition: MemberWithDict.cc:46
edm::MemberWithDict::typeOf
TypeWithDict typeOf() const
Definition: MemberWithDict.cc:18
edm::MemberWithDict::MemberWithDict
MemberWithDict()
Definition: MemberWithDict.cc:10
edm::MemberWithDict::isConst
bool isConst() const
Definition: MemberWithDict.cc:36
edm::MemberWithDict::dataMember_
TDataMember * dataMember_
Definition: MemberWithDict.h:21
edm::TypeWithDict
Definition: TypeWithDict.h:38
edm::MemberWithDict::isStatic
bool isStatic() const
Definition: MemberWithDict.cc:40
edm::MemberWithDict
Definition: MemberWithDict.h:19
edm::MemberWithDict::name
std::string name() const
Definition: MemberWithDict.cc:16
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::MemberWithDict::isTransient
bool isTransient() const
Definition: MemberWithDict.cc:42