00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef incCOMMON_NAMEABLE_OBJECT
00010 #define incCOMMON_NAMEABLE_OBJECT
00011
00012
00013 #include <string>
00014 #include "object.hpp"
00015
00016 namespace ph {
00017 namespace common {
00018
00019 class nameable_object_base
00020
00021
00022
00023 {
00024 public:
00025 virtual ~nameable_object_base() {};
00026
00027 virtual std::string name() const = 0;
00028
00029
00030 virtual std::string type() const = 0;
00031
00032
00033 };
00034
00035 };
00036 };
00037
00038 #endif // incCOMMON_NAMEABLE_OBJECT