Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:01

0001 #ifndef FWCore_Reflection_BaseWithDict_h
0002 #define FWCore_Reflection_BaseWithDict_h
0003 
0004 /*----------------------------------------------------------------------
0005 
0006 BaseWithDict:  A holder for a base class
0007 
0008 ----------------------------------------------------------------------*/
0009 
0010 #include <string>
0011 
0012 class TBaseClass;
0013 
0014 namespace edm {
0015 
0016   class TypeWithDict;
0017 
0018   class BaseWithDict {
0019   private:
0020     TBaseClass* baseClass_;
0021 
0022   public:
0023     BaseWithDict();
0024     explicit BaseWithDict(TBaseClass*);
0025     bool isPublic() const;
0026     std::string name() const;
0027     TypeWithDict typeOf() const;
0028     size_t offset() const;
0029   };
0030 
0031 }  // namespace edm
0032 
0033 #include "FWCore/Reflection/interface/TypeWithDict.h"
0034 
0035 #endif  // FWCore_Reflection_BaseWithDict_h