|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.slicegraph.FilterContent
at.dms.kjc.slicegraph.PredefinedContent
at.dms.kjc.slicegraph.OutputContent
at.dms.kjc.slicegraph.FileOutputContent
public class FileOutputContent
Predefined FilterContent for file output, expands to implement a FileWriter.
Field Summary |
---|
Fields inherited from class at.dms.kjc.slicegraph.FilterContent |
---|
initFunction, inputType, my_unique_ID, outputType, prework, steady |
Constructor Summary | |
---|---|
FileOutputContent(FileOutputContent content)
Copy constructor for FileOutputContent. |
|
FileOutputContent(SIRFileWriter filter)
Construct FileInputContent from SIRFileWriter. |
|
FileOutputContent(UnflatFilter unflat)
Construct FileInputContent from UnflatFilter. |
Method Summary | |
---|---|
JStatement |
closeFile()
Return a statement closing the file. |
void |
createContent()
Create kopi code that when translated to C will manipulate the file. |
String |
getFileName()
Returns filename of FileOutputContent. |
int |
getOutputs()
Returns expected number of outputs. |
CType |
getType()
Get the type of the file writer . |
boolean |
isFP()
Returns if output format of file is floating point. |
void |
setOutputs(int i)
Sets expected number of outputs. |
Methods inherited from class at.dms.kjc.slicegraph.FilterContent |
---|
addAField, addAMethod, addField, addFields, addMethod, addMethods, getArray, getBegin, getConstant, getEnd, getFields, getInit, getInitMult, getInitWork, getInputType, getMethods, getName, getOutputType, getPeek, getPeekInt, getPopCount, getPopInt, getPos, getPrework, getPreworkPeek, getPreworkPop, getPreworkPush, getPushInt, getSteadyList, getSteadyMult, getTotal, getWork, initItemsNeeded, initItemsPushed, isLinear, isTwoStage, multSteadyMult, setArray, setBegin, setEnd, setFields, setInitMult, setMethods, setPos, setPrework, setSteadyMult, setTheMethods, setTotal, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileOutputContent(FileOutputContent content)
content
- The FileOutputContent to copy.public FileOutputContent(SIRFileWriter filter)
filter
- The SIRFileWriter used to contruct the FileInputContent.public FileOutputContent(UnflatFilter unflat)
unflat
- The UnflatFilter used to contruct the FileInputContent.Method Detail |
---|
public int getOutputs()
public void setOutputs(int i)
public String getFileName()
public CType getType()
public boolean isFP()
public JStatement closeFile()
createContent()
.
public void createContent()
createContent
in class OutputContent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |