ClassesModel

class ClassesModel : public QAbstractItemModel

Common abstract base class for Bin and Anal classes models.

Subclassed by AnalClassesModel, BinClassesModel

Public Types

enum Columns

Values:

enumerator NAME = 0
enumerator TYPE
enumerator OFFSET
enumerator VTABLE
enumerator COUNT
enum RowType

values for TypeRole data

Values:

enumerator Class = 0
enumerator Base
enumerator VTable
enumerator Method
enumerator Field

Public Functions

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

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