CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/FWCore/Utilities/src/MemberWithDict.cc

Go to the documentation of this file.
00001 
00002 #include "Reflex/Object.h"
00003 #include "Reflex/Type.h"
00004 
00005 #include "FWCore/Utilities/interface/MemberWithDict.h"
00006 #include "FWCore/Utilities/interface/ObjectWithDict.h"
00007 #include "FWCore/Utilities/interface/TypeWithDict.h"
00008 
00009 namespace edm {
00010   ObjectWithDict
00011   MemberWithDict::get() const {
00012     return (ObjectWithDict(member_.Get()));
00013   }
00014 
00015   std::string
00016   MemberWithDict::name() const {
00017     return member_.Name();
00018   }
00019 
00020   ObjectWithDict
00021   MemberWithDict::get(ObjectWithDict const& obj) const {
00022     return (ObjectWithDict(member_.Get(obj.object_)));
00023   }
00024 
00025   TypeWithDict
00026   MemberWithDict::typeOf() const {
00027     return (TypeWithDict(member_.TypeOf()));
00028   }
00029 
00030   TypeWithDict
00031   MemberWithDict::declaringType() const {
00032     return (TypeWithDict(member_.DeclaringType()));
00033   }
00034 
00035   bool
00036   MemberWithDict::isConst() const {
00037     return member_.IsConst();
00038   }
00039 
00040   bool
00041   MemberWithDict::isPublic() const {
00042     return member_.IsPublic();
00043   }
00044 
00045   bool
00046   MemberWithDict::isStatic() const {
00047     return member_.IsStatic();
00048   }
00049 
00050   bool
00051   MemberWithDict::isTransient() const {
00052     return member_.IsTransient();
00053   }
00054 
00055   size_t
00056   MemberWithDict::offset() const {
00057     return member_.Offset();
00058   }
00059 
00060   MemberWithDict::operator bool() const {
00061     return bool(member_);
00062   }
00063 
00064 }