decompiler  1.0.0
Public Member Functions | List of all members
ghidra::VariableGroup::PieceCompareByOffset Struct Reference

Compare two VariablePiece pointers by offset then by size. More...

Public Member Functions

bool operator() (const VariablePiece *a, const VariablePiece *b) const
 Comparison operator. More...
 

Detailed Description

Compare two VariablePiece pointers by offset then by size.

Member Function Documentation

◆ operator()()

bool ghidra::VariableGroup::PieceCompareByOffset::operator() ( const VariablePiece a,
const VariablePiece b 
) const

Comparison operator.

Compare by offset within the group, then by size.

Parameters
ais the first piece to compare
bis the other piece to compare
Returns
true if a should be ordered before the b

References ghidra::VariablePiece::getOffset(), and ghidra::VariablePiece::getSize().


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