<commit_before>﻿// Copyright (c) 2019 <NAME>, <NAME>, <NAME>

// We are making my contributions/submissions to this project solely in our
// personal capacity and are not conveying any rights to any intellectual
// property of any third parties.

#ifndef ROSETTASTONE_CARDS_HPP
#define ROSETTASTONE_CARDS_HPP

#include <Rosetta/Cards/Card.hpp>

#include <vector>

namespace RosettaStone
{
//!
//! \brief Search filter structure.
//!
//! This structure stores the filter value for searching the card.
//!
struct SearchFilter
{
    Rarity rarity = Rarity::INVALID;
    CardClass playerClass = CardClass::INVALID;
    CardType cardType = CardType::INVALID;
    Race race = Race::INVALID;
    GameTag gameTag = GameTag::INVALID;

    std::string name;
    size_t costMin = 0, costMax = 0;
    int attackMin = 0, attackMax = 0;
    size_t healthMin = 0, healthMax = 0;
};

//!
//! \brief Cards class.
//!
//! This class stores a list of cards and provides several search methods.
//!
class Cards
{
 public:
    //! Deleted copy constructor.<commit_msg>fix: Correct sign compare warning message<commit_after>﻿// Copyright (c) 2019 <NAME>, <NAME>, <NAME>

// We are making my contributions/submissions to this project solely in our
// personal capacity and are not conveying any rights to any intellectual
// property of any third parties.

#ifndef ROSETTASTONE_CARDS_HPP
#define ROSETTASTONE_CARDS_HPP

#include <Rosetta/Cards/Card.hpp>

#include <vector>

namespace RosettaStone
{
//!
//! \brief Search filter structure.
//!
//! This structure stores the filter value for searching the card.
//!
struct SearchFilter
{
    Rarity rarity = Rarity::INVALID;
    CardClass playerClass = CardClass::INVALID;
    CardType cardType = CardType::INVALID;
    Race race = Race::INVALID;
    GameTag gameTag = GameTag::INVALID;

    std::string name;
    size_t costMin = 0, costMax = 0;
    int attackMin = 0, attackMax = 0;
    int healthMin = 0, healthMax = 0;
};

//!
//! \brief Cards class.
//!
//! This class stores a list of cards and provides several search methods.
//!
class Cards
{
 public:
    //! Deleted copy constructor.
{'fraction_non_alphanumeric': 0.10995752713544124, 'fraction_numerical': 0.009438414346389807, 'mean_word_length': 3.52991452991453, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6415915', 'n_tokens_mistral': 679, 'n_tokens_neox': 617, 'n_words': 230}