Horizon
pool-update_pool.hpp
1 #pragma once
2 #include "pool/pool.hpp"
3 
4 namespace horizon {
5 class PoolUpdatePool : public Pool {
6 public:
7  using Pool::Pool;
8  void inject_part(const class Part &part, const std::string &filename, const UUID &pool_uuid);
9  const std::string &get_part_filename(const UUID &uu) const;
10 
11 private:
12  std::map<UUID, std::string> part_filenames;
13 };
14 } // namespace horizon
Definition: part.hpp:14
Definition: pool-update_pool.hpp:5
Stores objects (Unit, Entity, Symbol, Part, etc.) from the pool.
Definition: pool.hpp:22
Pool(const std::string &base_path, bool read_only=true)
Constructs a Pool.
Definition: pool.cpp:17
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16