#pragma once #include "StarJson.hpp" #include "StarCodex.hpp" namespace Star { STAR_EXCEPTION(CodexDatabaseException, StarException); STAR_CLASS(CodexDatabase); class CodexDatabase { public: CodexDatabase(); StringMap codexes() const; CodexConstPtr codex(String const& codexId) const; private: StringMap m_codexes; }; }