Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
551 B

  1. #ifndef __VRTTI_HPP
  2. #define __VRTTI_HPP
  3. #include "vStandard.h"
  4. // <VDOC<CLASS=VRTTI><DESC=Supports simple, fast, runtime type identification><FAMILY=General Utility><AUTHOR=Todd Osborne ([email protected])>VDOC>
  5. class VRTTI
  6. {
  7. public:
  8. VRTTI(UINT nRTTI = 0)
  9. { m_nRTTI = nRTTI; }
  10. virtual ~VRTTI()
  11. {;}
  12. operator UINT()
  13. { return m_nRTTI; }
  14. // Get / Set members
  15. UINT RTTI()
  16. { return m_nRTTI; }
  17. UINT RTTI(UINT nRTTI)
  18. { m_nRTTI = nRTTI; return m_nRTTI; }
  19. private:
  20. // Embedded Members
  21. UINT m_nRTTI;
  22. };
  23. #endif // __VRTTI_HPP