gov.llnl.babel.backend.mangler

Class FortranMangler

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(String[] args)

Methods inherited from class gov.llnl.babel.backend.mangler.ShaMangler

shortArrayName, shortName, shortName

Constructor Details

FortranMangler

public FortranMangler(int maxNameLen,
                      int maxUnmangled)
            throws 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.

Method Details

main

public static void main(String[] args)