wip: change redirect pointer to lookup

This commit is contained in:
Jan
2025-06-13 20:25:33 +01:00
parent 788bf1cc5d
commit 667d76e50e
9 changed files with 110 additions and 154 deletions

View File

@ -61,3 +61,8 @@ std::vector<MemberInformation*> StructureComputations::GetUsedMembers() const
return members;
}
bool StructureComputations::IsInTempBlock() const
{
return m_info->m_block != nullptr && m_info->m_block->m_type == FastFileBlockType::TEMP;
}

View File

@ -11,6 +11,7 @@ public:
[[nodiscard]] MemberInformation* GetDynamicMember() const;
[[nodiscard]] bool HasNonDynamicMember() const;
[[nodiscard]] std::vector<MemberInformation*> GetUsedMembers() const;
[[nodiscard]] bool IsInTempBlock() const;
private:
const StructureInformation* m_info;