|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectujf.verimag.bip.cgeneration.CFileGen
public class CFileGen
Constructor Summary | |
---|---|
CFileGen(java.lang.String rootName)
constructor with the root file name. |
|
CFileGen(java.lang.String hFileName,
java.lang.String cFileName)
constructor with the files name. |
Method Summary | |
---|---|
void |
generateSource(CModule module)
generate source files for the given C module |
java.lang.String |
getHeader()
|
void |
setHeader(java.lang.String header)
|
void |
terminate()
ending the generation, and properly close the files |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CFileGen(java.lang.String hFileName, java.lang.String cFileName) throws java.io.FileNotFoundException
hFileName
- include file namecFileName
- implementation file name
java.io.FileNotFoundException
public CFileGen(java.lang.String rootName) throws java.io.FileNotFoundException, java.io.IOException
rootName
- the root of the source file name
java.io.FileNotFoundException
java.io.IOException
Method Detail |
---|
public java.lang.String getHeader()
public void setHeader(java.lang.String header)
public void terminate()
public void generateSource(CModule module)
module
- the model of the module to generate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |