com.jstatcom.engine.gauss
Class GCGSet
- java.lang.Object
-
- com.jstatcom.engine.gauss.GCGSet
-
public final class GCGSet extends java.lang.ObjectThis class stores information to compile a GAUSS gcg file from the source files.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classGCGSet.SRCFileInnter class that stores an src file.
-
Field Summary
Fields Modifier and Type Field and Description java.lang.StringGCG_NAMEstatic XmlFormat<GCGSet>GCGSet_XMLXML format field for (de)serialization.java.lang.StringLIBS
-
Constructor Summary
Constructors Constructor and Description GCGSet(java.lang.String gcgName, java.lang.String libraries)Creates aGCGSetwith then name of the compiled file.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddSRCFile(java.lang.String fileName)Adds an src file to the list.java.util.Iteratoriterator()Gets a list iterator for all source file names.static voidmain(java.lang.String[] args)Compiles a GAUSS gcg file from source files according to the settings forGaussEngine.
-
-
-
Field Detail
-
GCG_NAME
public final java.lang.String GCG_NAME
-
LIBS
public final java.lang.String LIBS
-
-
Constructor Detail
-
GCGSet
public GCGSet(java.lang.String gcgName, java.lang.String libraries)Creates aGCGSetwith then name of the compiled file.- Parameters:
gcgName- the name of the output file (without path) *libraries- comma separated libraries to load before calling compile- Throws:
java.lang.RuntimeException-if (gcgName == null)
-
-
Method Detail
-
addSRCFile
public void addSRCFile(java.lang.String fileName)
Adds an src file to the list.- Parameters:
fileName- the src file to add- Throws:
java.lang.RuntimeException- if the sourcefile does not existjava.lang.IllegalArgumentException-if (fileName == null)
-
iterator
public java.util.Iterator iterator()
Gets a list iterator for all source file names. The order from the XML representation is preserved.- Returns:
- an iterator
-
main
public static void main(java.lang.String[] args)
Compiles a GAUSS gcg file from source files according to the settings forGaussEngine.- Parameters:
args- this is ignored
-
-
DMelt 3.0 © DataMelt by jWork.ORG