Documentation of 'com.jstatcom.engine.gauss.LIBSet' Java class
LIBSet
com.jstatcom.engine.gauss

Class LIBSet



  • public final class LIBSet
    extends java.lang.Object
    This class stores information to create the GAUSS lcg files from the source files.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  LIBSet.SRCLibPair
      Innter class that stores a libraryname - sourcefile mapping.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      java.lang.String LIBS 
      static XmlFormat<LIBSet> LIBSet_XML
      XML format field for (de)serialization.
    • Constructor Summary

      Constructors 
      Constructor and Description
      LIBSet(java.lang.String libraries)
      Creates an empty LIBSet.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addSRCLibMapping(java.lang.String libName, java.lang.String fileName)
      Adds a sourcefile - libraryname mapping to the list.
      java.util.Iterator iterator()
      Gets a list iterator for libname - sourcefile pairs.
      static void main(java.lang.String[] args)
      Generates GAUSS lcg libraries from source files according to the settings for GaussEngine.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LIBS

        public final java.lang.String LIBS
      • LIBSet_XML

        public static final XmlFormat<LIBSet> LIBSet_XML
        XML format field for (de)serialization.
    • Constructor Detail

      • LIBSet

        public LIBSet(java.lang.String libraries)
        Creates an empty LIBSet.
        Parameters:
        libraries - comma separated libraries to load before calling compile
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
        Generates GAUSS lcg libraries from source files according to the settings for GaussEngine.
        Parameters:
        args - this is ignored
      • addSRCLibMapping

        public void addSRCLibMapping(java.lang.String libName,
                                     java.lang.String fileName)
        Adds a sourcefile - libraryname mapping to the list.
        Parameters:
        libName - the library that should reference fileName
        fileName - the src file to add
        Throws:
        java.lang.RuntimeException - if the sourcefile does not exist or if libName is empty
        java.lang.IllegalArgumentException - if (fileName == null || libName == null)
      • iterator

        public java.util.Iterator iterator()
        Gets a list iterator for libname - sourcefile pairs. The order from the XML representation is preserved.

        The pairs are stored as instances of LIBSet.SRCLibPair.

        Returns:
        an iterator

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.