at.dms.kjc.rstream
Class StructureIncludeFile

java.lang.Object
  extended by at.dms.kjc.rstream.StructureIncludeFile

public class StructureIncludeFile
extends Object

This class generates the c struct definition for any structures used in the StreamIt code.

Author:
Michael Gordon

Constructor Summary
StructureIncludeFile()
           
 
Method Summary
static void doit(SIRStructure[] structs, String other)
          Create structures include file in current directory.
static void doit(SIRStructure[] structs, String other, String dir)
          Create structures include file in directory *dir*.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructureIncludeFile

public StructureIncludeFile()
Method Detail

doit

public static void doit(SIRStructure[] structs,
                        String other)
Create structures include file in current directory.

Parameters:
structs - The structures used in the programs
other - text to put in file

doit

public static void doit(SIRStructure[] structs,
                        String other,
                        String dir)
Create structures include file in directory *dir*.

Parameters:
structs - The structures used in the programs
other - text to put in file
dir - The directory to store the include file.