scale.clef.expr
Enum TransFtn

java.lang.Object
  extended by java.lang.Enum<TransFtn>
      extended by scale.clef.expr.TransFtn
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TransFtn>

public enum TransFtn
extends java.lang.Enum<TransFtn>

This enum specifies the different transcendental functions - sin, cos, etc.

$Id$

Copyright 2008 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.


Enum Constant Summary
Acos
          The acos() function.
Alloca
          The alloca() function.
Asin
          The asin() function.
Atan
          The atan() function.
Conjg
          The conjg() function.
Cos
          The cos() function.
Cosh
          The cosh() function.
Dealloca
          The dealloca function.
Exp
          The exp() function.
FrameAddress
          The builtin_frame_address() function.
Log
          The log() function.
Log10
          The log10() function.
ReturnAddress
          The builtin_return_address function.
Sin
          The sin() function.
Sinh
          The sinh() function.
Sqrt
          The sqrt() function.
Tan
          The tan() function.
Tanh
          The tanh() function.
 
Method Summary
 java.lang.String cName()
           
 java.lang.String sName()
           
static TransFtn valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TransFtn[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Sqrt

public static final TransFtn Sqrt
The sqrt() function.


Exp

public static final TransFtn Exp
The exp() function.


Log

public static final TransFtn Log
The log() function.


Log10

public static final TransFtn Log10
The log10() function.


Sin

public static final TransFtn Sin
The sin() function.


Cos

public static final TransFtn Cos
The cos() function.


Tan

public static final TransFtn Tan
The tan() function.


Asin

public static final TransFtn Asin
The asin() function.


Acos

public static final TransFtn Acos
The acos() function.


Atan

public static final TransFtn Atan
The atan() function.


Sinh

public static final TransFtn Sinh
The sinh() function.


Cosh

public static final TransFtn Cosh
The cosh() function.


Tanh

public static final TransFtn Tanh
The tanh() function.


Conjg

public static final TransFtn Conjg
The conjg() function.


Alloca

public static final TransFtn Alloca
The alloca() function.


ReturnAddress

public static final TransFtn ReturnAddress
The builtin_return_address function.


FrameAddress

public static final TransFtn FrameAddress
The builtin_frame_address() function.


Dealloca

public static final TransFtn Dealloca
The dealloca function. This function is used to reset the stack pointer when an allocaed variable is no longer needed. Used by Fortran 90 for intermediate allocatble arrays.

Method Detail

values

public static TransFtn[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TransFtn c : TransFtn.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TransFtn valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

sName

public java.lang.String sName()

cName

public java.lang.String cName()