|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.base.Bindings
Cell.cellInterfaceDeterminesUniqueNetlistStructure()
returns true. Bindings must also be made if ports have generic widths that
depend on the value of a bound parameter. Any class may be bound (native types
are automatically wrapped), but #INTEGER
, #BOOLEAN
, and #STRING
are the most common, and along with #LONG
, these four constants are defined
in Cell.
It is assumed that the bindings will have a constant length, known at the time of construction.
Method Summary | |
boolean |
getBooleanValue(java.lang.String name)
Returns a Boolean parameter as the native boolean |
byte |
getByteValue(java.lang.String name)
Returns a Byte parameter as the native byte |
char |
getCharValue(java.lang.String name)
Returns a Character parameter as the native char |
double |
getDoubleValue(java.lang.String name)
Returns a Double parameter as the native double |
float |
getFloatValue(java.lang.String name)
Returns a Float parameter as the native float |
int |
getIntValue(java.lang.String name)
Returns an Integer parameter as the native int |
long |
getLongValue(java.lang.String name)
Returns a Long parameter as the native long |
short |
getShortValue(java.lang.String name)
Returns a Short parameter as the native short |
java.lang.String |
toString()
Outputs the bindings in nice format |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public int getIntValue(java.lang.String name)
name
- the name of the binding.
TypeException
- if the argument is an incompatible type.#getArgument(String)
public boolean getBooleanValue(java.lang.String name)
name
- the name of the binding.
TypeException
- if the argument is an incompatible type.#getArgument(String)
public char getCharValue(java.lang.String name)
name
- the name of the binding.
TypeException
- if the argument is an incompatible type.#getArgument(String)
public byte getByteValue(java.lang.String name)
name
- the name of the binding.
TypeException
- if the argument is an incompatible type.#getArgument(String)
public long getLongValue(java.lang.String name)
name
- the name of the binding.
TypeException
- if the argument is an incompatible type.#getArgument(String)
public short getShortValue(java.lang.String name)
name
- the name of the binding.
TypeException
- if the argument is an incompatible type.#getArgument(String)
public float getFloatValue(java.lang.String name)
name
- the name of the binding.
TypeException
- if the argument is an incompatible type.#getArgument(String)
public double getDoubleValue(java.lang.String name)
name
- the name of the binding.
TypeException
- if the argument is an incompatible type.#getArgument(String)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |