FreeHEP API
Version current

org.freehep.util.io
Class TagHeader

java.lang.Object
  extended byorg.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
Source Code:
TagHeader.java

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 current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.