frysk.value
Class BooleanType
java.lang.Object
frysk.value.Type
frysk.value.ArithmeticType
frysk.value.IntegerType
frysk.value.BooleanType
public class BooleanType
- extends IntegerType
A boolean type. Any non-zero value is fetched or stored as ONE.
Method Summary |
Type |
pack(int bitSize,
int bitOffset)
Pack the type into bitfields. |
void |
toPrint(PrintWriter writer,
Location location,
ByteBuffer memory,
Format format,
int indent)
Print Location as Type in user-readable form; use Format to
print basic types. |
Methods inherited from class frysk.value.Type |
addressOf, completeFollowSym, completeMember, dereference, getName, getSize, getSliceType, getType, getUltimateType, index, member, slice, toPrint, toPrintBrief |
BooleanType
public BooleanType(String name,
ByteOrder order,
int size)
toPrint
public void toPrint(PrintWriter writer,
Location location,
ByteBuffer memory,
Format format,
int indent)
- Description copied from class:
Type
- Print Location as Type in user-readable form; use Format to
print basic types. If needed, and when memory is non-NULL, it
can be used for dereferencing pointers. Indent before printing.
pack
public Type pack(int bitSize,
int bitOffset)
- Pack the type into bitfields.
- Overrides:
pack
in class Type