com.sun.electric.tool.simulation
Enum Simulation.SpiceEngine

java.lang.Object
  extended by java.lang.Enum<Simulation.SpiceEngine>
      extended by com.sun.electric.tool.simulation.Simulation.SpiceEngine
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Simulation.SpiceEngine>
Enclosing class:
Simulation

public static enum Simulation.SpiceEngine
extends java.lang.Enum<Simulation.SpiceEngine>

SPICE OPTIONS


Enum Constant Summary
SPICE_ENGINE_2
          Spice 2 engine.
SPICE_ENGINE_3
          Spice 3 engine.
SPICE_ENGINE_G
          GNUCap engine.
SPICE_ENGINE_H
          HSpice engine.
SPICE_ENGINE_H_ASSURA
          HSpice engine for Assura.
SPICE_ENGINE_H_CALIBRE
          HSpice engine for Calibre.
SPICE_ENGINE_P
          PSpice engine.
SPICE_ENGINE_S
          SmartSpice engine.
 
Method Summary
 int code()
           
 java.lang.String toString()
           
static Simulation.SpiceEngine valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Simulation.SpiceEngine[] 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

SPICE_ENGINE_2

public static final Simulation.SpiceEngine SPICE_ENGINE_2
Spice 2 engine.


SPICE_ENGINE_3

public static final Simulation.SpiceEngine SPICE_ENGINE_3
Spice 3 engine.


SPICE_ENGINE_H

public static final Simulation.SpiceEngine SPICE_ENGINE_H
HSpice engine.


SPICE_ENGINE_P

public static final Simulation.SpiceEngine SPICE_ENGINE_P
PSpice engine.


SPICE_ENGINE_G

public static final Simulation.SpiceEngine SPICE_ENGINE_G
GNUCap engine.


SPICE_ENGINE_S

public static final Simulation.SpiceEngine SPICE_ENGINE_S
SmartSpice engine.


SPICE_ENGINE_H_ASSURA

public static final Simulation.SpiceEngine SPICE_ENGINE_H_ASSURA
HSpice engine for Assura.


SPICE_ENGINE_H_CALIBRE

public static final Simulation.SpiceEngine SPICE_ENGINE_H_CALIBRE
HSpice engine for Calibre.

Method Detail

values

public static Simulation.SpiceEngine[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Simulation.SpiceEngine c : Simulation.SpiceEngine.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Simulation.SpiceEngine valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

code

public int code()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Simulation.SpiceEngine>