org.vishia.java2C
Class AllData

java.lang.Object
  extended by org.vishia.java2C.AllData

public class AllData
extends java.lang.Object

This class represents the index of all java classes for Translation. A singleton instance is created at start of translation. It is filled successively if a new class is detected while executing the first pass of translation, the generation of header. It is used for the second pass, the generation of C-file.


Field Summary
(package private)  java.util.TreeMap<java.lang.String,ClassData> classes
          List of known types.
 
Constructor Summary
AllData()
           
 
Method Summary
(package private)  void add(java.lang.String sClassName, ClassData clazz)
           
(package private)  ClassData get(java.lang.String sClassName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classes

final java.util.TreeMap<java.lang.String,ClassData> classes
List of known types.

Constructor Detail

AllData

public AllData()
Method Detail

add

void add(java.lang.String sClassName,
         ClassData clazz)

get

ClassData get(java.lang.String sClassName)