@@ -2647,6 +2647,137 @@ CppSharp::Parser::AST::AccessSpecifierDecl::AccessSpecifierDecl(CppSharp::Parser
2647
2647
NativePtr = new class ::CppSharp::CppParser::AST::AccessSpecifierDecl(__arg0);
2648
2648
}
2649
2649
2650
+ CppSharp::Parser::AST::DeclarationName::DeclarationName (class ::CppSharp::CppParser::AST::DeclarationName* native)
2651
+ : __ownsNativeInstance(false )
2652
+ {
2653
+ NativePtr = native;
2654
+ }
2655
+
2656
+ CppSharp::Parser::AST::DeclarationName^ CppSharp::Parser::AST::DeclarationName::__CreateInstance(::System::IntPtr native)
2657
+ {
2658
+ return gcnew ::CppSharp::Parser::AST::DeclarationName ((class ::CppSharp::CppParser::AST::DeclarationName*) native.ToPointer ());
2659
+ }
2660
+
2661
+ CppSharp::Parser::AST::DeclarationName::DeclarationName (class ::CppSharp::CppParser::AST::DeclarationName* native, bool ownNativeInstance)
2662
+ : __ownsNativeInstance(ownNativeInstance)
2663
+ {
2664
+ NativePtr = native;
2665
+ }
2666
+
2667
+ CppSharp::Parser::AST::DeclarationName^ CppSharp::Parser::AST::DeclarationName::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
2668
+ {
2669
+ return gcnew ::CppSharp::Parser::AST::DeclarationName ((class ::CppSharp::CppParser::AST::DeclarationName*) native.ToPointer (), __ownsNativeInstance);
2670
+ }
2671
+
2672
+ CppSharp::Parser::AST::DeclarationName::~DeclarationName ()
2673
+ {
2674
+ delete NativePtr;
2675
+ }
2676
+
2677
+ CppSharp::Parser::AST::DeclarationName::DeclarationName (CppSharp::Parser::AST::DeclarationName^ _0)
2678
+ {
2679
+ __ownsNativeInstance = true ;
2680
+ if (ReferenceEquals (_0, nullptr ))
2681
+ throw gcnew ::System::ArgumentNullException (" _0" , " Cannot be null because it is a C++ reference (&)." );
2682
+ auto &__arg0 = *(class ::CppSharp::CppParser::AST::DeclarationName*)_0->NativePtr ;
2683
+ NativePtr = new class ::CppSharp::CppParser::AST::DeclarationName(__arg0);
2684
+ }
2685
+
2686
+ CppSharp::Parser::AST::DeclarationName::DeclarationName ()
2687
+ {
2688
+ __ownsNativeInstance = true ;
2689
+ NativePtr = new class ::CppSharp::CppParser::AST::DeclarationName();
2690
+ }
2691
+
2692
+ ::System::IntPtr CppSharp::Parser::AST::DeclarationName::__Instance::get ()
2693
+ {
2694
+ return ::System::IntPtr (NativePtr);
2695
+ }
2696
+
2697
+ void CppSharp::Parser::AST::DeclarationName::__Instance::set (::System::IntPtr object)
2698
+ {
2699
+ NativePtr = (class ::CppSharp::CppParser::AST::DeclarationName*)object.ToPointer ();
2700
+ }
2701
+
2702
+ CppSharp::Parser::AST::DeclarationNameKind CppSharp::Parser::AST::DeclarationName::Kind::get ()
2703
+ {
2704
+ return (CppSharp::Parser::AST::DeclarationNameKind)NativePtr->kind ;
2705
+ }
2706
+
2707
+ void CppSharp::Parser::AST::DeclarationName::Kind::set (CppSharp::Parser::AST::DeclarationNameKind value)
2708
+ {
2709
+ ((class ::CppSharp::CppParser::AST::DeclarationName*)NativePtr)->kind = (enum ::CppSharp::CppParser::AST::DeclarationNameKind)value;
2710
+ }
2711
+
2712
+ ::System::String^ CppSharp::Parser::AST::DeclarationName::Identifier::get()
2713
+ {
2714
+ return clix::marshalString<clix::E_UTF8>(NativePtr->identifier );
2715
+ }
2716
+
2717
+ void CppSharp::Parser::AST::DeclarationName::Identifier::set (::System::String^ value)
2718
+ {
2719
+ ((class ::CppSharp::CppParser::AST::DeclarationName*)NativePtr)->identifier = clix::marshalString<clix::E_UTF8>(value);
2720
+ }
2721
+
2722
+ CppSharp::Parser::AST::Using::Using (class ::CppSharp::CppParser::AST::Using* native)
2723
+ : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native)
2724
+ {
2725
+ }
2726
+
2727
+ CppSharp::Parser::AST::Using^ CppSharp::Parser::AST::Using::__CreateInstance(::System::IntPtr native)
2728
+ {
2729
+ return gcnew ::CppSharp::Parser::AST::Using ((class ::CppSharp::CppParser::AST::Using*) native.ToPointer ());
2730
+ }
2731
+
2732
+ CppSharp::Parser::AST::Using::Using (class ::CppSharp::CppParser::AST::Using* native, bool ownNativeInstance)
2733
+ : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native, ownNativeInstance)
2734
+ {
2735
+ }
2736
+
2737
+ CppSharp::Parser::AST::Using^ CppSharp::Parser::AST::Using::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
2738
+ {
2739
+ return gcnew ::CppSharp::Parser::AST::Using ((class ::CppSharp::CppParser::AST::Using*) native.ToPointer (), __ownsNativeInstance);
2740
+ }
2741
+
2742
+ CppSharp::Parser::AST::Using::~Using ()
2743
+ {
2744
+ if (NativePtr)
2745
+ {
2746
+ auto __nativePtr = NativePtr;
2747
+ NativePtr = 0 ;
2748
+ delete (class ::CppSharp::CppParser::AST::Using*) __nativePtr;
2749
+ }
2750
+ }
2751
+
2752
+ CppSharp::Parser::AST::Using::Using ()
2753
+ : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
2754
+ {
2755
+ __ownsNativeInstance = true ;
2756
+ NativePtr = new class ::CppSharp::CppParser::AST::Using();
2757
+ }
2758
+
2759
+ CppSharp::Parser::AST::Using::Using (CppSharp::Parser::AST::Using^ _0)
2760
+ : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
2761
+ {
2762
+ __ownsNativeInstance = true ;
2763
+ if (ReferenceEquals (_0, nullptr ))
2764
+ throw gcnew ::System::ArgumentNullException (" _0" , " Cannot be null because it is a C++ reference (&)." );
2765
+ auto &__arg0 = *(class ::CppSharp::CppParser::AST::Using*)_0->NativePtr ;
2766
+ NativePtr = new class ::CppSharp::CppParser::AST::Using(__arg0);
2767
+ }
2768
+
2769
+ CppSharp::Parser::AST::DeclarationName^ CppSharp::Parser::AST::Using::Name::get()
2770
+ {
2771
+ return (&((class ::CppSharp::CppParser::AST::Using*)NativePtr)->name == nullptr ) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclarationName ((class ::CppSharp::CppParser::AST::DeclarationName*)&((class ::CppSharp::CppParser::AST::Using*)NativePtr)->name );
2772
+ }
2773
+
2774
+ void CppSharp::Parser::AST::Using::Name::set (CppSharp::Parser::AST::DeclarationName^ value)
2775
+ {
2776
+ if (ReferenceEquals (value, nullptr ))
2777
+ throw gcnew ::System::ArgumentNullException (" value" , " Cannot be null because it is passed by value." );
2778
+ ((class ::CppSharp::CppParser::AST::Using*)NativePtr)->name = *(class ::CppSharp::CppParser::AST::DeclarationName*)value->NativePtr ;
2779
+ }
2780
+
2650
2781
CppSharp::Parser::AST::VTableComponent::VTableComponent (struct ::CppSharp::CppParser::AST::VTableComponent* native)
2651
2782
: __ownsNativeInstance(false )
2652
2783
{
@@ -3500,6 +3631,26 @@ void CppSharp::Parser::AST::Class::ClearSpecifiers()
3500
3631
((class ::CppSharp::CppParser::AST::Class*)NativePtr)->clearSpecifiers ();
3501
3632
}
3502
3633
3634
+ CppSharp::Parser::AST::Using^ CppSharp::Parser::AST::Class::GetUsings(unsigned int i)
3635
+ {
3636
+ auto ___ret = ((class ::CppSharp::CppParser::AST::Class*)NativePtr)->getUsings (i);
3637
+ if (___ret == nullptr ) return nullptr ;
3638
+ return (___ret == nullptr ) ? nullptr : gcnew ::CppSharp::Parser::AST::Using ((class ::CppSharp::CppParser::AST::Using*)___ret);
3639
+ }
3640
+
3641
+ void CppSharp::Parser::AST::Class::AddUsings (CppSharp::Parser::AST::Using^ s)
3642
+ {
3643
+ if (ReferenceEquals (s, nullptr ))
3644
+ throw gcnew ::System::ArgumentNullException (" s" , " Cannot be null because it is a C++ reference (&)." );
3645
+ auto __arg0 = (class ::CppSharp::CppParser::AST::Using*)s->NativePtr ;
3646
+ ((class ::CppSharp::CppParser::AST::Class*)NativePtr)->addUsings (__arg0);
3647
+ }
3648
+
3649
+ void CppSharp::Parser::AST::Class::ClearUsings ()
3650
+ {
3651
+ ((class ::CppSharp::CppParser::AST::Class*)NativePtr)->clearUsings ();
3652
+ }
3653
+
3503
3654
CppSharp::Parser::AST::Class::Class (CppSharp::Parser::AST::Class^ _0)
3504
3655
: CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)nullptr)
3505
3656
{
@@ -3602,6 +3753,29 @@ void CppSharp::Parser::AST::Class::Specifiers::set(::System::Collections::Generi
3602
3753
((class ::CppSharp::CppParser::AST::Class*)NativePtr)->Specifiers = _tmpvalue;
3603
3754
}
3604
3755
3756
+ ::System::Collections::Generic::List<CppSharp::Parser::AST::Using^>^ CppSharp::Parser::AST::Class::Usings::get()
3757
+ {
3758
+ auto _tmp__Usings = gcnew ::System::Collections::Generic::List<CppSharp::Parser::AST::Using^>();
3759
+ auto __list0 = ((class ::CppSharp::CppParser::AST::Class*)NativePtr)->Usings ;
3760
+ for (auto _element : __list0)
3761
+ {
3762
+ auto _marshalElement = (_element == nullptr ) ? nullptr : gcnew ::CppSharp::Parser::AST::Using ((class ::CppSharp::CppParser::AST::Using*)_element);
3763
+ _tmp__Usings->Add (_marshalElement);
3764
+ }
3765
+ return _tmp__Usings;
3766
+ }
3767
+
3768
+ void CppSharp::Parser::AST::Class::Usings::set (::System::Collections::Generic::List<CppSharp::Parser::AST::Using^>^ value)
3769
+ {
3770
+ auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Using*>();
3771
+ for each (CppSharp::Parser::AST::Using^ _element in value)
3772
+ {
3773
+ auto _marshalElement = (class ::CppSharp::CppParser::AST::Using*)_element->NativePtr ;
3774
+ _tmpvalue.push_back (_marshalElement);
3775
+ }
3776
+ ((class ::CppSharp::CppParser::AST::Class*)NativePtr)->Usings = _tmpvalue;
3777
+ }
3778
+
3605
3779
bool CppSharp::Parser::AST::Class::IsPOD::get ()
3606
3780
{
3607
3781
return ((class ::CppSharp::CppParser::AST::Class*)NativePtr)->isPOD ;
@@ -3746,6 +3920,12 @@ unsigned int CppSharp::Parser::AST::Class::SpecifiersCount::get()
3746
3920
return ___ret;
3747
3921
}
3748
3922
3923
+ unsigned int CppSharp::Parser::AST::Class::UsingsCount::get ()
3924
+ {
3925
+ auto ___ret = ((class ::CppSharp::CppParser::AST::Class*)NativePtr)->getUsingsCount ();
3926
+ return ___ret;
3927
+ }
3928
+
3749
3929
CppSharp::Parser::AST::Template::Template (class ::CppSharp::CppParser::AST::Template* native)
3750
3930
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native)
3751
3931
{
0 commit comments