mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
22 lines
631 B
C++
22 lines
631 B
C++
#pragma once
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
#include "IEvaluation.h"
|
|
#include "Domain/Information/MemberInformation.h"
|
|
#include "Domain/Information/StructureInformation.h"
|
|
|
|
class OperandDynamic final : public IEvaluation
|
|
{
|
|
public:
|
|
StructureInformation* const m_structure;
|
|
std::vector<MemberInformation*> m_referenced_member_chain;
|
|
std::vector<std::unique_ptr<IEvaluation>> m_array_indices;
|
|
|
|
explicit OperandDynamic(StructureInformation* structure);
|
|
|
|
_NODISCARD EvaluationType GetType() const override;
|
|
_NODISCARD bool IsStatic() const override;
|
|
_NODISCARD int EvaluateNumeric() const override;
|
|
};
|