Class TSPatNde

java.lang.Object
  extended by TSPatNde
All Implemented Interfaces:
java.io.Serializable

 class TSPatNde
extends java.lang.Object
implements java.io.Serializable

.

======================================================================
 Klasse TSPatNde -- Node-Definition of a path (PathNode)
 ##TSPatNde (Eyecatcher)
======================================================================
 


Field Summary
private  TSRefC Alt
           
private  int Cnt
           
protected static java.lang.String IdStr
           
private  int Ix
           
private  TSRefC Nxt
           
private  int Opt
           
private  TSPatPDP Ref
           
 
Constructor Summary
protected TSPatNde()
          .
protected TSPatNde(int ix, int fLg, TSRefC nxt, TSRefC alt)
          .
 
Method Summary
protected  int chgNr(int nr)
          .
protected  TSPatPDP chgPDP(TSPatPDP cP)
          .
protected  TSPatNde chkNxt(boolean nxt)
          .
protected  java.util.Iterator<java.lang.String> crDef(java.util.ArrayList<java.lang.String> LneT)
          .
protected  java.lang.String fndNxt(boolean nxt, java.util.ArrayList<TSPatNde> PNde)
          .
protected  int incCnt(int inc)
          .
protected  java.lang.String toStr()
          .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IdStr

protected static final java.lang.String IdStr
See Also:
Constant Field Values

Ix

private int Ix

Opt

private int Opt

Cnt

private int Cnt

Nxt

private TSRefC Nxt

Alt

private TSRefC Alt

Ref

private TSPatPDP Ref
Constructor Detail

TSPatNde

protected TSPatNde()
.
 Flag-Definitions (as far as known and used):
  0 - PDP-Referenz ist Wendepunkt
  3 - 'Anderer Ausgang' verwendet
  4 - Optionaler Routenabschnitt
=====================================================================
 Constructor: (1) Create default-entry
=====================================================================
  


TSPatNde

protected TSPatNde(int ix,
                   int fLg,
                   TSRefC nxt,
                   TSRefC alt)
.
=====================================================================
 Constructor: (2) Create standard-entry
=====================================================================
  

Method Detail

chgNr

protected int chgNr(int nr)
.
=====================================================================
 Methode "chgNr"
 Nummer des TrackPathNode-Eintrages abfragen oder aendern
 ##chgNr.TSPatNde (Eyecatcher)
=====================================================================
  


chgPDP

protected TSPatPDP chgPDP(TSPatPDP cP)
.
=====================================================================
 Methode "chgPDP"
 PDP-Referenz lesen oder modifizieren
 ##chgPDP.TSPatNde (Eyecatcher)
=====================================================================
  


chkNxt

protected final TSPatNde chkNxt(boolean nxt)
.
=====================================================================
 Methode "chkNxt"
 Check reference of NEXT/ALTERNATE PathNode and return affected
   PathNode if reference is valid.
 ##chkNxt.TSPatNde (Eyecatcher)
=====================================================================
  


crDef

protected final java.util.Iterator<java.lang.String> crDef(java.util.ArrayList<java.lang.String> LneT)
.
=====================================================================
 Method "crDef"
 Create Output-line of PathNode-definition
 ##crDef.TSPatNde (Eyecatcher)
=====================================================================
  


fndNxt

protected java.lang.String fndNxt(boolean nxt,
                                  java.util.ArrayList<TSPatNde> PNde)
.
=====================================================================
 Method "fndNxt"
 Resolve reference-address of NEXT/ALTERNATE PathNode and store it.
 If the requested node cannot be found an errormessage is returned.
   (otherwise 'null')
 ##fndNxt.TSPatNde (Eyecatcher)
=====================================================================
  


incCnt

protected final int incCnt(int inc)
.
=====================================================================
 Method "incCnt"
 Increment reference-counter
 (using argument'0', reference-counter may be returned only)
 ##incCnt.TSPatNde (Eyecatcher)
=====================================================================
  


toStr

protected final java.lang.String toStr()
.
=====================================================================
 Method "toStr"
 Build a string-representation of all values of this class
 ##toStr.TSPatNde (Eyecatcher)
=====================================================================