package ch.ntb.inf.deep.config;

public class Configuration {
	private static Project project;
	private static SystemConstants constants;
	private static MemoryMap memoryMap;
	private static RegisterMap registerMap;
	private static SysModules sysModules;
	private static RegInit regInit;
	private static OperatingSystem os;

	/**
	 * Returns the first Segment which contains the code for the given
	 * classname. If no such segment exists the method returns null.
	 * 
	 * @param Class
	 *            the name of the desired Class
	 * @return a Segment or null
	 */
	public static Segment getCodeSegmentOf(String Class) {

		return null;
	}

	/**
	 * Returns the first Segment which contains the constants for the given
	 * classname. If no such segment exists the method returns null.
	 * 
	 * @param Class
	 *            the name of the desired Class
	 * @return a Segment or null
	 */
	public static Segment getConstSegmentOf(String Class) {

		return null;
	}

	/**
	 * Returns the first Segment which contains the variables for the given
	 * classname. If no such segment exists the method returns null.
	 * 
	 * @param Class
	 *            the name of the desired Class
	 * @return a Segment or null
	 */
	public static Segment getVarSegmentOf(String Class) {

		return null;
	}

}

@@ -28,16 +28,59 @@
 fig;%0D%0A%0D%0A
+import ch.ntb.inf.deep.strings.HString;%0D%0A%0D%0A
 public c
@@ -523,37 +523,37 @@
  * %0D%0A%09 * @param 
-Class
+clazz
 %0D%0A%09 *           
@@ -657,36 +657,37 @@
 deSegmentOf(
+H
 String 
-Class
+clazz
 ) %7B%0D%0A%0D%0A%09%09ret
@@ -859,37 +859,37 @@
  * %0D%0A%09 * @param 
-Class
+clazz
 %0D%0A%09 *           
@@ -994,36 +994,37 @@
 stSegmentOf(
+H
 String 
-Class
+clazz
 ) %7B%0D%0A%0D%0A%09%09ret
@@ -1204,21 +1204,21 @@
  @param 
-Class
+clazz
 %0D%0A%09 *   
@@ -1337,47 +1337,655 @@
 tOf(
+H
 String 
-Class) %7B%0D%0A%0D%0A%09%09return null;%0D%0A%09%7D%0D%0A
+clazz) %7B%0D%0A%0D%0A%09%09return null;%0D%0A%09%7D%0D%0A%09%0D%0A%09/**%0D%0A%09 * Sets the projectblock of this configuration. If a Project is already set it %0D%0A%09 * will be overwritten.%0D%0A%09 * %0D%0A%09 * @param project%0D%0A%09 */%0D%0A%09public static void setProject(Project project)%7B%0D%0A%09%09Configuration.project = project;%0D%0A%09%09%0D%0A%09%7D%0D%0A%09%0D%0A%09/**%0D%0A%09 * @return the project which was set or null.%0D%0A%09 */%0D%0A%09public static Project getProject()%7B%0D%0A%09%09return Configuration.project;%0D%0A%09%7D%0D%0A%09%0D%0A%09/**%0D%0A%09 * @return the number of defined stacks%0D%0A%09 */%0D%0A%09public static int getNumberOfStacks()%7B%0D%0A%09%09return 0;%0D%0A%09%7D%0D%0A%09%0D%0A%09/**%0D%0A%09 * @return the number of defined heaps%0D%0A%09 */%0D%0A%09public static int getNumberOfHeaps()%7B%0D%0A%09%09return 0;%0D%0A%09%7D
 %0D%0A%7D%0D

add some getters