gov.llnl.babel.backend.sidl
Class Sidl
java.lang.Objectgov.llnl.babel.backend.sidl.Sidl
- CodeConstants
public class Sidl
extends java.lang.Object
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.
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_F7731_IMPL_EXTENSION, C_F77_IMPL_EXTENSION, C_F77_IMPL_METHOD_SUFFIX, C_F77_METHOD_SUFFIX, C_F77_VERSION, 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 |
static String | getFileName(SymbolID id)- Return the name of the Sidl file for a particular symbol (i.e., package).
|
static String | getSymbolName(SymbolID id)- Convert a symbol name into string with the pieces of the symbol joined
together with underline characters.
|
getFileName
public static String getFileName(SymbolID id)
Return the name of the Sidl file for a particular symbol (i.e., package).
id - the symbol whose sidl file name will be returned.
- the filename of file containing the SIDL source.
getSymbolName
public static String getSymbolName(SymbolID id)
Convert a symbol name into string with the pieces of the symbol joined
together with underline characters.
id - the symbol id to convert.
- a string representation of the symbol with periods replaced
with underline characters.