|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.babel.backend.Configuration
Configuration
is a singleton class that represents the
generic backend configuration options such as the maximum array size
in a sidl array or whether a symbol is part of the standard library.
Constructor Summary | |
Configuration()
Create a new instance of the backend configuration object. |
Method Summary | |
static Configuration |
getInstance()
Return the singleton instance of the configuration. |
int |
getMaximumArrayDimension()
Return the maximum array dimension supported during code generation. |
boolean |
isBuiltinSymbol(java.lang.String fqn)
Check whether the symbol name represents one of the standard library classes (e.g., sidl). |
static void |
setInstance(Configuration instance)
Set the singleton instance of the configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Configuration()
getInstance
and setInstance
.
Method Detail |
public static Configuration getInstance()
public static void setInstance(Configuration instance)
getInstance
will automatically create the configuration
for you.
public int getMaximumArrayDimension()
public boolean isBuiltinSymbol(java.lang.String fqn)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |