5#include "win_hdrs/win_types.h"
17 virtual bool wrap() {
return true; }
35 virtual void*
getFieldPtr(
size_t fieldId,
size_t subField) = 0;
50 virtual uint64_t
getNumValue(
size_t fieldId,
size_t subField,
bool* isOk);
53 virtual bool setNumValue(
size_t fieldId,
size_t subField, uint64_t val);
virtual bufsize_t getSize()=0
virtual bufsize_t getContentSize()
virtual bufsize_t getFieldSize(size_t fieldId, size_t subField=FIELD_NONE)
virtual bool setNumValue(size_t fieldId, size_t subField, uint64_t val)
virtual bool canCopyToOffset(offset_t rawOffset)
virtual void * getPtr()=0
virtual bool hasSubfieldWrapper(size_t parentType)
virtual WrappedValue getWrappedValue(size_t fieldId)
virtual void * getFieldPtr(size_t fieldId, size_t subField)=0
virtual offset_t getFieldOffset(size_t fieldId, size_t subField=FIELD_NONE)
virtual ~ExeElementWrapper()
virtual size_t getFieldsCount()=0
virtual WrappedValue getWrappedValue(size_t fieldId, size_t subField)
bool setNumValue(size_t fieldId, uint64_t val)
virtual size_t getSubFieldsCount()
virtual QString getFieldName(size_t fieldId)=0
virtual BYTE * getContent()
ExeElementWrapper(Executable *exe)
virtual Executable::addr_type containsAddrType(size_t fieldId, size_t subField=FIELD_NONE)
virtual WrappedValue::data_type containsDataType(size_t fieldId, size_t subField=FIELD_NONE)
virtual offset_t getOffset()
bool copyToOffset(offset_t rawOffset)
uint64_t getNumValue(size_t fieldId, bool *isOk)
virtual QString translateFieldContent(size_t fieldId)
void * getFieldPtr(size_t fieldId)
virtual QString getName()=0
virtual uint64_t getNumValue(size_t fieldId, size_t subField, bool *isOk)