1*cdf0e10cSrcweir #ifndef __SAMPLELIBRTTI_HXX_ 2*cdf0e10cSrcweir #define __SAMPLELIBRTTI_HXX_ 3*cdf0e10cSrcweir 4*cdf0e10cSrcweir class MyClassA 5*cdf0e10cSrcweir { 6*cdf0e10cSrcweir public: 7*cdf0e10cSrcweir virtual void funcA(); 8*cdf0e10cSrcweir virtual void funcB(); 9*cdf0e10cSrcweir protected: 10*cdf0e10cSrcweir virtual void funcC(); 11*cdf0e10cSrcweir private: 12*cdf0e10cSrcweir virtual void funcD(); 13*cdf0e10cSrcweir }; 14*cdf0e10cSrcweir 15*cdf0e10cSrcweir 16*cdf0e10cSrcweir class MyClassB: public MyClassA 17*cdf0e10cSrcweir { 18*cdf0e10cSrcweir public: 19*cdf0e10cSrcweir virtual void funcA(); 20*cdf0e10cSrcweir virtual void funcB(); 21*cdf0e10cSrcweir protected: 22*cdf0e10cSrcweir virtual void funcC(); 23*cdf0e10cSrcweir private: 24*cdf0e10cSrcweir virtual void funcD(); 25*cdf0e10cSrcweir 26*cdf0e10cSrcweir }; 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir #endif 29