|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTSOpts
TSTemp
class TSTemp
.
====================================================================== Class TSTemp -- definitions/methods for temporary objects This class contains all definitions which may be used from common methods as a temporay value. All such definitions are merged into this class. So NOT ALL definitions are used in every case. This class is also used to supply a common datastorage used with recursions. Therefore it replaces some static values and groups them into a single structure. The following assignments are valid: - Method 'TSUtil.Zusi' uses + (TSOpts) TSTemp + (int) Nr + (TSTrNde) TrNde - Class 'TSFrame' uses + (TSOpts) TSTemp + (String) FNme - Method 'TSUtil.getTDF()'/'TSUtil.getTD()' uses + (TSRoute) Rte + (BufferedInputStream) bI + (int) Nr type of tile (hi/lo) + (int) z1 counter + (int) z2 counter + (int) z3 counter + (int) z4 counter + (int) z5 counter All 'manipulating methods' are included in the above usage. ATTENTION: This class uses definitions from class 'TSOpts' to implement an optionmask. Therefore class 'TSTemp' extends class 'TSOpts'. Interface 'Serializable' is also derivated from this class. ##TSTemp (Eyecatcher) ======================================================================
Field Summary | |
---|---|
private java.io.BufferedInputStream |
bI
|
private java.lang.String |
FName
|
protected static java.lang.String |
IdStr
|
private int |
Nr
|
private TSRoute |
Rte
|
private TSTrNde |
TrNde
|
private int |
z1
|
private int |
z2
|
private int |
z3
|
private int |
z4
|
private int |
z5
|
Constructor Summary | |
---|---|
protected |
TSTemp()
. |
protected |
TSTemp(int msk,
java.lang.String nme)
. |
protected |
TSTemp(TSRoute cR,
int t)
. |
protected |
TSTemp(TSRoute cR,
int t,
int c)
. |
protected |
TSTemp(TSTrNde cN,
int id)
. |
Method Summary | |
---|---|
protected void |
$init()
. |
protected java.lang.String |
chgFNme(java.lang.String nS)
. |
protected int |
chgNr(int nr)
. |
protected TSRoute |
chgRte(TSRoute cR)
. |
protected TSTrNde |
chgTrN(TSTrNde trn)
. |
protected java.lang.String |
Close()
. |
protected int |
incCnt1(int inc)
. |
protected int |
incCnt2(int inc)
. |
protected int |
incCnt3(int inc)
. |
protected int |
incCnt4(int inc)
. |
protected int |
incCnt5(int inc)
. |
protected java.lang.String |
Open(java.io.File dat)
. |
protected java.lang.Integer |
Read()
. |
protected java.lang.String |
Read(byte[] dst,
int len)
. |
protected java.lang.String |
toStr()
. |
Methods inherited from class TSOpts |
---|
$init, chkMsk, chkMsk, clrMsk, clrMsk, cntMsk, cntMsk, fndMsk, getMsk, orMsk, orMsk, prtMsk, resMsk, setMsk, setMsk, tstMsk |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String IdStr
private int Nr
private int z1
private int z2
private int z3
private int z4
private int z5
private TSTrNde TrNde
private java.lang.String FName
private TSRoute Rte
private java.io.BufferedInputStream bI
Constructor Detail |
---|
protected TSTemp()
Used options (stored within mask of 'TSOpt'): 0 to 31 - not used ===================================================================== Constructor: (1) create Default-Entry =====================================================================
protected TSTemp(int msk, java.lang.String nme)
===================================================================== Constructor: (2) create 'TSFrame'-Entry =====================================================================
protected TSTemp(TSRoute cR, int t)
===================================================================== Constructor: (3) create 'TD'-Entry =====================================================================
protected TSTemp(TSRoute cR, int t, int c)
===================================================================== Constructor: (3) create 'TD'-Entry =====================================================================
protected TSTemp(TSTrNde cN, int id)
===================================================================== Constructor: (4) create 'Zusi'-Entry =====================================================================
Method Detail |
---|
protected final void $init()
===================================================================== Method "$init" Initialize all values of this structure (again) ##$init.TSTemp (Eyecatcher) =====================================================================
protected final java.lang.String chgFNme(java.lang.String nS)
===================================================================== Method "chgFNme" Get/Update File-/Function-name ##chgFNme.TSTemp (Eyecatcher) =====================================================================
protected final int chgNr(int nr)
===================================================================== Method "chgNr" Get/Update Number-value (e.g. TrNde-Number) Attention: positive AND negative numbers are supported ##chgNr.TSTemp (Eyecatcher) =====================================================================
protected TSRoute chgRte(TSRoute cR)
===================================================================== Methode "chgRte" Get/Update ccurrent route-definition ATTENTION: Value is NOT changed if argument is 'null' ##chgRte.TSTemp (Eyecatcher) =====================================================================
protected final TSTrNde chgTrN(TSTrNde trn)
===================================================================== Methode "chgTrN" Get/Update TrackNode-Reference Attention: Delete of reference is NOT possible ##chgTrN.TSTemp (Eyecatcher) =====================================================================
protected final java.lang.String Close()
===================================================================== Method "Close" Open inputstream and check for error ##Close.TSTemp (Eyecatcher) =====================================================================
protected final int incCnt1(int inc)
===================================================================== Method "incCnt1" Increment temporary counter (using argument'0', reference-counter may be returned only) ##incCnt1.TSTemp (Eyecatcher) =====================================================================
protected final int incCnt2(int inc)
===================================================================== Method "incCnt2" Increment temporary counter (using argument'0', reference-counter may be returned only) ##incCnt2.TSTemp (Eyecatcher) =====================================================================
protected final int incCnt3(int inc)
===================================================================== Method "incCnt3" Increment temporary counter (using argument'0', reference-counter may be returned only) ##incCnt3.TSTemp (Eyecatcher) =====================================================================
protected final int incCnt4(int inc)
===================================================================== Method "incCnt4" Increment temporary counter (using argument'0', reference-counter may be returned only) ##incCnt4.TSTemp (Eyecatcher) =====================================================================
protected final int incCnt5(int inc)
===================================================================== Method "incCnt5" Increment temporary counter (using argument'0', reference-counter may be returned only) ##incCnt5.TSTemp (Eyecatcher) =====================================================================
protected final java.lang.String Open(java.io.File dat)
===================================================================== Method "Open" Open inputstream and check for error ##Open.TSTemp (Eyecatcher) =====================================================================
protected final java.lang.String Read(byte[] dst, int len)
===================================================================== Method "Read" Read input (String) from inputstream ##Read.TSTemp (Eyecatcher) =====================================================================
protected final java.lang.Integer Read() throws java.io.IOException
===================================================================== Method "Read" Read input (Integer) from inputstream ##Read.TSTemp (Eyecatcher) =====================================================================
java.io.IOException
protected final java.lang.String toStr()
===================================================================== Method "toStr" Build a string-representation of all values of this class ##toStr.TSTemp (Eyecatcher) =====================================================================
toStr
in class TSOpts
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |