Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Usage of FomulaManager

Hi everybody,

I want to implement a "Command Line" in my application in a way that I
am able to both resolve mathematical equations with my VisAD-Data
objects like the FormulaManager does and that I am able to execute
commands like list() but also methods in my classes like
DisplayImpl.addMap(ScalarMap). Therefore the command line has to be able
to parse expressions like the following examples:

display.addMap(xmap)
x=y+z
display.addData(x)
list(display.getAllData())
...

where display, xmap, x, y and z are Objects but not necessarily
visad.Thing objects. Is there a way to construct a FormulaManager that
is able to parse all these expressions or do I have to do some kind of
pre-parsing which filters everything the FormulaManager is not able to
parse.

Is there a way to get Exceptions or "error reports" from the
FormulaManager if it was not able to parse the line?

Is there a general documentation of the visad.formula package? I only
found the docs and examples included in the visad.ss package and its
documentation.

Many thanks in advance, Mathias


------------------------------------------------------------
Mathias Stümpert
email: mathias@xxxxxxxxxxxx
homepage: www.stuempert.de



 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690