UniVista.namelist
Class FortranNamelistOutput

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

FortranNamelistOutput

public FortranNamelistOutput()
Method Detail

outputForVariable

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