2021-12-05 17:54:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// Custom Classes
|
|
|
|
#include "../CDClientDatabase.h"
|
|
|
|
|
|
|
|
// C++
|
|
|
|
#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
|
|
|
|
#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"
|
|
|
|
|
|
|
|
#if defined(__unix) || defined(__APPLE__)
|
|
|
|
//For Linux:
|
|
|
|
typedef __int64_t __int64;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*!
|
|
|
|
\file CDTable.hpp
|
|
|
|
\brief A virtual class for CDClient Tables
|
|
|
|
*/
|
|
|
|
|
|
|
|
//! The base class for all CD tables
|
|
|
|
class CDTable {
|
|
|
|
public:
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
//! Returns the table's name
|
|
|
|
/*!
|
|
|
|
\return The table name
|
|
|
|
*/
|
|
|
|
virtual std::string GetName() const = 0;
|
|
|
|
};
|