Public Member Functions | Public Attributes
number_format_t Struct Reference

Number represenation. More...

List of all members.

Public Member Functions

 number_format_t (int _opnum=0)
 Contructor.
int getRadix (void) const
 Get number radix.
bool is_fixed (void) const
 Is number representation fixed? Fixed representation can not be modified by the decompiler.
bool isHex (void) const
 Is a hexadecimal number?
bool isDec (void) const
 Is a decimal number?
bool isOct (void) const
 Is a octal number?
bool isEnum (void) const
 Is a symbolic constant?
bool isChar (void) const
 Is a character constant?
bool isStroff (void) const
 Is a structure field offset? (not used yet)
bool isNum (void) const
 Is a number?
bool needs_to_be_inverted (void) const
 Does the number need to be negated or bitwise negated? Returns true if the user requested a negation but it is not done yet.

Public Attributes

flags_t flags
 ida flags, which describe number radix, enum, etc
char opnum
 operand number: 0..UA_MAXOP
char props
 properties: combination of NF_ bits (Number format property bits)
uchar serial
 for enums: constant serial number
char org_nbytes
 original number size in bytes
qstring type_name
 for stroffs: structure for offsetof()
for enums: enum name

Detailed Description

Number represenation.

This structure holds information about number format.

Examples:

hexrays_sample2.cpp, and hexrays_sample4.cpp.

Definition at line 81 of file hexrays.hpp.