Class Fortran9XNamelistOutput


public class Fortran9XNamelistOutput
extends FortranNamelistOutput

this class is a simple illustrative class that illustrates how to write an ascii style code output filter. It currently understands how to output shorts, floats, and booleans. Also note that it does not implement the functions to output Study and Run objets. These functions are also as straightforward as obtaining a listing of all of the variables of the study or run's parent Code and then calling the Study or Run's getVariable() routine to fetch the appropriate value and then output it in a similar way to the Code output function.

Fields inherited from class UniVista.namelist.NamelistOutput
Constructor Summary
Method Summary
 java.lang.String getDescription()
          return a description of the translator
 void writeToFile(Code toWrite, java.io.OutputStream outFile)
          writes out the Code into the passed output stream in UniCode strings (16 bit chars).
Methods inherited from class UniVista.namelist.FortranNamelistOutput
Methods inherited from class UniVista.namelist.NamelistOutput
getExportClasses, writeToFile, writeToFile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Fortran9XNamelistOutput()
Method Detail


public java.lang.String getDescription()
return a description of the translator
getDescription in class NamelistOutput


public void writeToFile(Code toWrite,
                        java.io.OutputStream outFile)
writes out the Code into the passed output stream in UniCode strings (16 bit chars).
writeToFile in class NamelistOutput