gov.llnl.babel.backend.sidl
Class Sidl

java.lang.Object
  extended by gov.llnl.babel.backend.sidl.Sidl
All Implemented Interfaces:
CodeConstants

public class Sidl
extends java.lang.Object
implements CodeConstants

Provide a collection of static methods to provide the mapping of SIDL concepts into SIDL. This class provides the mapping of symbol names to SIDL symbols and the mapping of types.


Field Summary
 
Fields inherited from interface gov.llnl.babel.backend.CodeConstants
C_AUTO_GEN_SPLICER, C_AUTO_GEN_WARNING, C_BACKSLASH, C_BEGIN_UNREFERENCED_METHODS, C_COMMENT_CLOSE, C_COMMENT_DOC_OPEN, C_COMMENT_F77, C_COMMENT_F90, C_COMMENT_HASH, C_COMMENT_OPEN, C_COMMENT_SLASH, C_COMMENT_SUBSEQUENT, C_DEFINE, C_DESC_CJNI_PREFIX, C_DESC_HEADER_PREFIX, C_DESC_IMPL_PREFIX, C_DESC_IOR_PREFIX, C_DESC_SJNI_PREFIX, C_DESC_SKEL_PREFIX, C_DESC_STUB_PREFIX, C_END_UNREFERENCED_METHODS, C_F77_IMPL_EXTENSION, C_F77_IMPL_METHOD_SUFFIX, C_F77_METHOD_SUFFIX, C_F77_VERSION, C_F7731_IMPL_EXTENSION, C_F90_ALT_SUFFIX, C_F90_IMPL_EXTENSION, C_F90_IMPL_METHOD_SUFFIX, C_F90_METHOD_SUFFIX, C_F90_VERSION, C_FORTRAN_DESC_STUB_PREFIX, C_FORTRAN_IMPL_MODULE_PREFIX, C_FORTRAN_MODULE_PREFIX, C_FORTRAN_TYPE_MODULE_PREFIX, C_GUARD_CLOSE, C_GUARD_OPEN, C_HASH, C_IFDEFINE_CLOSE, C_IFDEFINE_CXX, C_IFDEFINE_OPEN, C_INCLUDE, C_INSERT_HERE, C_INT_BACKSLASH, C_IS_IMPL, C_IS_NOT_IMPL, C_SLASH, C_UNREFERENCED_COMMENT1, C_UNREFERENCED_COMMENT2, C_UNREFERENCED_COMMENT3, MATLAB_COMMENT_OPEN
 
Method Summary
static java.lang.String getFileName(SymbolID id)
          Return the name of the Sidl file for a particular symbol (i.e., package).
static java.lang.String getSymbolName(SymbolID id)
          Convert a symbol name into string with the pieces of the symbol joined together with underline characters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSymbolName

public static java.lang.String getSymbolName(SymbolID id)
Convert a symbol name into string with the pieces of the symbol joined together with underline characters.

Parameters:
id - the symbol id to convert.
Returns:
a string representation of the symbol with periods replaced with underline characters.

getFileName

public static java.lang.String getFileName(SymbolID id)
Return the name of the Sidl file for a particular symbol (i.e., package).

Parameters:
id - the symbol whose sidl file name will be returned.
Returns:
the filename of file containing the SIDL source.