Esempio n. 1
0
 public CsharpGen(XmlTextReader reader)
 {
     reader_ = reader;
     contexts_ = new List<Context>();
     contextMap_ = new Dictionary<String, Context>();
     _types = new TypeMap();
     _platform = new PlatformInfo();
     _converter = new TypeConverter(this);
     _fileMap = new Dictionary<string, string>();
     _lastEnum = null;
     _enumMap = new Dictionary<string, Enumeration>();
     _files = new Dictionary<string, FileInfo>();
     setupOpMap();
 }
Esempio n. 2
0
 public void addEnumeration(Enumeration en)
 {
     _enums.Add(en);
 }
Esempio n. 3
0
 public void Add(Enumeration en)
 {
     EnumerationType ent = new EnumerationType(en); ent.Parent = this; Add(ent);
 }
Esempio n. 4
0
 public EnumerationType(Enumeration en)
 {
     _enum = en;
 }
Esempio n. 5
0
        void addEnumeration()
        {
            Enumeration tmp = new Enumeration(reader_, this);
            _enumMap.Add(tmp.Id, tmp);
            Types.Add (tmp);

            _lastEnum = tmp;
        }