2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-02 08:29:36 +00:00

add basis for code rendering

This commit is contained in:
Jan
2021-02-20 02:33:40 +01:00
parent 48afb4d514
commit d4a98b7c52
17 changed files with 571 additions and 24 deletions
@@ -17,7 +17,7 @@ InMemoryRepository::~InMemoryRepository()
delete typedefDefinition;
for (auto* structureInformation : m_structures_information)
delete structureInformation;
for (auto* fastFileBlock : m_fast_file_blocks)
for (const auto* fastFileBlock : m_fast_file_blocks)
delete fastFileBlock;
}
@@ -111,7 +111,7 @@ const std::vector<StructureInformation*>& InMemoryRepository::GetAllStructureInf
return m_structures_information;
}
const std::vector<FastFileBlock*>& InMemoryRepository::GetAllFastFileBlocks() const
const std::vector<const FastFileBlock*>& InMemoryRepository::GetAllFastFileBlocks() const
{
return m_fast_file_blocks;
}
@@ -146,7 +146,7 @@ EnumMember* InMemoryRepository::GetEnumMemberByName(const std::string& name) con
return nullptr;
}
FastFileBlock* InMemoryRepository::GetFastFileBlockByName(const std::string& name) const
const FastFileBlock* InMemoryRepository::GetFastFileBlockByName(const std::string& name) const
{
const auto foundEntry = m_fast_file_blocks_by_name.find(name);