|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspice.basic.KernelVarDescriptor
public class KernelVarDescriptor
Class KernelVarDescriptor packages attributes of kernel variables.
Version 1.0.0 03-DEC-2009 (NJB)
Field Summary | |
---|---|
static int |
CHARACTER
|
static java.lang.String |
CSPICE_CHARACTER
|
static java.lang.String |
CSPICE_NUMERIC
|
static int |
NUMERIC
|
Constructor Summary | |
---|---|
KernelVarDescriptor()
Zero-arguments constructor. |
|
KernelVarDescriptor(boolean exists,
java.lang.String name,
int size,
int dataType)
Construct a descriptor from a kernel variable's attributes. |
|
KernelVarDescriptor(KernelVarDescriptor descr)
Copy constructor. |
Method Summary | |
---|---|
boolean |
exists()
Return a boolean indicating whether a specified kernel variable exists (is present in the kernel pool). |
int |
getDataType()
Return the data type of the kernel variable, if any, associated with this instance. |
java.lang.String |
getName()
Return the name of the kernel variable associated with this instance. |
int |
getSize()
Return the size of the kernel variable, if any, associated with this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CHARACTER
public static final int NUMERIC
public static final java.lang.String CSPICE_CHARACTER
public static final java.lang.String CSPICE_NUMERIC
Constructor Detail |
---|
public KernelVarDescriptor()
public KernelVarDescriptor(KernelVarDescriptor descr)
public KernelVarDescriptor(boolean exists, java.lang.String name, int size, int dataType)
Method Detail |
---|
public boolean exists()
User applications should call this method to determine whether the variable's size and data type can be fetched.
public java.lang.String getName()
public int getSize() throws KernelVarNotFoundException
KernelVarNotFoundException
public int getDataType() throws KernelVarNotFoundException
KernelVarNotFoundException
|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |