2021-12-05 17:54:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
2023-03-17 14:36:21 +00:00
|
|
|
#include "CDClientDatabase.h"
|
|
|
|
#include "Singleton.h"
|
2021-12-05 17:54:36 +00:00
|
|
|
|
|
|
|
#include <functional>
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
#include <map>
|
|
|
|
|
|
|
|
// CPPLinq
|
2022-01-01 09:38:45 +00:00
|
|
|
#ifdef _WIN32
|
|
|
|
#define NOMINMAX
|
|
|
|
// windows.h has min and max macros that breaks cpplinq
|
2022-07-28 13:39:57 +00:00
|
|
|
#endif
|
2021-12-05 17:54:36 +00:00
|
|
|
#include "cpplinq.hpp"
|
|
|
|
|
|
|
|
#pragma warning (disable : 4244) //Disable double to float conversion warnings
|
|
|
|
#pragma warning (disable : 4715) //Disable "not all control paths return a value"
|
|
|
|
|
2023-03-17 14:36:21 +00:00
|
|
|
template<class Table>
|
|
|
|
class CDTable : public Singleton<Table> {
|
|
|
|
protected:
|
|
|
|
virtual ~CDTable() = default;
|
2021-12-05 17:54:36 +00:00
|
|
|
};
|