Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///////////////////////////////////////////////////////////////////////////
- // Remarks : -
- // Revision : 0
- ///////////////////////////////////////////////////////////////////////////
- #ifndef TYPE_CLASS_H
- #define TYPE_CLASS_H
- #include <iostream>
- #include <string>
- class Type
- {
- public:
- Type(){};
- virtual ~Type(){};
- Type(const Type & cType);
- std::string const & GetTypeName() const;
- protected:
- std::string mType;
- };
- #endif
- ///////////////////////////////////////////////////////////////////////////
- // Revision : 0
- ///////////////////////////////////////////////////////////////////////////
- #include "Type.h"
- // ----------------------------------------------------------
- // CTor / DTor
- // ----------------------------------------------------------
- // ----------------------------------------------------------
- // methods
- // ----------------------------------------------------------
- std::string const& Type::GetTypeName() const
- {
- return mType;
- }
Advertisement
Add Comment
Please, Sign In to add comment