ClassesModel

class ClassesModel

Common abstract base class for Bin and Anal classes models.

Inherits from QAbstractItemModel

Subclassed by AnalClassesModel, BinClassesModel

Public Types

enum Columns

Values:

NAME = 0
TYPE
OFFSET
VTABLE
COUNT
enum RowType

values for TypeRole data

Values:

Class = 0
Base
VTable
Method
Field

Public Functions

ClassesModel(QObject *parent = nullptr)
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const

Public Static Attributes

const int OffsetRole = Qt::UserRole

Offset role of data for QModelIndex.

will contain values of type RVA

const int NameRole = Qt::UserRole + 1

Name role of data for QModelIndex.

will contain values of QString, used for sorting, as well as identifying classes and methods

const int TypeRole = Qt::UserRole + 2

Type role of data for QModelIndex.

will contain values of RowType

const int VTableRole = Qt::UserRole + 3

VTable role of data for QModelIndex.

will contain values of type long long for sorting by vtable offset