at.dms.kjc.slicegraph
Class PredefinedContent
java.lang.Object
at.dms.kjc.slicegraph.FilterContent
at.dms.kjc.slicegraph.PredefinedContent
- All Implemented Interfaces:
- SIRCodeUnit
- Direct Known Subclasses:
- InputContent, OutputContent
public abstract class PredefinedContent
- extends FilterContent
Predefined FilterContent. This is for filters that represent
built-in functionality like FileReaders and FileWriters. Could be
restructured to be interface but it was easier to extend
FilterContent this way and can hold code common for predefined
filters.
- Author:
- jasperln
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 |
PredefinedContent
public PredefinedContent(PredefinedContent content)
- Copy constructor for PredefinedContent.
- Parameters:
content
- The PredefinedContent to copy.
PredefinedContent
public PredefinedContent(SIRPredefinedFilter filter)
- Construct PredefinedContent from SIRPredefinedFilter
- Parameters:
filter
- The SIRPredefinedFilter used to contruct the PredefinedContent.
PredefinedContent
public PredefinedContent(UnflatFilter unflat)
- Construct PredefinedContent from UnflatFilter.
- Parameters:
unflat
- The UnflatFilter used to contruct the PredefinedContent.
createContent
public abstract void createContent()
- Subclasses of
PredefinedContent
must be able to create their content.
(fields, methods, work function if appropriate, multiplicities, rates)