|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ArcProto.Function>
com.sun.electric.technology.ArcProto.Function
public static enum ArcProto.Function
Function is a typesafe enum class that describes the function of an ArcProto. Functions are technology-independent and include different types of metal, polysilicon, and other basic wire types.
Enum Constant Summary | |
---|---|
BUS
Describes a bus arc. |
|
DIFF
Describes an arc on the Diffusion layer. |
|
DIFFN
Describes an arc on the N-Diffusion layer. |
|
DIFFP
Describes an arc on the P-Diffusion layer. |
|
DIFFS
Describes an arc on the Substrate-Diffusion layer. |
|
DIFFW
Describes an arc on the Well-Diffusion layer. |
|
METAL1
Describes an arc on Metal layer 1. |
|
METAL10
Describes an arc on Metal layer 10. |
|
METAL11
Describes an arc on Metal layer 11. |
|
METAL12
Describes an arc on Metal layer 12. |
|
METAL2
Describes an arc on Metal layer 2. |
|
METAL3
Describes an arc on Metal layer 3. |
|
METAL4
Describes an arc on Metal layer 4. |
|
METAL5
Describes an arc on Metal layer 5. |
|
METAL6
Describes an arc on Metal layer 6. |
|
METAL7
Describes an arc on Metal layer 7. |
|
METAL8
Describes an arc on Metal layer 8. |
|
METAL9
Describes an arc on Metal layer 9. |
|
NONELEC
Describes an arc that is non-electrical (does not make a circuit connection). |
|
POLY1
Describes an arc on Polysilicon layer 1. |
|
POLY2
Describes an arc on Polysilicon layer 2. |
|
POLY3
Describes an arc on Polysilicon layer 3. |
|
UNKNOWN
Describes an arc with unknown type. |
|
UNROUTED
Describes an arc that is unrouted (to be replaced by routers). |
Method Summary | |
---|---|
java.lang.String |
getConstantName()
Returns the constant name for this Function. |
static ArcProto.Function |
getContact(int level)
Method to find the Function that corresponds to a contact on a given arc. |
static java.util.List<ArcProto.Function> |
getFunctions()
Method to return a List of all ArcProto functions. |
int |
getLevel()
Method to get the level of this ArcProto.Function. |
static ArcProto.Function |
getMetal(int level)
Method to find the Function that corresponds to Metal on a given layer. |
static ArcProto.Function |
getPoly(int level)
Method to find the Function that corresponds to Polysilicon on a given layer. |
boolean |
isDiffusion()
Method to tell whether this ArcProto.Function is diffusion. |
boolean |
isMetal()
Method to tell whether this ArcProto.Function is metal. |
boolean |
isPoly()
Method to tell whether this ArcProto.Function is polysilicon. |
java.lang.String |
toString()
Returns a printable version of this ArcProto. |
static ArcProto.Function |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ArcProto.Function[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ArcProto.Function UNKNOWN
public static final ArcProto.Function METAL1
public static final ArcProto.Function METAL2
public static final ArcProto.Function METAL3
public static final ArcProto.Function METAL4
public static final ArcProto.Function METAL5
public static final ArcProto.Function METAL6
public static final ArcProto.Function METAL7
public static final ArcProto.Function METAL8
public static final ArcProto.Function METAL9
public static final ArcProto.Function METAL10
public static final ArcProto.Function METAL11
public static final ArcProto.Function METAL12
public static final ArcProto.Function POLY1
public static final ArcProto.Function POLY2
public static final ArcProto.Function POLY3
public static final ArcProto.Function DIFF
public static final ArcProto.Function DIFFP
public static final ArcProto.Function DIFFN
public static final ArcProto.Function DIFFS
public static final ArcProto.Function DIFFW
public static final ArcProto.Function BUS
public static final ArcProto.Function UNROUTED
public static final ArcProto.Function NONELEC
Method Detail |
---|
public static ArcProto.Function[] values()
for (ArcProto.Function c : ArcProto.Function.values()) System.out.println(c);
public static ArcProto.Function valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ArcProto.Function>
public java.lang.String getConstantName()
public static java.util.List<ArcProto.Function> getFunctions()
public int getLevel()
public static ArcProto.Function getMetal(int level)
level
- the layer (starting at 1 for Metal-1).
public static ArcProto.Function getPoly(int level)
level
- the layer (starting at 1 for Polysilicon-1).
public static ArcProto.Function getContact(int level)
level
- the arc (starting at 1 for Contact-1).
public boolean isMetal()
public boolean isPoly()
public boolean isDiffusion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |