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(); }
public void addEnumeration(Enumeration en) { _enums.Add(en); }
public void Add(Enumeration en) { EnumerationType ent = new EnumerationType(en); ent.Parent = this; Add(ent); }
public EnumerationType(Enumeration en) { _enum = en; }
void addEnumeration() { Enumeration tmp = new Enumeration(reader_, this); _enumMap.Add(tmp.Id, tmp); Types.Add (tmp); _lastEnum = tmp; }