UniVista.namelist
Class Fortran9XNamelistOutput

java.lang.Object
  |
  +--UniVista.namelist.NamelistOutput
        |
        +--UniVista.namelist.FortranNamelistOutput
              |
              +--UniVista.namelist.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
outputMethods
 
Constructor Summary
Fortran9XNamelistOutput()
           
 
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
outputForVariable
 
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

Fortran9XNamelistOutput

public Fortran9XNamelistOutput()
Method Detail

getDescription

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

writeToFile

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