|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJsPool
Nested Class Summary | |
static class |
JsPool.FatType
Determine the file architecture and file type of most SPICE kernel files |
static class |
JsPool.KernelTypes
|
static class |
JsPool.PoolLimit
Determine the file architecture and file type of most SPICE kernel files |
static class |
JsPool.VarType
Return Type of the variable |
Constructor Summary | |
JsPool()
|
Method Summary | |
java.lang.String |
bod2nc(int code)
Translate the SPICE integer code of a body into a common name for that body |
void |
boddef(java.lang.String name,
int code)
Define a body name/ID code pair for later translation via bodn2 or bodc2n for that body |
boolean |
bodfnd(int code,
java.lang.String item)
Determine whether values exist for some item for any body in the kernel pool |
int |
bodn2c(java.lang.String name)
Translate the name of a body into the SPICE integer ID code for that body |
double[] |
bodvar(int code,
java.lang.String item)
Translate the name of a body into the SPICE integer ID code for that body |
int |
cidfrmCode(int code)
Retrieve frame ID code to associate with a frame center that body |
java.lang.String |
cidfrmName(int code)
Retrieve frame Name to associate with a frame center that body |
void |
clear()
Remove all variables from the kernel pool |
int |
cnmfrmCode(java.lang.String FrameName)
Retrieve frame ID code to associate with a frame center that body |
java.lang.String |
cnmfrmName(java.lang.String FrameName)
Retrieve frame Name to associate with a frame center that body |
void |
delVar(java.lang.String var)
Delete a variable from the kernel pool. |
boolean |
exist(java.lang.String filename)
Determine whether a file exists |
JsPool.FatType |
FatType(java.lang.String var)
|
void |
furnsh(java.lang.String kernel)
Furnish a program with the kernels and related data needed to carry out the program's computations |
java.lang.String[] |
gc(java.lang.String var,
int start,
int max)
Return the character value of a kernel variable from the kernel pool |
double[] |
gd(java.lang.String var,
int start,
int max)
Return the d.p. |
JsPool.KernelTypes |
getType(java.lang.String var)
Determine the file architecture and file type of most SPICE kernel files |
int[] |
gi(java.lang.String var,
int start,
int max)
Return the d.p. |
java.lang.String[] |
gn(java.lang.String var,
int start,
int max)
Return names of kernel variables matching a specified template |
void |
ld(java.lang.String filename)
Load the variables contained in a NAIF ASCII kernel file into the kernel pool |
int |
limit(JsPool.PoolLimit var)
|
void |
pc(java.lang.String name,
java.lang.String[] cvals)
This entry point provides toolkit programmers a method for programmatically inserting character data into the kernel pool |
void |
pd(java.lang.String name,
double[] vals)
This entry point provides toolkit programmers a method for programmatically inserting double data into the kernel pool |
void |
pi(java.lang.String name,
int[] vals)
This entry point provides toolkit programmers a method for programmatically inserting double data into the kernel pool |
int |
total()
Constructor |
int |
total(JsPool.KernelTypes typ)
Constructor |
void |
unload(java.lang.String kernel)
Unload a SPICE kernel |
void |
varDim(java.lang.String var)
Return Number of values returned for name |
boolean |
varExist(java.lang.String var)
Confirm the existence of a kernel variable in the kernel pool |
JsPool.VarType |
varType(java.lang.String var)
|
java.lang.String |
version(java.lang.String var)
Given an item such as the Toolkit or an entry point name, return the latest version string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JsPool()
Method Detail |
public java.lang.String bod2nc(int code) throws java.lang.Exception
code
- Integer ID code to be translated into a name
java.lang.Exception
public void boddef(java.lang.String name, int code) throws java.lang.Exception
code
- Integer ID code to be translated into a name
java.lang.Exception
public boolean bodfnd(int code, java.lang.String item) throws java.lang.Exception
code
- Integer ID code to be translated into a name
java.lang.Exception
public int bodn2c(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public double[] bodvar(int code, java.lang.String item) throws java.lang.Exception
code
- Integer ID code to be translated into a name
java.lang.Exception
public int cidfrmCode(int code) throws java.lang.Exception
code
- Integer ID code to be translated into a name
java.lang.Exception
public java.lang.String cidfrmName(int code) throws java.lang.Exception
code
- Integer ID code to be translated into a name
java.lang.Exception
public int cnmfrmCode(java.lang.String FrameName) throws java.lang.Exception
java.lang.Exception
public java.lang.String cnmfrmName(java.lang.String FrameName) throws java.lang.Exception
java.lang.Exception
public void clear() throws java.lang.Exception
java.lang.Exception
public void varDim(java.lang.String var) throws java.lang.Exception
java.lang.Exception
public JsPool.VarType varType(java.lang.String var) throws java.lang.Exception
java.lang.Exception
public void delVar(java.lang.String var) throws java.lang.Exception
java.lang.Exception
public boolean exist(java.lang.String filename) throws java.lang.Exception
java.lang.Exception
public boolean varExist(java.lang.String var) throws java.lang.Exception
java.lang.Exception
public void furnsh(java.lang.String kernel) throws java.lang.Exception
kernel
- SPICE kernel file (text or binary).
java.lang.Exception
public java.lang.String[] gc(java.lang.String var, int start, int max) throws java.lang.Exception
java.lang.Exception
public double[] gd(java.lang.String var, int start, int max) throws java.lang.Exception
java.lang.Exception
public int[] gi(java.lang.String var, int start, int max) throws java.lang.Exception
java.lang.Exception
public JsPool.FatType FatType(java.lang.String var) throws java.lang.Exception
java.lang.Exception
public JsPool.KernelTypes getType(java.lang.String var) throws java.lang.Exception
java.lang.Exception
public java.lang.String[] gn(java.lang.String var, int start, int max) throws java.lang.Exception
var
- template which will be used when searching
for variable names in the kernel pool. The characters
'*' and '%' are used for the wild string and wild
characters respectively.start
- is the index of the first variable name to return that
matches the name template. The matching names are
assigned indices ranging from 0 to NVAR-1, where NVAR is
the number of matching names. The index of a name does
not indicate how it compares alphabetically to another
namemax
- is the maximum number of variable names that should
be returned for this template. If room is less than 1
the error SPICE(BADARRAYSIZE) will be signaled
java.lang.Exception
public void ld(java.lang.String filename) throws java.lang.Exception
filename
- is the name of the kernel file whose variables will be
loaded into the pool
java.lang.Exception
public void pc(java.lang.String name, java.lang.String[] cvals) throws java.lang.Exception
java.lang.Exception
public void pd(java.lang.String name, double[] vals) throws java.lang.Exception
java.lang.Exception
public void pi(java.lang.String name, int[] vals) throws java.lang.Exception
java.lang.Exception
public int limit(JsPool.PoolLimit var) throws java.lang.Exception
java.lang.Exception
public int total() throws java.lang.Exception
java.lang.Exception
public int total(JsPool.KernelTypes typ) throws java.lang.Exception
java.lang.Exception
public java.lang.String version(java.lang.String var) throws java.lang.Exception
java.lang.Exception
public void unload(java.lang.String kernel) throws java.lang.Exception
kernel
- SPICE kernel file (text or binary).
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |