oddeleni a lazeni ELC1

This commit is contained in:
2024-02-01 15:07:33 +01:00
parent c0b36e9068
commit 5229f16c9d
23 changed files with 346 additions and 175 deletions

View File

@@ -6,6 +6,7 @@
#include <cstring>
#include <string>
#include <map>
#include <unordered_map>
#include <stdint.h>
using namespace std;
@@ -178,52 +179,57 @@ struct LicenceItem31
struct LicenceInfo
{
int reqDataPointsCount = 0;
map<int, int> licences = {};
unordered_map<int, int> licences = {};
};
/// @brief základní struktura, seznam polozek licencí, kompatibilita 1
struct LicenceInfoCompatibility1
{
int reqDataPointsCount = 0;
map<int, int> licences = {};
unordered_map<int, int> licences = {};
};
/// @brief základní struktura, seznam polozek licencí, kompatibilita 1
/// @brief základní struktura, seznam polozek licencí, kompatibilita 2
struct LicenceInfoCompatibility2
{
int reqDataPointsCount = 0;
map<int, int> licences = {};
unordered_map<int, int> licences = {};
};
/// @brief základní struktura, seznam polozek licencí, kompatibilita 3
struct LicenceInfoCompatibility3
{
int reqDataPointsCount = 0;
map<int, int> licences = {};
unordered_map<int, int> licences = {};
};
struct LicenceInfo1
{
bool isValid {false};
};
struct LicenceInfo11
{
int reqDataPointsCount = 0;
map<int, int> licences = {};
unordered_map<int, int> licences = {};
};
struct LicenceInfo21
{
int reqDataPointsCount = 0;
map<int, int> licences = {};
unordered_map<int, int> licences = {};
};
struct LicenceInfo31
{
int reqDataPointsCount = 0;
map<int, int> licences = {};
unordered_map<int, int> licences = {};
};
struct LicenceInfoGeneral
{
int reqDataPointsCount = 0;
map<int, int> licences = {};
unordered_map<int, int> licences = {};
};
class LicenceException : public std::exception