Commit in GeomConverter/src/org/lcsim/geometry on MAIN
IDDecoder.java+4-11.10 -> 1.11
JM: add static constant for indicating an invalid index

GeomConverter/src/org/lcsim/geometry
IDDecoder.java 1.10 -> 1.11
diff -u -r1.10 -r1.11
--- IDDecoder.java	7 Feb 2006 17:04:43 -0000	1.10
+++ IDDecoder.java	7 Feb 2006 18:46:36 -0000	1.11
@@ -9,6 +9,9 @@
  */
 public interface IDDecoder
 {  
+    /** Constant that flags an invalid index, i.e. for a field that does not exist. */
+    public static final int INVALID_INDEX = -1;
+    
     /* /\/\/\ ID decoding /\/\/\ */
     
     /** Load the decoder with a 64-bit id value from the hit. */
@@ -84,7 +87,7 @@
     BarrelEndcapFlag getBarrelEndcapFlag();
     
     /** Get the system ID, i.e. the "system" field. */
-    //int getSystemID();
+    int getSystemID();
     
     /** Get the Subdetector associated with this IDDecoder, or null if not applicable. */
     public Subdetector getSubdetector();
CVSspam 0.2.8