nwnintf.format.itp.element
Class ItpUint8Elt

java.lang.Object
  |
  +--nwnintf.format.itp.ItpElement
        |
        +--nwnintf.format.itp.element.ItpUint8Elt

public class ItpUint8Elt
extends ItpElement


Field Summary
 
Fields inherited from class nwnintf.format.itp.ItpElement
DATA, NAMEIDX, SIZE, TYPE, TYPE_CAPREF, TYPE_DATREF, TYPE_FLOAT32, TYPE_FLOAT64, TYPE_INT16, TYPE_INT32, TYPE_INT64, TYPE_INT8, TYPE_LIST, TYPE_RESREF, TYPE_STRING, TYPE_STRREF, TYPE_UINT16, TYPE_UINT32, TYPE_UINT64, TYPE_UINT8
 
Constructor Summary
ItpUint8Elt(ItpFile f)
           
 
Method Summary
protected  int childData(ItpWriter w)
          Write the element type-specific data to ItpWriter and return the contents that should go in the data field in the element structure for output.
 void read(byte[] bytes, int eltoffset, int varnameoffset, int vardataoffset, int listoffset)
           
 int type()
           
 int value()
           
 
Methods inherited from class nwnintf.format.itp.ItpElement
file, name, newElement, removeChildren, setName, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItpUint8Elt

public ItpUint8Elt(ItpFile f)
Method Detail

read

public void read(byte[] bytes,
                 int eltoffset,
                 int varnameoffset,
                 int vardataoffset,
                 int listoffset)
Overrides:
read in class ItpElement

type

public int type()
Specified by:
type in class ItpElement

childData

protected int childData(ItpWriter w)
Description copied from class: ItpElement
Write the element type-specific data to ItpWriter and return the contents that should go in the data field in the element structure for output.

Specified by:
childData in class ItpElement

value

public int value()