FreeHEP API
Version v1.2

org.freehep.util.io
Class TagHeader

java.lang.Object
  |
  +--org.freehep.util.io.TagHeader

public class TagHeader
extends Object

Keeps the tagID and Length of a specific tag. To be used in the InputStream to return the tagID and Length, and in the OutputStream to write them.

Version:
$Id: TagHeader.java,v 1.3 2001/11/01 08:06:14 duns Exp $
Author:
Mark Donszelmann, Charles Loomis

Constructor Summary
TagHeader(int tagID, long length)
           
 
Method Summary
 long getLength()
           
 int getTag()
           
 void setLength(long length)
           
 void setTag(int tagID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagHeader

public TagHeader(int tagID,
                 long length)
Method Detail

setTag

public void setTag(int tagID)

getTag

public int getTag()

setLength

public void setLength(long length)

getLength

public long getLength()

FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.