#pragma once // Custom Classes #include "CDTable.h" /*! \file CDBrickIDTableTable.hpp \brief Contains data for the BrickIDTable table */ //! BrickIDTable Entry Struct struct CDBrickIDTable { unsigned int NDObjectID; unsigned int LEGOBrickID; }; //! BrickIDTable table class CDBrickIDTableTable : public CDTable { private: std::vector entries; public: void LoadValuesFromDatabase(); // Queries the table with a custom "where" clause std::vector Query(std::function predicate); const std::vector& GetEntries() const; };