frysk.value
Class BooleanType

java.lang.Object
  extended by frysk.value.Type
      extended by frysk.value.ArithmeticType
          extended by frysk.value.IntegerType
              extended by frysk.value.BooleanType

public class BooleanType
extends IntegerType

A boolean type. Any non-zero value is fetched or stored as ONE.


Constructor Summary
BooleanType(String name, ByteOrder order, int size)
           
 
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.IntegerType
getALU, getALU, getALU, getALU, getALU, getALU
 
Methods inherited from class frysk.value.ArithmeticType
assign, createValue, createValue, createValue, order, toPrint, toString
 
Methods inherited from class frysk.value.Type
addressOf, completeFollowSym, completeMember, dereference, getName, getSize, getSliceType, getType, getUltimateType, index, member, slice, toPrint, toPrintBrief
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanType

public BooleanType(String name,
                   ByteOrder order,
                   int size)
Method Detail

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