hawxgamer

Untitled

Nov 24th, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. ///////////////////////////////////////////////////////////////////////////
  2.  
  3. // Remarks : -
  4. // Revision : 0
  5. ///////////////////////////////////////////////////////////////////////////
  6.  
  7. #ifndef TYPE_CLASS_H
  8. #define TYPE_CLASS_H
  9.  
  10. #include <iostream>
  11. #include <string>
  12.  
  13. class Type
  14. {
  15. public:
  16. Type(){};
  17. virtual ~Type(){};
  18. Type(const Type & cType);
  19. std::string const & GetTypeName() const;
  20. protected:
  21. std::string mType;
  22. };
  23.  
  24. #endif
  25.  
  26. ///////////////////////////////////////////////////////////////////////////
  27.  
  28. // Revision : 0
  29. ///////////////////////////////////////////////////////////////////////////
  30.  
  31. #include "Type.h"
  32.  
  33. // ----------------------------------------------------------
  34. // CTor / DTor
  35. // ----------------------------------------------------------
  36.  
  37.  
  38. // ----------------------------------------------------------
  39. // methods
  40. // ----------------------------------------------------------
  41. std::string const& Type::GetTypeName() const
  42. {
  43. return mType;
  44. }
Advertisement
Add Comment
Please, Sign In to add comment