BearParser
Portable Executable parsing library (from PE-bear)
Loading...
Searching...
No Matches
WrappedValue.h
Go to the documentation of this file.
1#pragma once
2
3#include "win_hdrs/win_types.h"
4#include "CustomException.h"
6
7#include <QtCore>
8
9#include <iostream>
10#include <stdlib.h>
11
13public:
14
23
26
28 : m_Type(type), m_Owner(owner), m_Offset(offset), m_Size(size) {}
29
31 QVariant getQVariant();
32 QString toQString();
33 bool isValid() { return (m_Size != 0); }
34
35protected:
36 virtual QString getIntFormat();
37
42};
uint32_t bufsize_t
const offset_t INVALID_ADDR
uint64_t offset_t
QVariant getQVariant()
WrappedValue(AbstractByteBuffer *owner, offset_t offset, bufsize_t size, data_type type)
data_type getDataType()
AbstractByteBuffer * m_Owner
offset_t m_Offset
QString toQString()
bufsize_t m_Size
virtual QString getIntFormat()
data_type m_Type