decompiler  1.0.0
Public Member Functions | List of all members
ghidra::SymbolCompareName Class Reference

Comparator for sorting Symbol objects by name. More...

#include <database.hh>

Public Member Functions

bool operator() (const Symbol *sym1, const Symbol *sym2) const
 Compare two Symbol pointers. More...
 

Detailed Description

Comparator for sorting Symbol objects by name.

Member Function Documentation

◆ operator()()

bool ghidra::SymbolCompareName::operator() ( const Symbol sym1,
const Symbol sym2 
) const
inline

Compare two Symbol pointers.

Compare based on name. Use the deduplication id on the symbols if necessary

Parameters
sym1is the first Symbol
sym2is the second Symbol
Returns
true if the first is ordered before the second

References ghidra::Symbol::name, and ghidra::Symbol::nameDedup.


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