nwnintf.format.itp.element
Class ItpCaprefElt

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

public class ItpCaprefElt
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
ItpCaprefElt(ItpFile f)
           
 
Method Summary
 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()
           
 
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

ItpCaprefElt

public ItpCaprefElt(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

public 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