Class FortranNamelistOutput

Direct Known Subclasses:
Fortran77NamelistOutput, Fortran9XNamelistOutput

public class FortranNamelistOutput
extends NamelistOutput

This abstract 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 outputForVariable(Variable theVar)
          translate a Variable into a string.
Methods inherited from class UniVista.namelist.NamelistOutput
getDescription, getExportClasses, writeToFile, writeToFile, writeToFile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public FortranNamelistOutput()
Method Detail


public java.lang.String outputForVariable(Variable theVar)
translate a Variable into a string. Used as a helper function for the main export function
outputForVariable in class NamelistOutput