public class GDSLayers
extends java.lang.Object
Constructor and Description |
---|
GDSLayers(java.util.List<java.lang.Integer> normalLayers,
int pinLayer,
int textLayer) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(GDSLayers other)
Method to determine if the numbers in this GDSLayers are the same as another.
|
java.lang.Integer |
getFirstLayer() |
java.util.Iterator<java.lang.Integer> |
getLayers() |
int |
getNumLayers() |
int |
getPinLayer() |
int |
getTextLayer() |
static GDSLayers |
parseLayerString(java.lang.String string)
Method to parse the GDS layer string and get the layer numbers and types (plain, text, and pin).
|
java.lang.String |
toString() |
public static final GDSLayers EMPTY
public GDSLayers(java.util.List<java.lang.Integer> normalLayers, int pinLayer, int textLayer)
public int getNumLayers()
public java.util.Iterator<java.lang.Integer> getLayers()
public java.lang.Integer getFirstLayer()
public int getPinLayer()
public int getTextLayer()
public boolean equals(GDSLayers other)
other
- the other GDSLayers being compared with this.public java.lang.String toString()
toString
in class java.lang.Object
public static GDSLayers parseLayerString(java.lang.String string)
string
- the GDS layer string, of the form [NUM[/TYP]]*[,NUM[/TYP]t][,NUM[/TYP]p]