frysk.value
Class CharType

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

public class CharType
extends IntegerType

A character type, either signed or unsigned.


Constructor Summary
CharType(String name, ByteOrder order, int size, boolean signed)
           
 
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

CharType

public CharType(String name,
                ByteOrder order,
                int size,
                boolean signed)
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