@ -10543,7 +10543,93 @@ namespace CppSharp
@@ -10543,7 +10543,93 @@ namespace CppSharp
}
}
public unsafe partial class BlockCommandComment : CppSharp . Parser . AST . BlockContentComment , IDisposable
public unsafe partial class InlineContentComment : CppSharp . Parser . AST . Comment , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 4)]
public new partial struct Internal
{
[FieldOffset(0)]
public CppSharp . Parser . AST . CommentKind Kind ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0InlineContentComment@AST@CppParser@CppSharp@@QAE@XZ" ) ]
internal static extern global :: System . IntPtr ctor_0 ( global :: System . IntPtr instance ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0InlineContentComment@AST@CppParser@CppSharp@@QAE@W4CommentKind@123@@Z" ) ]
internal static extern global :: System . IntPtr ctor_1 ( global :: System . IntPtr instance , CppSharp . Parser . AST . CommentKind Kind ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0InlineContentComment@AST@CppParser@CppSharp@@QAE@ABV0123@@Z" ) ]
internal static extern global :: System . IntPtr cctor_2 ( global :: System . IntPtr instance , global :: System . IntPtr _ 0 ) ;
}
public static new InlineContentComment _ _ CreateInstance ( global :: System . IntPtr native , bool skipVTables = false )
{
return new InlineContentComment ( native . ToPointer ( ) , skipVTables ) ;
}
public static InlineContentComment _ _ CreateInstance ( InlineContentComment . Internal native , bool skipVTables = false )
{
return new InlineContentComment ( native , skipVTables ) ;
}
private static void * _ _ CopyValue ( InlineContentComment . Internal native )
{
var ret = Marshal . AllocHGlobal ( 4 ) ;
* ( InlineContentComment . Internal * ) ret = native ;
return ret . ToPointer ( ) ;
}
private InlineContentComment ( InlineContentComment . Internal native , bool skipVTables = false )
: this ( _ _ CopyValue ( native ) , skipVTables )
{
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
}
protected InlineContentComment ( void * native , bool skipVTables = false )
: base ( ( void * ) null )
{
_ _ PointerAdjustment = 0 ;
if ( native = = null )
return ;
_ _ Instance = new global :: System . IntPtr ( native ) ;
}
public InlineContentComment ( )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 4 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
Internal . ctor_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
}
public InlineContentComment ( CppSharp . Parser . AST . CommentKind Kind )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 4 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
var arg0 = Kind ;
Internal . ctor_1 ( ( _ _ Instance + _ _ PointerAdjustment ) , arg0 ) ;
}
public InlineContentComment ( CppSharp . Parser . AST . InlineContentComment _ 0 )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 4 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
* ( ( InlineContentComment . Internal * ) _ _ Instance ) = * ( ( InlineContentComment . Internal * ) _ 0. _ _ Instance ) ;
}
}
public unsafe partial class ParagraphComment : CppSharp . Parser . AST . BlockContentComment , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 20)]
public new partial struct Internal
@ -10551,9 +10637,169 @@ namespace CppSharp
@@ -10551,9 +10637,169 @@ namespace CppSharp
[FieldOffset(0)]
public CppSharp . Parser . AST . CommentKind Kind ;
[FieldOffset(4)]
public byte IsWhitespace ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0ParagraphComment@AST@CppParser@CppSharp@@QAE@XZ" ) ]
internal static extern global :: System . IntPtr ctor_0 ( global :: System . IntPtr instance ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0ParagraphComment@AST@CppParser@CppSharp@@QAE@ABV0123@@Z" ) ]
internal static extern global :: System . IntPtr cctor_1 ( global :: System . IntPtr instance , global :: System . IntPtr _ 0 ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??1ParagraphComment@AST@CppParser@CppSharp@@QAE@XZ" ) ]
internal static extern void dtor_0 ( global :: System . IntPtr instance , int delete ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "?getContent@ParagraphComment@AST@CppParser@CppSharp@@QAEPAVInlineContentComment@234@I@Z" ) ]
internal static extern global :: System . IntPtr getContent_0 ( global :: System . IntPtr instance , uint i ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "?addContent@ParagraphComment@AST@CppParser@CppSharp@@QAEXAAPAVInlineContentComment@234@@Z" ) ]
internal static extern void addContent_0 ( global :: System . IntPtr instance , global :: System . IntPtr s ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "?clearContent@ParagraphComment@AST@CppParser@CppSharp@@QAEXXZ" ) ]
internal static extern void clearContent_0 ( global :: System . IntPtr instance ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "?getContentCount@ParagraphComment@AST@CppParser@CppSharp@@QAEIXZ" ) ]
internal static extern uint getContentCount_0 ( global :: System . IntPtr instance ) ;
}
public static new ParagraphComment _ _ CreateInstance ( global :: System . IntPtr native , bool skipVTables = false )
{
return new ParagraphComment ( native . ToPointer ( ) , skipVTables ) ;
}
public static ParagraphComment _ _ CreateInstance ( ParagraphComment . Internal native , bool skipVTables = false )
{
return new ParagraphComment ( native , skipVTables ) ;
}
private static void * _ _ CopyValue ( ParagraphComment . Internal native )
{
var ret = Marshal . AllocHGlobal ( 2 0 ) ;
CppSharp . Parser . AST . ParagraphComment . Internal . cctor_1 ( ret , new global :: System . IntPtr ( & native ) ) ;
return ret . ToPointer ( ) ;
}
private ParagraphComment ( ParagraphComment . Internal native , bool skipVTables = false )
: this ( _ _ CopyValue ( native ) , skipVTables )
{
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
}
protected ParagraphComment ( void * native , bool skipVTables = false )
: base ( ( void * ) null )
{
_ _ PointerAdjustment = 0 ;
if ( native = = null )
return ;
_ _ Instance = new global :: System . IntPtr ( native ) ;
}
public ParagraphComment ( )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 2 0 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
Internal . ctor_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
}
public ParagraphComment ( CppSharp . Parser . AST . ParagraphComment _ 0 )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 2 0 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
if ( ReferenceEquals ( _ 0 , null ) )
throw new global :: System . ArgumentNullException ( "_0" , "Cannot be null because it is a C++ reference (&)." ) ;
var arg0 = _ 0. _ _ Instance ;
Internal . cctor_1 ( ( _ _ Instance + _ _ PointerAdjustment ) , arg0 ) ;
}
protected override void Dispose ( bool disposing )
{
CppSharp . Parser . AST . Comment _ _d ummy ;
NativeToManagedMap . TryRemove ( _ _ Instance , out _ _d ummy ) ;
Internal . dtor_0 ( ( _ _ Instance + _ _ PointerAdjustment ) , 0 ) ;
if ( _ _ ownsNativeInstance )
Marshal . FreeHGlobal ( _ _ Instance ) ;
}
public CppSharp . Parser . AST . InlineContentComment getContent ( uint i )
{
var _ _ ret = Internal . getContent_0 ( ( _ _ Instance + _ _ PointerAdjustment ) , i ) ;
CppSharp . Parser . AST . InlineContentComment _ _ result0 ;
if ( _ _ ret = = IntPtr . Zero ) _ _ result0 = null ;
else if ( CppSharp . Parser . AST . InlineContentComment . NativeToManagedMap . ContainsKey ( _ _ ret ) )
_ _ result0 = ( CppSharp . Parser . AST . InlineContentComment ) CppSharp . Parser . AST . InlineContentComment . NativeToManagedMap [ _ _ ret ] ;
else _ _ result0 = CppSharp . Parser . AST . InlineContentComment . _ _ CreateInstance ( _ _ ret ) ;
return _ _ result0 ;
}
public void addContent ( CppSharp . Parser . AST . InlineContentComment s )
{
if ( ReferenceEquals ( s , null ) )
throw new global :: System . ArgumentNullException ( "s" , "Cannot be null because it is a C++ reference (&)." ) ;
var arg0 = s . _ _ Instance ;
Internal . addContent_0 ( ( _ _ Instance + _ _ PointerAdjustment ) , arg0 ) ;
}
public void clearContent ( )
{
Internal . clearContent_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
}
public uint ContentCount
{
get
{
var _ _ ret = Internal . getContentCount_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
return _ _ ret ;
}
}
public bool IsWhitespace
{
get
{
return ( ( Internal * ) _ _ Instance ) - > IsWhitespace ! = 0 ;
}
set
{
( ( Internal * ) _ _ Instance ) - > IsWhitespace = ( byte ) ( value ? 1 : 0 ) ;
}
}
}
public unsafe partial class BlockCommandComment : CppSharp . Parser . AST . BlockContentComment , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 24)]
public new partial struct Internal
{
[FieldOffset(0)]
public CppSharp . Parser . AST . CommentKind Kind ;
[FieldOffset(4)]
public uint CommandId ;
[FieldOffset(8)]
public global :: System . IntPtr ParagraphComment ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0BlockCommandComment@AST@CppParser@CppSharp@@QAE@XZ" ) ]
@ -10567,7 +10813,7 @@ namespace CppSharp
@@ -10567,7 +10813,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0BlockCommandComment@AST@CppParser@CppSharp@@QAE@ABV0123@@Z" ) ]
internal static extern global :: System . IntPtr cctor_3 ( global :: System . IntPtr instance , global :: System . IntPtr _ 0 ) ;
internal static extern global :: System . IntPtr cctor_2 ( global :: System . IntPtr instance , global :: System . IntPtr _ 0 ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
@ -10727,8 +10973,8 @@ namespace CppSharp
@@ -10727,8 +10973,8 @@ namespace CppSharp
private static void * _ _ CopyValue ( BlockCommandComment . Internal native )
{
var ret = Marshal . AllocHGlobal ( 2 0 ) ;
CppSharp . Parser . AST . BlockCommandComment . Internal . cctor_3 ( ret , new global :: System . IntPtr ( & native ) ) ;
var ret = Marshal . AllocHGlobal ( 2 4 ) ;
CppSharp . Parser . AST . BlockCommandComment . Internal . cctor_2 ( ret , new global :: System . IntPtr ( & native ) ) ;
return ret . ToPointer ( ) ;
}
@ -10751,7 +10997,7 @@ namespace CppSharp
@@ -10751,7 +10997,7 @@ namespace CppSharp
public BlockCommandComment ( )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 2 0 ) ;
_ _ Instance = Marshal . AllocHGlobal ( 2 4 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
Internal . ctor_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
@ -10760,7 +11006,7 @@ namespace CppSharp
@@ -10760,7 +11006,7 @@ namespace CppSharp
public BlockCommandComment ( CppSharp . Parser . AST . CommentKind Kind )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 2 0 ) ;
_ _ Instance = Marshal . AllocHGlobal ( 2 4 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
var arg0 = Kind ;
@ -10770,13 +11016,13 @@ namespace CppSharp
@@ -10770,13 +11016,13 @@ namespace CppSharp
public BlockCommandComment ( CppSharp . Parser . AST . BlockCommandComment _ 0 )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 2 0 ) ;
_ _ Instance = Marshal . AllocHGlobal ( 2 4 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
if ( ReferenceEquals ( _ 0 , null ) )
throw new global :: System . ArgumentNullException ( "_0" , "Cannot be null because it is a C++ reference (&)." ) ;
var arg0 = _ 0. _ _ Instance ;
Internal . cctor_3 ( ( _ _ Instance + _ _ PointerAdjustment ) , arg0 ) ;
Internal . cctor_2 ( ( _ _ Instance + _ _ PointerAdjustment ) , arg0 ) ;
}
protected override void Dispose ( bool disposing )
@ -10829,11 +11075,29 @@ namespace CppSharp
@@ -10829,11 +11075,29 @@ namespace CppSharp
( ( Internal * ) _ _ Instance ) - > CommandId = value ;
}
}
public CppSharp . Parser . AST . ParagraphComment ParagraphComment
{
get
{
CppSharp . Parser . AST . ParagraphComment _ _ result0 ;
if ( ( ( Internal * ) _ _ Instance ) - > ParagraphComment = = IntPtr . Zero ) _ _ result0 = null ;
else if ( CppSharp . Parser . AST . ParagraphComment . NativeToManagedMap . ContainsKey ( ( ( Internal * ) _ _ Instance ) - > ParagraphComment ) )
_ _ result0 = ( CppSharp . Parser . AST . ParagraphComment ) CppSharp . Parser . AST . ParagraphComment . NativeToManagedMap [ ( ( Internal * ) _ _ Instance ) - > ParagraphComment ] ;
else _ _ result0 = CppSharp . Parser . AST . ParagraphComment . _ _ CreateInstance ( ( ( Internal * ) _ _ Instance ) - > ParagraphComment ) ;
return _ _ result0 ;
}
set
{
( ( Internal * ) _ _ Instance ) - > ParagraphComment = ReferenceEquals ( value , null ) ? global :: System . IntPtr . Zero : value . _ _ Instance ;
}
}
}
public unsafe partial class ParamCommandComment : CppSharp . Parser . AST . BlockCommandComment , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 28)]
[StructLayout(LayoutKind.Explicit, Size = 3 2)]
public new partial struct Internal
{
[FieldOffset(0)]
@ -10842,10 +11106,13 @@ namespace CppSharp
@@ -10842,10 +11106,13 @@ namespace CppSharp
[FieldOffset(4)]
public uint CommandId ;
[FieldOffset(20 )]
public CppSharp . Parser . AST . ParamCommandComment . PassDirection Direction ;
[FieldOffset(8 )]
public global :: System . IntPtr ParagraphComment ;
[FieldOffset(24)]
public CppSharp . Parser . AST . ParamCommandComment . PassDirection Direction ;
[FieldOffset(28)]
public uint ParamIndex ;
[SuppressUnmanagedCodeSecurity]
@ -10856,7 +11123,7 @@ namespace CppSharp
@@ -10856,7 +11123,7 @@ namespace CppSharp
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0ParamCommandComment@AST@CppParser@CppSharp@@QAE@ABV0123@@Z" ) ]
internal static extern global :: System . IntPtr cctor_1 ( global :: System . IntPtr instance , global :: System . IntPtr _ 0 ) ;
internal static extern global :: System . IntPtr cctor_2 ( global :: System . IntPtr instance , global :: System . IntPtr _ 0 ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
@ -10883,8 +11150,8 @@ namespace CppSharp
@@ -10883,8 +11150,8 @@ namespace CppSharp
private static void * _ _ CopyValue ( ParamCommandComment . Internal native )
{
var ret = Marshal . AllocHGlobal ( 2 8 ) ;
CppSharp . Parser . AST . ParamCommandComment . Internal . cctor_1 ( ret , new global :: System . IntPtr ( & native ) ) ;
var ret = Marshal . AllocHGlobal ( 3 2 ) ;
CppSharp . Parser . AST . ParamCommandComment . Internal . cctor_2 ( ret , new global :: System . IntPtr ( & native ) ) ;
return ret . ToPointer ( ) ;
}
@ -10907,7 +11174,7 @@ namespace CppSharp
@@ -10907,7 +11174,7 @@ namespace CppSharp
public ParamCommandComment ( )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 2 8 ) ;
_ _ Instance = Marshal . AllocHGlobal ( 3 2 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
Internal . ctor_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
@ -10916,13 +11183,13 @@ namespace CppSharp
@@ -10916,13 +11183,13 @@ namespace CppSharp
public ParamCommandComment ( CppSharp . Parser . AST . ParamCommandComment _ 0 )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 2 8 ) ;
_ _ Instance = Marshal . AllocHGlobal ( 3 2 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
if ( ReferenceEquals ( _ 0 , null ) )
throw new global :: System . ArgumentNullException ( "_0" , "Cannot be null because it is a C++ reference (&)." ) ;
var arg0 = _ 0. _ _ Instance ;
Internal . cctor_1 ( ( _ _ Instance + _ _ PointerAdjustment ) , arg0 ) ;
Internal . cctor_2 ( ( _ _ Instance + _ _ PointerAdjustment ) , arg0 ) ;
}
protected override void Dispose ( bool disposing )
@ -10963,7 +11230,7 @@ namespace CppSharp
@@ -10963,7 +11230,7 @@ namespace CppSharp
public unsafe partial class TParamCommandComment : CppSharp . Parser . AST . BlockCommandComment , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 32 )]
[StructLayout(LayoutKind.Explicit, Size = 36 )]
public new partial struct Internal
{
[FieldOffset(0)]
@ -10972,6 +11239,9 @@ namespace CppSharp
@@ -10972,6 +11239,9 @@ namespace CppSharp
[FieldOffset(4)]
public uint CommandId ;
[FieldOffset(8)]
public global :: System . IntPtr ParagraphComment ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0TParamCommandComment@AST@CppParser@CppSharp@@QAE@XZ" ) ]
@ -11020,7 +11290,7 @@ namespace CppSharp
@@ -11020,7 +11290,7 @@ namespace CppSharp
private static void * _ _ CopyValue ( TParamCommandComment . Internal native )
{
var ret = Marshal . AllocHGlobal ( 3 2 ) ;
var ret = Marshal . AllocHGlobal ( 3 6 ) ;
CppSharp . Parser . AST . TParamCommandComment . Internal . cctor_2 ( ret , new global :: System . IntPtr ( & native ) ) ;
return ret . ToPointer ( ) ;
}
@ -11044,7 +11314,7 @@ namespace CppSharp
@@ -11044,7 +11314,7 @@ namespace CppSharp
public TParamCommandComment ( )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 3 2 ) ;
_ _ Instance = Marshal . AllocHGlobal ( 3 6 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
Internal . ctor_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
@ -11053,7 +11323,7 @@ namespace CppSharp
@@ -11053,7 +11323,7 @@ namespace CppSharp
public TParamCommandComment ( CppSharp . Parser . AST . TParamCommandComment _ 0 )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 3 2 ) ;
_ _ Instance = Marshal . AllocHGlobal ( 3 6 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
if ( ReferenceEquals ( _ 0 , null ) )
@ -11217,7 +11487,7 @@ namespace CppSharp
@@ -11217,7 +11487,7 @@ namespace CppSharp
public unsafe partial class VerbatimBlockComment : CppSharp . Parser . AST . BlockCommandComment , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 32 )]
[StructLayout(LayoutKind.Explicit, Size = 36 )]
public new partial struct Internal
{
[FieldOffset(0)]
@ -11226,6 +11496,9 @@ namespace CppSharp
@@ -11226,6 +11496,9 @@ namespace CppSharp
[FieldOffset(4)]
public uint CommandId ;
[FieldOffset(8)]
public global :: System . IntPtr ParagraphComment ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0VerbatimBlockComment@AST@CppParser@CppSharp@@QAE@XZ" ) ]
@ -11274,7 +11547,7 @@ namespace CppSharp
@@ -11274,7 +11547,7 @@ namespace CppSharp
private static void * _ _ CopyValue ( VerbatimBlockComment . Internal native )
{
var ret = Marshal . AllocHGlobal ( 3 2 ) ;
var ret = Marshal . AllocHGlobal ( 3 6 ) ;
CppSharp . Parser . AST . VerbatimBlockComment . Internal . cctor_1 ( ret , new global :: System . IntPtr ( & native ) ) ;
return ret . ToPointer ( ) ;
}
@ -11298,7 +11571,7 @@ namespace CppSharp
@@ -11298,7 +11571,7 @@ namespace CppSharp
public VerbatimBlockComment ( )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 3 2 ) ;
_ _ Instance = Marshal . AllocHGlobal ( 3 6 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
Internal . ctor_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
@ -11307,7 +11580,7 @@ namespace CppSharp
@@ -11307,7 +11580,7 @@ namespace CppSharp
public VerbatimBlockComment ( CppSharp . Parser . AST . VerbatimBlockComment _ 0 )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 3 2 ) ;
_ _ Instance = Marshal . AllocHGlobal ( 3 6 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
if ( ReferenceEquals ( _ 0 , null ) )
@ -11361,7 +11634,7 @@ namespace CppSharp
@@ -11361,7 +11634,7 @@ namespace CppSharp
public unsafe partial class VerbatimLineComment : CppSharp . Parser . AST . BlockCommandComment , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 44 )]
[StructLayout(LayoutKind.Explicit, Size = 48 )]
public new partial struct Internal
{
[FieldOffset(0)]
@ -11370,6 +11643,9 @@ namespace CppSharp
@@ -11370,6 +11643,9 @@ namespace CppSharp
[FieldOffset(4)]
public uint CommandId ;
[FieldOffset(8)]
public global :: System . IntPtr ParagraphComment ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0VerbatimLineComment@AST@CppParser@CppSharp@@QAE@XZ" ) ]
@ -11408,7 +11684,7 @@ namespace CppSharp
@@ -11408,7 +11684,7 @@ namespace CppSharp
private static void * _ _ CopyValue ( VerbatimLineComment . Internal native )
{
var ret = Marshal . AllocHGlobal ( 4 4 ) ;
var ret = Marshal . AllocHGlobal ( 4 8 ) ;
CppSharp . Parser . AST . VerbatimLineComment . Internal . cctor_2 ( ret , new global :: System . IntPtr ( & native ) ) ;
return ret . ToPointer ( ) ;
}
@ -11432,7 +11708,7 @@ namespace CppSharp
@@ -11432,7 +11708,7 @@ namespace CppSharp
public VerbatimLineComment ( )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 4 4 ) ;
_ _ Instance = Marshal . AllocHGlobal ( 4 8 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
Internal . ctor_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
@ -11441,7 +11717,7 @@ namespace CppSharp
@@ -11441,7 +11717,7 @@ namespace CppSharp
public VerbatimLineComment ( CppSharp . Parser . AST . VerbatimLineComment _ 0 )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 4 4 ) ;
_ _ Instance = Marshal . AllocHGlobal ( 4 8 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
if ( ReferenceEquals ( _ 0 , null ) )
@ -11476,249 +11752,6 @@ namespace CppSharp
@@ -11476,249 +11752,6 @@ namespace CppSharp
}
}
public unsafe partial class InlineContentComment : CppSharp . Parser . AST . Comment , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 4)]
public new partial struct Internal
{
[FieldOffset(0)]
public CppSharp . Parser . AST . CommentKind Kind ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0InlineContentComment@AST@CppParser@CppSharp@@QAE@XZ" ) ]
internal static extern global :: System . IntPtr ctor_0 ( global :: System . IntPtr instance ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0InlineContentComment@AST@CppParser@CppSharp@@QAE@W4CommentKind@123@@Z" ) ]
internal static extern global :: System . IntPtr ctor_1 ( global :: System . IntPtr instance , CppSharp . Parser . AST . CommentKind Kind ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0InlineContentComment@AST@CppParser@CppSharp@@QAE@ABV0123@@Z" ) ]
internal static extern global :: System . IntPtr cctor_2 ( global :: System . IntPtr instance , global :: System . IntPtr _ 0 ) ;
}
public static new InlineContentComment _ _ CreateInstance ( global :: System . IntPtr native , bool skipVTables = false )
{
return new InlineContentComment ( native . ToPointer ( ) , skipVTables ) ;
}
public static InlineContentComment _ _ CreateInstance ( InlineContentComment . Internal native , bool skipVTables = false )
{
return new InlineContentComment ( native , skipVTables ) ;
}
private static void * _ _ CopyValue ( InlineContentComment . Internal native )
{
var ret = Marshal . AllocHGlobal ( 4 ) ;
* ( InlineContentComment . Internal * ) ret = native ;
return ret . ToPointer ( ) ;
}
private InlineContentComment ( InlineContentComment . Internal native , bool skipVTables = false )
: this ( _ _ CopyValue ( native ) , skipVTables )
{
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
}
protected InlineContentComment ( void * native , bool skipVTables = false )
: base ( ( void * ) null )
{
_ _ PointerAdjustment = 0 ;
if ( native = = null )
return ;
_ _ Instance = new global :: System . IntPtr ( native ) ;
}
public InlineContentComment ( )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 4 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
Internal . ctor_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
}
public InlineContentComment ( CppSharp . Parser . AST . CommentKind Kind )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 4 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
var arg0 = Kind ;
Internal . ctor_1 ( ( _ _ Instance + _ _ PointerAdjustment ) , arg0 ) ;
}
public InlineContentComment ( CppSharp . Parser . AST . InlineContentComment _ 0 )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 4 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
* ( ( InlineContentComment . Internal * ) _ _ Instance ) = * ( ( InlineContentComment . Internal * ) _ 0. _ _ Instance ) ;
}
}
public unsafe partial class ParagraphComment : CppSharp . Parser . AST . BlockContentComment , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 20)]
public new partial struct Internal
{
[FieldOffset(0)]
public CppSharp . Parser . AST . CommentKind Kind ;
[FieldOffset(4)]
public byte IsWhitespace ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0ParagraphComment@AST@CppParser@CppSharp@@QAE@XZ" ) ]
internal static extern global :: System . IntPtr ctor_0 ( global :: System . IntPtr instance ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0ParagraphComment@AST@CppParser@CppSharp@@QAE@ABV0123@@Z" ) ]
internal static extern global :: System . IntPtr cctor_1 ( global :: System . IntPtr instance , global :: System . IntPtr _ 0 ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??1ParagraphComment@AST@CppParser@CppSharp@@QAE@XZ" ) ]
internal static extern void dtor_0 ( global :: System . IntPtr instance , int delete ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "?getContent@ParagraphComment@AST@CppParser@CppSharp@@QAEPAVInlineContentComment@234@I@Z" ) ]
internal static extern global :: System . IntPtr getContent_0 ( global :: System . IntPtr instance , uint i ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "?addContent@ParagraphComment@AST@CppParser@CppSharp@@QAEXAAPAVInlineContentComment@234@@Z" ) ]
internal static extern void addContent_0 ( global :: System . IntPtr instance , global :: System . IntPtr s ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "?clearContent@ParagraphComment@AST@CppParser@CppSharp@@QAEXXZ" ) ]
internal static extern void clearContent_0 ( global :: System . IntPtr instance ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "?getContentCount@ParagraphComment@AST@CppParser@CppSharp@@QAEIXZ" ) ]
internal static extern uint getContentCount_0 ( global :: System . IntPtr instance ) ;
}
public static new ParagraphComment _ _ CreateInstance ( global :: System . IntPtr native , bool skipVTables = false )
{
return new ParagraphComment ( native . ToPointer ( ) , skipVTables ) ;
}
public static ParagraphComment _ _ CreateInstance ( ParagraphComment . Internal native , bool skipVTables = false )
{
return new ParagraphComment ( native , skipVTables ) ;
}
private static void * _ _ CopyValue ( ParagraphComment . Internal native )
{
var ret = Marshal . AllocHGlobal ( 2 0 ) ;
CppSharp . Parser . AST . ParagraphComment . Internal . cctor_1 ( ret , new global :: System . IntPtr ( & native ) ) ;
return ret . ToPointer ( ) ;
}
private ParagraphComment ( ParagraphComment . Internal native , bool skipVTables = false )
: this ( _ _ CopyValue ( native ) , skipVTables )
{
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
}
protected ParagraphComment ( void * native , bool skipVTables = false )
: base ( ( void * ) null )
{
_ _ PointerAdjustment = 0 ;
if ( native = = null )
return ;
_ _ Instance = new global :: System . IntPtr ( native ) ;
}
public ParagraphComment ( )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 2 0 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
Internal . ctor_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
}
public ParagraphComment ( CppSharp . Parser . AST . ParagraphComment _ 0 )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 2 0 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
if ( ReferenceEquals ( _ 0 , null ) )
throw new global :: System . ArgumentNullException ( "_0" , "Cannot be null because it is a C++ reference (&)." ) ;
var arg0 = _ 0. _ _ Instance ;
Internal . cctor_1 ( ( _ _ Instance + _ _ PointerAdjustment ) , arg0 ) ;
}
protected override void Dispose ( bool disposing )
{
CppSharp . Parser . AST . Comment _ _d ummy ;
NativeToManagedMap . TryRemove ( _ _ Instance , out _ _d ummy ) ;
Internal . dtor_0 ( ( _ _ Instance + _ _ PointerAdjustment ) , 0 ) ;
if ( _ _ ownsNativeInstance )
Marshal . FreeHGlobal ( _ _ Instance ) ;
}
public CppSharp . Parser . AST . InlineContentComment getContent ( uint i )
{
var _ _ ret = Internal . getContent_0 ( ( _ _ Instance + _ _ PointerAdjustment ) , i ) ;
CppSharp . Parser . AST . InlineContentComment _ _ result0 ;
if ( _ _ ret = = IntPtr . Zero ) _ _ result0 = null ;
else if ( CppSharp . Parser . AST . InlineContentComment . NativeToManagedMap . ContainsKey ( _ _ ret ) )
_ _ result0 = ( CppSharp . Parser . AST . InlineContentComment ) CppSharp . Parser . AST . InlineContentComment . NativeToManagedMap [ _ _ ret ] ;
else _ _ result0 = CppSharp . Parser . AST . InlineContentComment . _ _ CreateInstance ( _ _ ret ) ;
return _ _ result0 ;
}
public void addContent ( CppSharp . Parser . AST . InlineContentComment s )
{
if ( ReferenceEquals ( s , null ) )
throw new global :: System . ArgumentNullException ( "s" , "Cannot be null because it is a C++ reference (&)." ) ;
var arg0 = s . _ _ Instance ;
Internal . addContent_0 ( ( _ _ Instance + _ _ PointerAdjustment ) , arg0 ) ;
}
public void clearContent ( )
{
Internal . clearContent_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
}
public uint ContentCount
{
get
{
var _ _ ret = Internal . getContentCount_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
return _ _ ret ;
}
}
public bool IsWhitespace
{
get
{
return ( ( Internal * ) _ _ Instance ) - > IsWhitespace ! = 0 ;
}
set
{
( ( Internal * ) _ _ Instance ) - > IsWhitespace = ( byte ) ( value ? 1 : 0 ) ;
}
}
}
public unsafe partial class InlineCommandComment : CppSharp . Parser . AST . InlineContentComment , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 20)]