|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTSOpts
TSSh
TSShape
class TSShape
.
====================================================================== Klasse TSShape -- Definition eines Shape-Eintrags Diese Klasse beschreibt eine Shape-Definition, wie sie in der globalen 'tsection.dat' vorkommt. ##TSShape (Eyecatcher) ======================================================================
Field Summary | |
---|---|
private double |
Clr
|
protected static java.lang.String |
IdStr
|
private int |
MRt
|
private java.lang.String |
Nme
|
private int |
Nr
|
private int |
Nxt
|
private TSScIdx[] |
Sc
|
private TSShape |
Sh
|
private TSPos[] |
XPos
|
Constructor Summary | |
---|---|
protected |
TSShape()
. |
protected |
TSShape(int nr,
java.lang.String nme)
. |
Method Summary | |
---|---|
protected int |
$dIx(int nIx)
. |
protected void |
$reNew(int nr)
. |
protected boolean |
check(TSShape cs,
TSScC[] st)
. |
protected TSScIdx |
chgScI(int ix,
TSScIdx sc)
. |
protected java.lang.String |
chkNme(java.lang.String nme)
. |
protected int |
getNr(boolean orig)
. |
protected TSShape |
setShR(TSShape sh)
. |
protected void |
setVal(int mrt,
double clr,
TSScIdx[] sd,
TSPos[] xp)
. |
protected java.lang.String |
toStr()
. |
Methods inherited from class TSSh |
---|
addSc, getSc, incCntR, incCntS, incCntW |
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 Nxt
private int MRt
private double Clr
private TSPos[] XPos
private TSScIdx[] Sc
private TSShape Sh
private java.lang.String Nme
Constructor Detail |
---|
protected TSShape()
Shape-Options (stored in TSShape.TSSh.TSOpts ): 0 - Error-marker (if entry is not created correctly) 2 - RoadShape() 3 - TunnelShape() 5 - ManualJunctionShape() 7 - CrossoverShape() 16 - 'MainRoute' specified 17 - 'Clearance' available ===================================================================== Constructor: (1) create default-entry =====================================================================
protected TSShape(int nr, java.lang.String nme)
===================================================================== Constructor: (2) Create Standard-Entry =====================================================================
Method Detail |
---|
protected final int $dIx(int nIx)
===================================================================== Methode "$dIx" Differerenz-Eintrag setzen/abfragen ##$dIx.TSShape (Eyecatcher) =====================================================================
protected final void $reNew(int nr)
===================================================================== Methode "$reNew" neuen Shape-Eintrag erstellen (Kopie) ohne Adress-Aenderung ##$reNew.TSShape (Eyecatcher) =====================================================================
protected final boolean check(TSShape cs, TSScC[] st)
===================================================================== Methode "check" Korrelation eines Eintrags pruefen und ggf. durchfuehren ##check.TSShape (Eyecatcher) =====================================================================
protected final TSScIdx chgScI(int ix, TSScIdx sc)
===================================================================== Methode "chgScI" liefern/modifizieren der verbundenen SectionIdx-Definitionen ##chgScI.TSShape (Eyecatcher) =====================================================================
protected final java.lang.String chkNme(java.lang.String nme)
===================================================================== Methode "chkNme" Name der Shape-Definition vergleichen (z.B mit W-Eintrag) Methode liefert den Shape-Namen wenn die Namen NICHT gleich sind. Wenn KEIN Shape-Name definiert ist, wird Fehlerkennung "" geliefert ##chkNme.TSShape (Eyecatcher) =====================================================================
protected final int getNr(boolean orig)
===================================================================== Methode "getNr" neue/aktuelle Nummer der Shape-Definition holen ##getNr.TSShape (Eyecatcher) =====================================================================
getNr
in class TSSh
protected final TSShape setShR(TSShape sh)
===================================================================== Methode "setShR" Referenz zu zugeordnetem TSShape-Eintrag setzen Achtung: Methode kann Zielreferenz loeschen (sh=='null') Liefern ohne Veraenderung: 'setShR(x=setShR(null));' ##setShR.TSShape (Eyecatcher) =====================================================================
protected final void setVal(int mrt, double clr, TSScIdx[] sd, TSPos[] xp)
===================================================================== Method "setVal" Set remaining definitions of the shape ##setVal.TSShape (Eyecatcher) =====================================================================
protected final java.lang.String toStr()
===================================================================== Method "toStr" Build a string-representation of all values of this class ##toStr.TSShape (Eyecatcher) =====================================================================
toStr
in class TSSh
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |