Files
qt6-migration-pipeline/TetraIF/LogView/LogViewXdrType.hpp
T
2026-07-14 12:07:36 +02:00

73 lines
998 B
C++

#pragma once
#include "LogViewXdrElement.hpp"
namespace N_LogView
{
class LogViewXdrType final : public LogViewXdrElement
{
public:
LogViewXdrType(const QString& a_name, const QString& a_type, const uint16_t a_arraySize, const uint16_t a_dynArrayOffset, const E_ElementKind a_kind);
LogViewXdrType(const QString& a_name, const QString& a_type, const uint16_t a_arraySize, const uint16_t a_dynArrayOffset, const E_ElementKind a_kind, const int16_t a_firstBit, const int16_t a_lastBit, const bool a_isLast);
void dump() const override;
const QString& getType() const;
uint16_t getArraySize() const;
bool maskValue(uint32_t& a_value, const uint16_t a_size, QString& a_tooltip) const;
uint16_t getMaxArraySize() const;
protected:
QString m_Type;
uint16_t m_ArraySize;
uint16_t m_MaxArraySize;
int16_t m_FirstBit;
int16_t m_LastBit;
bool m_IsLast;
};
}