BearParser
Portable Executable parsing library (from PE-bear)
Loading...
Searching...
No Matches
WrappedValue Class Reference

#include <WrappedValue.h>

Collaboration diagram for WrappedValue:

Public Types

enum  data_type {
  NONE = 0 , INT , STRING , WSTRING ,
  COMPLEX , DATATYPE_COUNT
}
 

Public Member Functions

 WrappedValue ()
 
 WrappedValue (AbstractByteBuffer *owner, offset_t offset, bufsize_t size, data_type type)
 
data_type getDataType ()
 
QVariant getQVariant ()
 
QString toQString ()
 
bool isValid ()
 

Protected Member Functions

virtual QString getIntFormat ()
 

Protected Attributes

data_type m_Type
 
AbstractByteBufferm_Owner
 
offset_t m_Offset
 
bufsize_t m_Size
 

Detailed Description

Definition at line 12 of file WrappedValue.h.

Member Enumeration Documentation

◆ data_type

Enumerator
NONE 
INT 
STRING 
WSTRING 
COMPLEX 
DATATYPE_COUNT 

Definition at line 15 of file WrappedValue.h.

Constructor & Destructor Documentation

◆ WrappedValue() [1/2]

WrappedValue::WrappedValue ( )
inline

Definition at line 24 of file WrappedValue.h.

◆ WrappedValue() [2/2]

WrappedValue::WrappedValue ( AbstractByteBuffer * owner,
offset_t offset,
bufsize_t size,
data_type type )
inline

Definition at line 27 of file WrappedValue.h.

Member Function Documentation

◆ getDataType()

data_type WrappedValue::getDataType ( )
inline

Definition at line 30 of file WrappedValue.h.

◆ getIntFormat()

QString WrappedValue::getIntFormat ( )
protectedvirtual

Definition at line 26 of file WrappedValue.cpp.

◆ getQVariant()

QVariant WrappedValue::getQVariant ( )

Definition at line 3 of file WrappedValue.cpp.

Here is the call graph for this function:

◆ isValid()

bool WrappedValue::isValid ( )
inline

Definition at line 33 of file WrappedValue.h.

◆ toQString()

QString WrappedValue::toQString ( )

Definition at line 32 of file WrappedValue.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_Offset

offset_t WrappedValue::m_Offset
protected

Definition at line 40 of file WrappedValue.h.

◆ m_Owner

AbstractByteBuffer* WrappedValue::m_Owner
protected

Definition at line 39 of file WrappedValue.h.

◆ m_Size

bufsize_t WrappedValue::m_Size
protected

Definition at line 41 of file WrappedValue.h.

◆ m_Type

data_type WrappedValue::m_Type
protected

Definition at line 38 of file WrappedValue.h.


The documentation for this class was generated from the following files: