gov.llnl.babel.backend.mangler
Class FortranMangler

java.lang.Object
  extended by gov.llnl.babel.backend.mangler.ShaMangler
      extended by gov.llnl.babel.backend.mangler.FortranMangler
All Implemented Interfaces:
NameMangler

public class FortranMangler
extends ShaMangler

This class provides a NameMangler for the FORTRAN 77, 90, 95 and presumably future FORTRAN standards. The main difference between FortranMangler and ShaMangler is the FortranMangler provides the allowable FORTRAN character set.


Constructor Summary
FortranMangler(int maxNameLen, int maxUnmangled)
          Create a name mangler for FORTRAN.
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class gov.llnl.babel.backend.mangler.ShaMangler
shortArrayName, shortName, shortName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FortranMangler

public FortranMangler(int maxNameLen,
                      int maxUnmangled)
               throws java.security.NoSuchAlgorithmException
Create a name mangler for FORTRAN. This constructor provides the FORTRAN character set.

Parameters:
maxNameLen - the maximum allowable number of characters in a name. Typically, this is 31 for FORTRAN 90/95, and it is set by the FORTRAN standards committee.
maxUnmangled - the number of characters out of maxNameLen that should be used for unmangled content.
Throws:
java.security.NoSuchAlgorithmException - this is thrown when the SHA message digest is unavailable. Sun's specifications says that it should be available.
Method Detail

main

public static void main(java.lang.String[] args)