| 22 | }; |
| 23 | |
| 24 | mitk::Identifiable::Identifiable() |
| 25 | : m_Impl(new Impl) |
| 26 | { |
| 27 | UIDGenerator generator; |
| 28 | m_Impl->uid = generator.GetUID(); |
| 29 | |
| 30 | std::ostringstream ss; |
| 31 | ss << static_cast<const void*>(this); |
| 32 | m_Impl->m_RuntimeUID = ss.str(); |
| 33 | } |
| 34 | |
| 35 | mitk::Identifiable::Identifiable(const UIDType &uid) |
| 36 | : m_Impl(new Impl) |