SILICON
Loading...
Searching...
No Matches
BinaryNibbleEditCommand Class Referencefinal
Inheritance diagram for BinaryNibbleEditCommand:
Collaboration diagram for BinaryNibbleEditCommand:

Public Member Functions

 BinaryNibbleEditCommand (BinaryEditor *editor, const std::size_t offset, std::vector< unsigned > before, std::vector< unsigned > after, QString text)
void undo () override
void redo () override

Private Attributes

BinaryEditor * editor
std::size_t offset
std::vector< unsigned > before
std::vector< unsigned > after

Detailed Description

Definition at line 334 of file binaryEditor.cpp.

Constructor & Destructor Documentation

◆ BinaryNibbleEditCommand()

BinaryNibbleEditCommand ( BinaryEditor * editor,
const std::size_t offset,
std::vector< unsigned > before,
std::vector< unsigned > after,
QString text )
inline

Definition at line 336 of file binaryEditor.cpp.

Member Function Documentation

◆ redo()

void redo ( )
inlineoverride

Definition at line 348 of file binaryEditor.cpp.

◆ undo()

void undo ( )
inlineoverride

Definition at line 347 of file binaryEditor.cpp.

Member Data Documentation

◆ after

std::vector<unsigned> after
private

Definition at line 354 of file binaryEditor.cpp.

◆ before

std::vector<unsigned> before
private

Definition at line 353 of file binaryEditor.cpp.

◆ editor

BinaryEditor* editor
private

Definition at line 351 of file binaryEditor.cpp.

◆ offset

std::size_t offset
private

Definition at line 352 of file binaryEditor.cpp.


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