ROSE 0.11.145.237
|
Compares number of bits in register descriptors.
This comparator is used to sort register descriptors in either ascending or descending order depending on the number of significant bits in the register. The default constructor uses a descending sort order.
For instance, to get a list of all descriptors sorted by descending number of significant bits, one could do:
Definition at line 316 of file RegisterDictionary.h.
#include <Rose/BinaryAnalysis/RegisterDictionary.h>
Public Types | |
enum | Direction { ASCENDING , DESCENDING } |
Public Member Functions | |
SortBySize (Direction d=DESCENDING) | |
bool | operator() (RegisterDescriptor a, RegisterDescriptor b) const |
Protected Attributes | |
Direction | direction |
enum Rose::BinaryAnalysis::RegisterDictionary::SortBySize::Direction |
Definition at line 318 of file RegisterDictionary.h.
|
inlineexplicit |
Definition at line 319 of file RegisterDictionary.h.
|
inline |
Definition at line 320 of file RegisterDictionary.h.
|
protected |
Definition at line 326 of file RegisterDictionary.h.