<commit_before>#pragma once

#include "Mesh.h"
#include <vector>
#include <initializer_list>

namespace Rendering
{
	namespace Geometry
	{
		class MeshRawPool final
		{
		public:
			MeshRawPool() = default;
			MeshRawPool(const std::initializer_list<Mesh>& meshes);

			Mesh& Add(Mesh& mesh)	{ _meshes.push_back(mesh);	return _meshes.back();	}
			void Delete(Mesh& mesh) { Delete(mesh.GetObjectID().Literal());				}
			bool Has(Mesh& mesh)	{ Has(mesh.GetObjectID().Literal());				}

			const Mesh* Find(Core::ObjectID::LiteralType id) const;
			Mesh* Find(Core::ObjectID::LiteralType id)
			{<commit_msg>MeshRawPool - MappedType 추가<commit_after>#pragma once

#include "Mesh.h"
#include <vector>
#include <initializer_list>

namespace Rendering
{
	namespace Geometry
	{
		class MeshRawPool final
		{
		public:
			using MappedType = Mesh;
			
			MeshRawPool() = default;
			MeshRawPool(const std::initializer_list<Mesh>& meshes);

			Mesh& Add(Mesh& mesh)	{ _meshes.push_back(mesh);	return _meshes.back();	}
			void Delete(Mesh& mesh) { Delete(mesh.GetObjectID().Literal());				}
			bool Has(Mesh& mesh)	{ Has(mesh.GetObjectID().Literal());				}

			const Mesh* Find(Core::ObjectID::LiteralType id) const;
			Mesh* Find(Core::ObjectID::LiteralType id)
			{
{'fraction_non_alphanumeric': 0.14274322169059012, 'fraction_numerical': 0.0, 'mean_word_length': 4.704545454545454, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7652303', 'n_tokens_mistral': 496, 'n_tokens_neox': 437, 'n_words': 91}