coins.ir.hir
クラス HirAnnex

java.lang.Object
  |
  +--coins.ir.hir.HirAnnex

public class HirAnnex
extends java.lang.Object

class HirAnnex Additional information that is not given in some case and not given to some nodes.


フィールドの概要
protected  ExpId fExpId
           
protected  FlagBox fFlagBox
           
protected  int fIndexNo
           
protected  IrList fInfList
           
protected  java.lang.Object fWork
           
 HirRoot hirRoot
           
 
コンストラクタの概要
HirAnnex(HirRoot pHirRoot)
           
 
メソッドの概要
 void addInf(java.lang.String pInfKindInterned, java.lang.Object pInfObject)
          Add pInfObject as the information attached to this annex.
 java.lang.Object clone()
          clone Override Object.clone in HIR.
 boolean flagsAreAllFalse()
           
(パッケージプライベート)  boolean getFlag(int pFlagNumber)
          getFlag returns the value (true/false) of the flag indicated by pFlagNumber.
 FlagBox getFlagBox()
          Get the flag box attached to this annex.
 int getIndex()
          Get the index number attached to the HIR node correponding to this annex.
 java.lang.Object getInf(java.lang.String pInfKindInterned)
          Get the information of the kind pInfKindInterned.
 IrList getInfList()
          Get the list of information.
 java.lang.Object getWork()
          Get the information in work set by setWork.
 void removeInf(java.lang.String pInfKindInterned)
          Remove the information of the kind pInfKindInterned.
(パッケージプライベート)  void setFlag(int pFlagNumber, boolean pYesNo)
          setFlag setFlag sets the flag of specified number.
 void setIndex(int pIndex)
          Set pIndex as the index number attached to the HIR node corresponding to this annex.
 void setWork(java.lang.Object pWork)
          Set pWork as the information that is used for arbitrary purpose in each phase.
 java.lang.String toString()
           
 java.lang.String toStringInf()
          Get the information attached to this annex in the form of String.
protected  java.lang.String toStringInfList(IrList pInfList)
          Change the list of information to String.
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

hirRoot

public final HirRoot hirRoot

fFlagBox

protected FlagBox fFlagBox

fIndexNo

protected int fIndexNo

fExpId

protected ExpId fExpId

fInfList

protected IrList fInfList

fWork

protected java.lang.Object fWork
コンストラクタの詳細

HirAnnex

public HirAnnex(HirRoot pHirRoot)
メソッドの詳細

getFlag

boolean getFlag(int pFlagNumber)
getFlag returns the value (true/false) of the flag indicated by pFlagNumber.

パラメータ:
pFlagNumber - flag identification number. As for detail, see getFlag of HIR.

setFlag

void setFlag(int pFlagNumber,
             boolean pYesNo)
setFlag setFlag sets the flag of specified number.

パラメータ:
pFlagNumber - flag identification number. As for detail, see getFlag of HIR.
pYesNo - true or false to be set to the flag.

flagsAreAllFalse

public boolean flagsAreAllFalse()
戻り値:
true if all flags are false, else return false.

getFlagBox

public FlagBox getFlagBox()
Get the flag box attached to this annex. See also the flags FLAG_xx defined in HIR (HIR0).

戻り値:
the flag box.

addInf

public void addInf(java.lang.String pInfKindInterned,
                   java.lang.Object pInfObject)
Add pInfObject as the information attached to this annex. Its information kind is pInfKindInterned.

パラメータ:
pInfKindInterned - String constant showing the kind of information (it should be unique (intern()).
pInfObject - Information to be attached.

getInf

public java.lang.Object getInf(java.lang.String pInfKindInterned)
Get the information of the kind pInfKindInterned.

パラメータ:
pInfKindInterned - shows the kind of information (it should be unique (intern()).
戻り値:
the information (null if not attached).

removeInf

public void removeInf(java.lang.String pInfKindInterned)
Remove the information of the kind pInfKindInterned.

パラメータ:
pInfKindInterned - show the kind of informaiotn.

getInfList

public IrList getInfList()
Get the list of information.

戻り値:
the list of information.

setWork

public void setWork(java.lang.Object pWork)
Set pWork as the information that is used for arbitrary purpose in each phase. The information in work may be destroyed by other phases.

パラメータ:
pWork - represents the information to be set.

getWork

public java.lang.Object getWork()
Get the information in work set by setWork.

戻り値:
the information in work.

getIndex

public int getIndex()
Get the index number attached to the HIR node correponding to this annex.

戻り値:
the index number.

setIndex

public void setIndex(int pIndex)
Set pIndex as the index number attached to the HIR node corresponding to this annex.

パラメータ:
pIndex - index number to be set.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
clone Override Object.clone in HIR.

オーバーライド:
クラス java.lang.Object 内の clone
戻り値:
cloned HirAnnex.
例外:
java.lang.CloneNotSupportedException

toString

public java.lang.String toString()
オーバーライド:
クラス java.lang.Object 内の toString

toStringInf

public java.lang.String toStringInf()
Get the information attached to this annex in the form of String.

戻り値:
the information changed to String.

toStringInfList

protected java.lang.String toStringInfList(IrList pInfList)
Change the list of information to String.

パラメータ:
pInfList - list of information.
戻り値:
the String showing the information.