public static IEnumerable <VTableComponent> GetComponents(this VTableLayout vTableLayout) { for (var x = 0; x < vTableLayout.ComponentsCount; x++) { var component = vTableLayout.getComponents((uint)x); yield return(component); } }
AST.VTableLayout VisitVTableLayout(VTableLayout layout) { var _layout = new AST.VTableLayout(); for (uint i = 0; i < layout.ComponentsCount; ++i) { var component = layout.getComponents(i); var _component = VisitVTableComponent(component); _layout.Components.Add(_component); } return(_layout); }
protected VTableLayout(VTableLayout.Internal* native, bool isInternalImpl = false) { __Instance = new global::System.IntPtr(native); }
private VTableLayout(VTableLayout.Internal native) : this(__CopyValue(native)) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
private static VTableLayout.Internal* __CopyValue(VTableLayout.Internal native) { var ret = Marshal.AllocHGlobal(24); CppSharp.Parser.AST.VTableLayout.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return (VTableLayout.Internal*) ret; }
public static VTableLayout __CreateInstance(VTableLayout.Internal native) { return new VTableLayout(native); }
protected VTableLayout(VTableLayout.Internal* native, bool skipVTables = false) { if (native == null) return; __Instance = new global::System.IntPtr(native); }
public static VTableLayout __CreateInstance(VTableLayout.Internal native, bool skipVTables = false) { return new VTableLayout(native, skipVTables); }
private VTableLayout(VTableLayout.__Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
private static void* __CopyValue(VTableLayout.__Internal native) { var ret = Marshal.AllocHGlobal(12); global::CppSharp.Parser.AST.VTableLayout.__Internal.cctor_1(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); }
internal VTableLayout(VTableLayout.Internal native) : this(&native) { }
internal VTableLayout(VTableLayout.Internal* native) : this(new global::System.IntPtr(native)) { }
private VTableLayout(VTableLayout.Internal native) : this(__CopyValue(native)) { __ownsNativeInstance = true; }
internal VTableLayout(VTableLayout.Internal native) : this(__CopyValue(native)) { }