public CppClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb) : base(wrapper, t, sb) { //if (AllowSubclassing) //{ // _wrapper.PreClassProducers.Add(new CppNativeProtectedTypesProxy(_wrapper, _t, _sb)); //} }
public Form1(Wrapper wrapper) { InitializeComponent(); _wrapper = wrapper; wrapper.IncludeFileWrapped += new EventHandler<IncludeFileWrapEventArgs>(IncludeFileWrapped); for (int i = 0; i < _wrapper.IncludeFiles.Count; i++) { lstTypes.Items.Add(_wrapper.IncludeFiles.Keys[i]); } }
static void Main(string[] args) { Globals.NativeNamespace = "Ogre"; Globals.ManagedNamespace = "Mogre"; MetaDefinition meta = new MetaDefinition(@"..\..\..\cpp2java\build\meta.xml", "Mogre"); meta.AddAttributes(@"..\..\Attributes.xml"); Wrapper wrapper = new Wrapper(meta, @"..\..\..\Mogre\include\auto", @"..\..\..\Mogre\src\auto", "Mogre", "Ogre"); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1(wrapper)); }
public IncClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb) : base(wrapper, t, sb) { AddPreDeclarations(); if (_t.BaseClass != null) AddTypeDependancy(_t.BaseClass); if (AllowSubclassing) { _wrapper.PreClassProducers.Add(new NativeProtectedTypesProxy(_wrapper, _t, _sb)); _wrapper.PostClassProducers.Add(new NativeProtectedStaticsProxy(_wrapper, _t, _sb)); //_wrapper.PreClassProducers.Add(new IncNativeProtectedTypesProxy(_wrapper, _t, _sb)); } }
public ClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb) { this._wrapper = wrapper; this._t = t; this._sb = sb; foreach (DefClass iface in _t.GetInterfaces()) { AddTypeDependancy(iface); _interfaces.Add(iface); } if (_t.IsInterface) { // Declaring an overridable class for interface _interfaces.Add(_t); } }
public IncNonOverridableClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb) : base(wrapper, t, sb) { }
public IncNativePtrValueClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb) : base(wrapper, t, sb) { }
public IncSingletonClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb) : base(wrapper, t, sb) { }
public IncCLRHandleClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb) : base(wrapper, t, sb) { }
//protected List<DefFunction> _protectedFunctions = new List<DefFunction>(); public NativeProxyClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb) : base(wrapper, t, sb) { //SearchProtectedFunctions(_t); }
public CppSubclassingClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb, DefClass[] additionalInterfaces) : base(wrapper, t, sb) { this._additionalInterfaces = additionalInterfaces; }
public NativeProtectedTypesProxy(Wrapper wrapper, DefClass t, IndentStringBuilder sb) : base(wrapper, t, sb) { }
public IncPlainWrapperClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb) : base(wrapper, t, sb) { }
public IncReadOnlyStructClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb) : base(wrapper, t, sb) { }
public IncInterfaceClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb) : base(wrapper, t, sb) { }
public CppNativeDirectorClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb) : base(wrapper, t, sb) { }
public CppOverridableClassProducer(Wrapper wrapper, DefClass t, IndentStringBuilder sb) : base(wrapper, t, sb) { _wrapper.PostClassProducers.Add(new CppNativeProxyClassProducer(_wrapper, _t, _sb)); }