|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectentities.NameSpace
entities.Module
The Module class represents the information regarding a C++ Module.
Field Summary |
Fields inherited from class entities.NameSpace |
fBody, fClasses, fClassMapToHeaderFile, fEnumerators, fExternalFields, fExternalMethods, fFunctions, fGlobalVariables, fName, fNestedNameSpaces, fParentScope, fTypeTable, fUserTypeTable |
Constructor Summary | |
Module(java.lang.String preprocessedFile,
java.lang.String sourceFilePath)
Construct a Module object |
Method Summary | |
void |
addClassMap(java.util.Hashtable completeMapTOLimitedClass)
|
void |
addEnumeratorMapToHeader(java.util.Hashtable enumeratorMapToHeaderFile)
|
void |
addHeaderFile(HeaderFile headerFile)
|
void |
addInfo(java.util.Hashtable keyToObject)
|
void |
addTypeMapToHeader(java.util.Hashtable typeMapToHeaderFile)
|
boolean |
areExceptionUsed()
|
boolean |
areTemplateUsed()
|
static void |
createTable(java.sql.Connection dbConnection)
|
static void |
delete(java.sql.Connection dbConnection,
java.lang.String moduleName)
|
java.util.Hashtable |
getCompleteMapTOLimitedClass()
|
java.util.Hashtable |
getEnumeratorMapToHeaderFile()
|
java.util.Vector |
getHeaderFiles()
|
ImplementationFile |
getImplementationFile()
|
java.util.Hashtable |
getKeyToObjectTable()
|
LimitedClassEntity |
getLimitedClassEntity(java.lang.String fullyScopedName,
java.lang.String superClassName)
|
java.lang.String |
getPreprocessedFile()
|
java.lang.String |
getSourceFilePath()
|
java.lang.String |
getStrippedFile()
|
java.util.Hashtable |
getTypeMapToHeaderFile()
|
void |
insert(java.sql.Connection dbConnection)
|
void |
print(java.lang.String indentation)
Print all information |
void |
setExceptionFlag(boolean exceptionFlag)
Deprecated. |
void |
setImplementationFile(ImplementationFile implementationFile)
|
void |
setTemplateFlag(boolean templateFlag)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Module(java.lang.String preprocessedFile, java.lang.String sourceFilePath)
preprocessedFile
- Name of the preprocessed file (with the path)sourceFilePath
- Directory containing the source filesMethod Detail |
public java.lang.String getPreprocessedFile()
public java.lang.String getStrippedFile()
public java.lang.String getSourceFilePath()
public ImplementationFile getImplementationFile()
public java.util.Vector getHeaderFiles()
public java.util.Hashtable getKeyToObjectTable()
public java.util.Hashtable getTypeMapToHeaderFile()
public java.util.Hashtable getEnumeratorMapToHeaderFile()
public java.util.Hashtable getCompleteMapTOLimitedClass()
public LimitedClassEntity getLimitedClassEntity(java.lang.String fullyScopedName, java.lang.String superClassName)
public boolean areExceptionUsed()
public boolean areTemplateUsed()
public void addClassMap(java.util.Hashtable completeMapTOLimitedClass)
completeMapTOLimitedClass
- It associates the class name
with the corresponding LimitedClassEntitypublic void addTypeMapToHeader(java.util.Hashtable typeMapToHeaderFile)
public void addEnumeratorMapToHeader(java.util.Hashtable enumeratorMapToHeaderFile)
public void addInfo(java.util.Hashtable keyToObject)
keyToObject
- is used to create a link from numbers (as
String) to the entities created by the CPPParser. This link is
then used by the CPPParserExpression to add the expressions to
the correct entitypublic void setImplementationFile(ImplementationFile implementationFile)
implementationFile
- contains all information about the
implementation file associated to the modulepublic void addHeaderFile(HeaderFile headerFile)
headerFile
- contains information about a header file
associated to the modulepublic void setExceptionFlag(boolean exceptionFlag)
exceptionFlag
- is true if exceptions are used inside the modulepublic void setTemplateFlag(boolean templateFlag)
templateFlag
- is true if templates are used inside the modulepublic void print(java.lang.String indentation)
print
in interface ScopeManager
print
in class NameSpace
public static void delete(java.sql.Connection dbConnection, java.lang.String moduleName) throws java.sql.SQLException
java.sql.SQLException
public static void createTable(java.sql.Connection dbConnection) throws java.sql.SQLException
java.sql.SQLException
public void insert(java.sql.Connection dbConnection) throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |