|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.llnl.babel.BabelConfiguration
This class provides access to configuration information (including user options) required by the parsers and backend.
Constructor Summary | |
protected |
BabelConfiguration()
Since this is a singleton class, its constructor is protected. |
Method Summary | |
void |
addExcluded(RegexMatch rm)
Add another regular expression to the list of excluded regular expressions. |
void |
addToRepositoryPath(java.lang.String new_path)
Adds a new entry to the repository path. |
boolean |
generateClient()
Return the value of the client generation user option. |
boolean |
generateRemote()
Return the value of the remote generation user option. |
boolean |
generateServer()
Return the value of the server generation user option. |
boolean |
generateStdlib()
Return the value of the SIDL stdlib generation user option. |
boolean |
generateText()
Return the value of the text generation user option. |
boolean |
generateXML()
Return the value of the XML generation user option. |
static java.lang.String |
getBaseClass()
Return the full name of the root of the class type hierarchy. |
static java.lang.String |
getBaseException()
The full name of the root of the interface type hierarchy. |
static java.lang.String |
getBaseInterface()
The full name of the base of the exception type hierarchy. |
static java.lang.String |
getClassInfo()
Return the full name of the ClassInfo interface. |
static java.lang.String |
getClassInfoI()
Return the full name of the class implementing ClassInfo interface. |
java.util.List |
getExcludedList()
Return the list of RegexMatch objects
that should be excluded from code generation. |
static BabelConfiguration |
getInstance()
Return the singleton instance of this class. |
static java.lang.String |
getMakefileName()
The full name of the file associated with generated makefile fragments. |
static int |
getMaximumArray()
Return the maximum array dimension. |
java.lang.String |
getOutputDirectory()
Return the value of the output directory user option. |
java.lang.String |
getRepositoryPath()
Return the value of the repository path. |
java.lang.String |
getTargetLanguage()
Return the value of the target language user option. |
java.lang.String |
getVPathDirectory()
Return the value of the vpath directory user option. |
static boolean |
isSIDLBaseClass(SymbolID id)
Return whether the specified symbol belongs to the SIDL namespace. |
boolean |
makePackageSubdirs()
Return the value of the make package subdirs user option. |
boolean |
parseCheckOnly()
Return the value of the parser check user option. |
void |
setGenerateClient(boolean generate)
Set the value of the client generation user option. |
void |
setGenerateRemote(boolean generate)
Set the value of the remote generation user option. |
void |
setGenerateServer(boolean generate)
Set the value of the server generation user option. |
void |
setGenerateStdlib(boolean generate)
Set the value of the SIDL stdlib generation user option. |
void |
setGenerateText(boolean generate)
Set the value of the text generation user option. |
void |
setGenerateXML(boolean generate)
Set the value of the XML generation user option. |
void |
setMakePackageSubdirs(boolean make_subdirs)
Set the value of the make package subdirs user option. |
void |
setOutputDirectory(java.lang.String dir)
Set the value of the output directory user option. |
void |
setParseCheckOnly(boolean parse)
Set the value of the parser check user option. |
void |
setSuppressTimestamps(boolean suppress)
Set the value of the timestamp suppression user option. |
void |
setTargetLanguage(java.lang.String lang)
Set the value of the target language user option. |
void |
setVPathDirectory(java.lang.String dir)
Set the value of the vpath directory user option. |
boolean |
suppressTimestamps()
Return the value of the timestamp suppression user option. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected BabelConfiguration()
Method Detail |
public static BabelConfiguration getInstance()
public static java.lang.String getBaseClass()
public static java.lang.String getClassInfo()
public static java.lang.String getClassInfoI()
public static java.lang.String getBaseException()
public static java.lang.String getBaseInterface()
public static java.lang.String getMakefileName()
public static int getMaximumArray()
public static boolean isSIDLBaseClass(SymbolID id)
public void setGenerateServer(boolean generate)
public boolean generateServer()
public void setGenerateRemote(boolean generate)
public boolean generateRemote()
public void setGenerateClient(boolean generate)
public boolean generateClient()
public void setGenerateText(boolean generate)
public boolean generateText()
public void setGenerateXML(boolean generate)
public boolean generateXML()
public void setGenerateStdlib(boolean generate)
public boolean generateStdlib()
public void setParseCheckOnly(boolean parse)
public boolean parseCheckOnly()
public void setSuppressTimestamps(boolean suppress)
public boolean suppressTimestamps()
public void setMakePackageSubdirs(boolean make_subdirs)
public boolean makePackageSubdirs()
public void setOutputDirectory(java.lang.String dir)
public java.lang.String getOutputDirectory()
public void setVPathDirectory(java.lang.String dir)
public java.lang.String getVPathDirectory()
public void setTargetLanguage(java.lang.String lang)
public java.lang.String getTargetLanguage()
public void addToRepositoryPath(java.lang.String new_path)
public java.lang.String getRepositoryPath()
public void addExcluded(RegexMatch rm)
public java.util.List getExcludedList()
RegexMatch
objects
that should be excluded from code generation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |