Horizon
uuid_provider.hpp
1 #pragma once
2 #include "uuid.hpp"
3 
4 namespace horizon {
9 class UUIDProvider {
10 public:
11  virtual UUID get_uuid() const = 0;
12  virtual ~UUIDProvider()
13  {
14  }
15 };
16 } // namespace horizon
horizon::UUID
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
horizon::UUIDProvider
Interface for objects that have a UUID.
Definition: uuid_provider.hpp:9