<commit_before>#pragma once

#include <unordered_map>
#include <boost\pool\object_pool.hpp>
#include "Entity.h"

namespace ECSE
{

//! Handles allocation and deallocation of Entities, as well as distribution of IDs.
/*!
* This class allows Entities to remain more or less tightly-packed. Ownership of the allocated
* Entities will always remain within the EntityManager.
*/
class EntityManager
{
public:
    //! Destroy the EntityManager.
    virtual ~EntityManager() {}

    //! Create a new Entity.
    /*!
    * \return The ID of the new Entity.
    */
    virtual Entity::ID createEntity();

    //! Get a pointer to an Entity by its ID.<commit_msg>Use forward slashes in includes.<commit_after>#pragma once

#include <unordered_map>
#include <boost/pool/object_pool.hpp>
#include "Entity.h"

namespace ECSE
{

//! Handles allocation and deallocation of Entities, as well as distribution of IDs.
/*!
* This class allows Entities to remain more or less tightly-packed. Ownership of the allocated
* Entities will always remain within the EntityManager.
*/
class EntityManager
{
public:
    //! Destroy the EntityManager.
    virtual ~EntityManager() {}

    //! Create a new Entity.
    /*!
    * \return The ID of the new Entity.
    */
    virtual Entity::ID createEntity();

    //! Get a pointer to an Entity by its ID.
{'fraction_non_alphanumeric': 0.09886792452830188, 'fraction_numerical': 0.0, 'mean_word_length': 3.361842105263158, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3471976', 'n_tokens_mistral': 377, 'n_tokens_neox': 368, 'n_words': 151}