Tools and libraries to glue C/C++ APIs to high-level languages
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

5846 lines
242 KiB

#include "AST.h"
using namespace System;
using namespace System::Runtime::InteropServices;
CppSharp::Parser::AST::Type::Type(::CppSharp::CppParser::AST::Type* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::Type^ CppSharp::Parser::AST::Type::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Type::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Type^ CppSharp::Parser::AST::Type::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Type^ result = gcnew ::CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Type::~Type()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::Type::Type(CppSharp::Parser::AST::TypeKind kind)
{
__ownsNativeInstance = true;
auto arg0 = (::CppSharp::CppParser::AST::TypeKind)kind;
NativePtr = new ::CppSharp::CppParser::AST::Type(arg0);
}
CppSharp::Parser::AST::Type::Type(CppSharp::Parser::AST::Type^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Type*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Type(arg0);
}
System::IntPtr CppSharp::Parser::AST::Type::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::Type::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::Type*)object.ToPointer();
}
CppSharp::Parser::AST::TypeKind CppSharp::Parser::AST::Type::Kind::get()
{
return (CppSharp::Parser::AST::TypeKind)((::CppSharp::CppParser::AST::Type*)NativePtr)->Kind;
}
void CppSharp::Parser::AST::Type::Kind::set(CppSharp::Parser::AST::TypeKind value)
{
((::CppSharp::CppParser::AST::Type*)NativePtr)->Kind = (::CppSharp::CppParser::AST::TypeKind)value;
}
bool CppSharp::Parser::AST::Type::IsDependent::get()
{
return ((::CppSharp::CppParser::AST::Type*)NativePtr)->IsDependent;
}
void CppSharp::Parser::AST::Type::IsDependent::set(bool value)
{
((::CppSharp::CppParser::AST::Type*)NativePtr)->IsDependent = value;
}
CppSharp::Parser::AST::TypeQualifiers::TypeQualifiers(::CppSharp::CppParser::AST::TypeQualifiers* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::TypeQualifiers^ CppSharp::Parser::AST::TypeQualifiers::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::TypeQualifiers::__CreateInstance(native, false);
}
CppSharp::Parser::AST::TypeQualifiers^ CppSharp::Parser::AST::TypeQualifiers::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::TypeQualifiers^ result = gcnew ::CppSharp::Parser::AST::TypeQualifiers((::CppSharp::CppParser::AST::TypeQualifiers*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::TypeQualifiers::~TypeQualifiers()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::TypeQualifiers::TypeQualifiers(CppSharp::Parser::AST::TypeQualifiers^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TypeQualifiers*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::TypeQualifiers(arg0);
}
CppSharp::Parser::AST::TypeQualifiers::TypeQualifiers()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::TypeQualifiers();
}
System::IntPtr CppSharp::Parser::AST::TypeQualifiers::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::TypeQualifiers::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::TypeQualifiers*)object.ToPointer();
}
bool CppSharp::Parser::AST::TypeQualifiers::IsConst::get()
{
return ((::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->IsConst;
}
void CppSharp::Parser::AST::TypeQualifiers::IsConst::set(bool value)
{
((::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->IsConst = value;
}
bool CppSharp::Parser::AST::TypeQualifiers::IsVolatile::get()
{
return ((::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->IsVolatile;
}
void CppSharp::Parser::AST::TypeQualifiers::IsVolatile::set(bool value)
{
((::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->IsVolatile = value;
}
bool CppSharp::Parser::AST::TypeQualifiers::IsRestrict::get()
{
return ((::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->IsRestrict;
}
void CppSharp::Parser::AST::TypeQualifiers::IsRestrict::set(bool value)
{
((::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->IsRestrict = value;
}
CppSharp::Parser::AST::QualifiedType::QualifiedType(::CppSharp::CppParser::AST::QualifiedType* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::QualifiedType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::QualifiedType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::QualifiedType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::QualifiedType^ result = gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::QualifiedType::~QualifiedType()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::QualifiedType::QualifiedType()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::QualifiedType();
}
CppSharp::Parser::AST::QualifiedType::QualifiedType(CppSharp::Parser::AST::QualifiedType^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::QualifiedType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::QualifiedType(arg0);
}
System::IntPtr CppSharp::Parser::AST::QualifiedType::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::QualifiedType::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::QualifiedType*)object.ToPointer();
}
CppSharp::Parser::AST::Type^ CppSharp::Parser::AST::QualifiedType::Type::get()
{
return (((::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->Type == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)((::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->Type);
}
void CppSharp::Parser::AST::QualifiedType::Type::set(CppSharp::Parser::AST::Type^ value)
{
((::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->Type = (::CppSharp::CppParser::AST::Type*)value->NativePtr;
}
CppSharp::Parser::AST::TypeQualifiers^ CppSharp::Parser::AST::QualifiedType::Qualifiers::get()
{
return (&((::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->Qualifiers == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::TypeQualifiers((::CppSharp::CppParser::AST::TypeQualifiers*)&((::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->Qualifiers);
}
void CppSharp::Parser::AST::QualifiedType::Qualifiers::set(CppSharp::Parser::AST::TypeQualifiers^ value)
{
((::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->Qualifiers = *(::CppSharp::CppParser::AST::TypeQualifiers*)value->NativePtr;
}
CppSharp::Parser::AST::TagType::TagType(::CppSharp::CppParser::AST::TagType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::TagType^ CppSharp::Parser::AST::TagType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::TagType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::TagType^ CppSharp::Parser::AST::TagType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::TagType^ result = gcnew ::CppSharp::Parser::AST::TagType((::CppSharp::CppParser::AST::TagType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::TagType::~TagType()
{
}
CppSharp::Parser::AST::TagType::TagType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::TagType();
}
CppSharp::Parser::AST::TagType::TagType(CppSharp::Parser::AST::TagType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TagType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::TagType(arg0);
}
CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::TagType::Declaration::get()
{
return (((::CppSharp::CppParser::AST::TagType*)NativePtr)->Declaration == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::TagType*)NativePtr)->Declaration);
}
void CppSharp::Parser::AST::TagType::Declaration::set(CppSharp::Parser::AST::Declaration^ value)
{
((::CppSharp::CppParser::AST::TagType*)NativePtr)->Declaration = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr;
}
CppSharp::Parser::AST::ArrayType::ArrayType(::CppSharp::CppParser::AST::ArrayType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::ArrayType^ CppSharp::Parser::AST::ArrayType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::ArrayType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::ArrayType^ CppSharp::Parser::AST::ArrayType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::ArrayType^ result = gcnew ::CppSharp::Parser::AST::ArrayType((::CppSharp::CppParser::AST::ArrayType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::ArrayType::~ArrayType()
{
}
CppSharp::Parser::AST::ArrayType::ArrayType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::ArrayType();
}
CppSharp::Parser::AST::ArrayType::ArrayType(CppSharp::Parser::AST::ArrayType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::ArrayType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::ArrayType(arg0);
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::ArrayType::QualifiedType::get()
{
return (&((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->QualifiedType == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->QualifiedType);
}
void CppSharp::Parser::AST::ArrayType::QualifiedType::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->QualifiedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::ArrayType::ArraySize CppSharp::Parser::AST::ArrayType::SizeType::get()
{
return (CppSharp::Parser::AST::ArrayType::ArraySize)((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->SizeType;
}
void CppSharp::Parser::AST::ArrayType::SizeType::set(CppSharp::Parser::AST::ArrayType::ArraySize value)
{
((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->SizeType = (::CppSharp::CppParser::AST::ArrayType::ArraySize)value;
}
long CppSharp::Parser::AST::ArrayType::Size::get()
{
return ((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->Size;
}
void CppSharp::Parser::AST::ArrayType::Size::set(long value)
{
((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->Size = value;
}
long CppSharp::Parser::AST::ArrayType::ElementSize::get()
{
return ((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->ElementSize;
}
void CppSharp::Parser::AST::ArrayType::ElementSize::set(long value)
{
((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->ElementSize = value;
}
CppSharp::Parser::AST::FunctionType::FunctionType(::CppSharp::CppParser::AST::FunctionType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::FunctionType^ CppSharp::Parser::AST::FunctionType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::FunctionType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::FunctionType^ CppSharp::Parser::AST::FunctionType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::FunctionType^ result = gcnew ::CppSharp::Parser::AST::FunctionType((::CppSharp::CppParser::AST::FunctionType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::FunctionType::~FunctionType()
{
}
CppSharp::Parser::AST::FunctionType::FunctionType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::FunctionType();
}
CppSharp::Parser::AST::Parameter^ CppSharp::Parser::AST::FunctionType::getParameters(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->getParameters(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Parameter((::CppSharp::CppParser::AST::Parameter*)__ret);
}
void CppSharp::Parser::AST::FunctionType::addParameters(CppSharp::Parser::AST::Parameter^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::Parameter*)s->NativePtr;
((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->addParameters(arg0);
}
void CppSharp::Parser::AST::FunctionType::clearParameters()
{
((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->clearParameters();
}
CppSharp::Parser::AST::FunctionType::FunctionType(CppSharp::Parser::AST::FunctionType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::FunctionType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::FunctionType(arg0);
}
unsigned int CppSharp::Parser::AST::FunctionType::ParametersCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->getParametersCount();
return __ret;
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::FunctionType::ReturnType::get()
{
return (&((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->ReturnType == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->ReturnType);
}
void CppSharp::Parser::AST::FunctionType::ReturnType::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->ReturnType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::CallingConvention CppSharp::Parser::AST::FunctionType::CallingConvention::get()
{
return (CppSharp::Parser::AST::CallingConvention)((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->CallingConvention;
}
void CppSharp::Parser::AST::FunctionType::CallingConvention::set(CppSharp::Parser::AST::CallingConvention value)
{
((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->CallingConvention = (::CppSharp::CppParser::AST::CallingConvention)value;
}
CppSharp::Parser::AST::PointerType::PointerType(::CppSharp::CppParser::AST::PointerType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::PointerType^ CppSharp::Parser::AST::PointerType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::PointerType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::PointerType^ CppSharp::Parser::AST::PointerType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::PointerType^ result = gcnew ::CppSharp::Parser::AST::PointerType((::CppSharp::CppParser::AST::PointerType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::PointerType::~PointerType()
{
}
CppSharp::Parser::AST::PointerType::PointerType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::PointerType();
}
CppSharp::Parser::AST::PointerType::PointerType(CppSharp::Parser::AST::PointerType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::PointerType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::PointerType(arg0);
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::PointerType::QualifiedPointee::get()
{
return (&((::CppSharp::CppParser::AST::PointerType*)NativePtr)->QualifiedPointee == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::PointerType*)NativePtr)->QualifiedPointee);
}
void CppSharp::Parser::AST::PointerType::QualifiedPointee::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::PointerType*)NativePtr)->QualifiedPointee = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::PointerType::TypeModifier CppSharp::Parser::AST::PointerType::Modifier::get()
{
return (CppSharp::Parser::AST::PointerType::TypeModifier)((::CppSharp::CppParser::AST::PointerType*)NativePtr)->Modifier;
}
void CppSharp::Parser::AST::PointerType::Modifier::set(CppSharp::Parser::AST::PointerType::TypeModifier value)
{
((::CppSharp::CppParser::AST::PointerType*)NativePtr)->Modifier = (::CppSharp::CppParser::AST::PointerType::TypeModifier)value;
}
CppSharp::Parser::AST::MemberPointerType::MemberPointerType(::CppSharp::CppParser::AST::MemberPointerType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::MemberPointerType^ CppSharp::Parser::AST::MemberPointerType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::MemberPointerType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::MemberPointerType^ CppSharp::Parser::AST::MemberPointerType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::MemberPointerType^ result = gcnew ::CppSharp::Parser::AST::MemberPointerType((::CppSharp::CppParser::AST::MemberPointerType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::MemberPointerType::~MemberPointerType()
{
}
CppSharp::Parser::AST::MemberPointerType::MemberPointerType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::MemberPointerType();
}
CppSharp::Parser::AST::MemberPointerType::MemberPointerType(CppSharp::Parser::AST::MemberPointerType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::MemberPointerType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::MemberPointerType(arg0);
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::MemberPointerType::Pointee::get()
{
return (&((::CppSharp::CppParser::AST::MemberPointerType*)NativePtr)->Pointee == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::MemberPointerType*)NativePtr)->Pointee);
}
void CppSharp::Parser::AST::MemberPointerType::Pointee::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::MemberPointerType*)NativePtr)->Pointee = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::TypedefType::TypedefType(::CppSharp::CppParser::AST::TypedefType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::TypedefType^ CppSharp::Parser::AST::TypedefType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::TypedefType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::TypedefType^ CppSharp::Parser::AST::TypedefType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::TypedefType^ result = gcnew ::CppSharp::Parser::AST::TypedefType((::CppSharp::CppParser::AST::TypedefType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::TypedefType::~TypedefType()
{
}
CppSharp::Parser::AST::TypedefType::TypedefType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::TypedefType();
}
CppSharp::Parser::AST::TypedefType::TypedefType(CppSharp::Parser::AST::TypedefType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TypedefType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::TypedefType(arg0);
}
CppSharp::Parser::AST::TypedefDecl^ CppSharp::Parser::AST::TypedefType::Declaration::get()
{
return (((::CppSharp::CppParser::AST::TypedefType*)NativePtr)->Declaration == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::TypedefDecl((::CppSharp::CppParser::AST::TypedefDecl*)((::CppSharp::CppParser::AST::TypedefType*)NativePtr)->Declaration);
}
void CppSharp::Parser::AST::TypedefType::Declaration::set(CppSharp::Parser::AST::TypedefDecl^ value)
{
((::CppSharp::CppParser::AST::TypedefType*)NativePtr)->Declaration = (::CppSharp::CppParser::AST::TypedefDecl*)value->NativePtr;
}
CppSharp::Parser::AST::AttributedType::AttributedType(::CppSharp::CppParser::AST::AttributedType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::AttributedType^ CppSharp::Parser::AST::AttributedType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::AttributedType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::AttributedType^ CppSharp::Parser::AST::AttributedType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::AttributedType^ result = gcnew ::CppSharp::Parser::AST::AttributedType((::CppSharp::CppParser::AST::AttributedType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::AttributedType::~AttributedType()
{
}
CppSharp::Parser::AST::AttributedType::AttributedType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::AttributedType();
}
CppSharp::Parser::AST::AttributedType::AttributedType(CppSharp::Parser::AST::AttributedType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::AttributedType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::AttributedType(arg0);
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::AttributedType::Modified::get()
{
return (&((::CppSharp::CppParser::AST::AttributedType*)NativePtr)->Modified == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::AttributedType*)NativePtr)->Modified);
}
void CppSharp::Parser::AST::AttributedType::Modified::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::AttributedType*)NativePtr)->Modified = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::AttributedType::Equivalent::get()
{
return (&((::CppSharp::CppParser::AST::AttributedType*)NativePtr)->Equivalent == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::AttributedType*)NativePtr)->Equivalent);
}
void CppSharp::Parser::AST::AttributedType::Equivalent::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::AttributedType*)NativePtr)->Equivalent = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::DecayedType::DecayedType(::CppSharp::CppParser::AST::DecayedType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::DecayedType^ CppSharp::Parser::AST::DecayedType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::DecayedType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::DecayedType^ CppSharp::Parser::AST::DecayedType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::DecayedType^ result = gcnew ::CppSharp::Parser::AST::DecayedType((::CppSharp::CppParser::AST::DecayedType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::DecayedType::~DecayedType()
{
}
CppSharp::Parser::AST::DecayedType::DecayedType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::DecayedType();
}
CppSharp::Parser::AST::DecayedType::DecayedType(CppSharp::Parser::AST::DecayedType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::DecayedType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::DecayedType(arg0);
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::DecayedType::Decayed::get()
{
return (&((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->Decayed == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->Decayed);
}
void CppSharp::Parser::AST::DecayedType::Decayed::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->Decayed = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::DecayedType::Original::get()
{
return (&((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->Original == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->Original);
}
void CppSharp::Parser::AST::DecayedType::Original::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->Original = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::DecayedType::Pointee::get()
{
return (&((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->Pointee == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->Pointee);
}
void CppSharp::Parser::AST::DecayedType::Pointee::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->Pointee = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::TemplateArgument::TemplateArgument(::CppSharp::CppParser::AST::TemplateArgument* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::TemplateArgument::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::TemplateArgument::__CreateInstance(native, false);
}
CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::TemplateArgument::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::TemplateArgument^ result = gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::TemplateArgument::~TemplateArgument()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::TemplateArgument::TemplateArgument()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::TemplateArgument();
}
CppSharp::Parser::AST::TemplateArgument::TemplateArgument(CppSharp::Parser::AST::TemplateArgument^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TemplateArgument*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::TemplateArgument(arg0);
}
System::IntPtr CppSharp::Parser::AST::TemplateArgument::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::TemplateArgument::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::TemplateArgument*)object.ToPointer();
}
CppSharp::Parser::AST::TemplateArgument::ArgumentKind CppSharp::Parser::AST::TemplateArgument::Kind::get()
{
return (CppSharp::Parser::AST::TemplateArgument::ArgumentKind)((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->Kind;
}
void CppSharp::Parser::AST::TemplateArgument::Kind::set(CppSharp::Parser::AST::TemplateArgument::ArgumentKind value)
{
((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->Kind = (::CppSharp::CppParser::AST::TemplateArgument::ArgumentKind)value;
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::TemplateArgument::Type::get()
{
return (&((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->Type == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->Type);
}
void CppSharp::Parser::AST::TemplateArgument::Type::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->Type = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::TemplateArgument::Declaration::get()
{
return (((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->Declaration == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->Declaration);
}
void CppSharp::Parser::AST::TemplateArgument::Declaration::set(CppSharp::Parser::AST::Declaration^ value)
{
((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->Declaration = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr;
}
long CppSharp::Parser::AST::TemplateArgument::Integral::get()
{
return ((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->Integral;
}
void CppSharp::Parser::AST::TemplateArgument::Integral::set(long value)
{
((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->Integral = value;
}
CppSharp::Parser::AST::TemplateSpecializationType::TemplateSpecializationType(::CppSharp::CppParser::AST::TemplateSpecializationType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::TemplateSpecializationType^ CppSharp::Parser::AST::TemplateSpecializationType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::TemplateSpecializationType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::TemplateSpecializationType^ CppSharp::Parser::AST::TemplateSpecializationType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::TemplateSpecializationType^ result = gcnew ::CppSharp::Parser::AST::TemplateSpecializationType((::CppSharp::CppParser::AST::TemplateSpecializationType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::TemplateSpecializationType::~TemplateSpecializationType()
{
}
CppSharp::Parser::AST::TemplateSpecializationType::TemplateSpecializationType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::TemplateSpecializationType();
}
CppSharp::Parser::AST::TemplateSpecializationType::TemplateSpecializationType(CppSharp::Parser::AST::TemplateSpecializationType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TemplateSpecializationType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::TemplateSpecializationType(arg0);
}
CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::TemplateSpecializationType::getArguments(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->getArguments(i);
auto ____ret = new ::CppSharp::CppParser::AST::TemplateArgument(__ret);
return (____ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)____ret);
}
void CppSharp::Parser::AST::TemplateSpecializationType::addArguments(CppSharp::Parser::AST::TemplateArgument^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TemplateArgument*)s->NativePtr;
((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->addArguments(arg0);
}
void CppSharp::Parser::AST::TemplateSpecializationType::clearArguments()
{
((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->clearArguments();
}
unsigned int CppSharp::Parser::AST::TemplateSpecializationType::ArgumentsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->getArgumentsCount();
return __ret;
}
CppSharp::Parser::AST::Template^ CppSharp::Parser::AST::TemplateSpecializationType::Template::get()
{
return (((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->Template == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->Template);
}
void CppSharp::Parser::AST::TemplateSpecializationType::Template::set(CppSharp::Parser::AST::Template^ value)
{
((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->Template = (::CppSharp::CppParser::AST::Template*)value->NativePtr;
}
CppSharp::Parser::AST::Type^ CppSharp::Parser::AST::TemplateSpecializationType::Desugared::get()
{
return (((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->Desugared == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->Desugared);
}
void CppSharp::Parser::AST::TemplateSpecializationType::Desugared::set(CppSharp::Parser::AST::Type^ value)
{
((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->Desugared = (::CppSharp::CppParser::AST::Type*)value->NativePtr;
}
CppSharp::Parser::AST::TemplateParameter::TemplateParameter(::CppSharp::CppParser::AST::TemplateParameter* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::TemplateParameter^ CppSharp::Parser::AST::TemplateParameter::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::TemplateParameter::__CreateInstance(native, false);
}
CppSharp::Parser::AST::TemplateParameter^ CppSharp::Parser::AST::TemplateParameter::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::TemplateParameter^ result = gcnew ::CppSharp::Parser::AST::TemplateParameter((::CppSharp::CppParser::AST::TemplateParameter*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::TemplateParameter::~TemplateParameter()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::TemplateParameter::TemplateParameter()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::TemplateParameter();
}
CppSharp::Parser::AST::TemplateParameter::TemplateParameter(CppSharp::Parser::AST::TemplateParameter^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TemplateParameter*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::TemplateParameter(arg0);
}
bool CppSharp::Parser::AST::TemplateParameter::operator==(CppSharp::Parser::AST::TemplateParameter^ __op, CppSharp::Parser::AST::TemplateParameter^ param)
{
bool __opNull = ReferenceEquals(__op, nullptr);
bool paramNull = ReferenceEquals(param, nullptr);
if (__opNull || paramNull)
return __opNull && paramNull;
auto &arg0 = *(::CppSharp::CppParser::AST::TemplateParameter*)__op->NativePtr;
auto &arg1 = *(::CppSharp::CppParser::AST::TemplateParameter*)param->NativePtr;
auto __ret = arg0 == arg1;
return __ret;
}
bool CppSharp::Parser::AST::TemplateParameter::Equals(::System::Object^ obj)
{
return this == safe_cast<CppSharp::Parser::AST::TemplateParameter^>(obj);
}
System::IntPtr CppSharp::Parser::AST::TemplateParameter::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::TemplateParameter::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::TemplateParameter*)object.ToPointer();
}
System::String^ CppSharp::Parser::AST::TemplateParameter::Name::get()
{
auto __ret = ((::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->getName();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::TemplateParameter::Name::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->setName(arg0);
}
bool CppSharp::Parser::AST::TemplateParameter::IsTypeParameter::get()
{
return ((::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->IsTypeParameter;
}
void CppSharp::Parser::AST::TemplateParameter::IsTypeParameter::set(bool value)
{
((::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->IsTypeParameter = value;
}
CppSharp::Parser::AST::TemplateParameterType::TemplateParameterType(::CppSharp::CppParser::AST::TemplateParameterType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::TemplateParameterType^ CppSharp::Parser::AST::TemplateParameterType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::TemplateParameterType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::TemplateParameterType^ CppSharp::Parser::AST::TemplateParameterType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::TemplateParameterType^ result = gcnew ::CppSharp::Parser::AST::TemplateParameterType((::CppSharp::CppParser::AST::TemplateParameterType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::TemplateParameterType::~TemplateParameterType()
{
}
CppSharp::Parser::AST::TemplateParameterType::TemplateParameterType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::TemplateParameterType();
}
CppSharp::Parser::AST::TemplateParameterType::TemplateParameterType(CppSharp::Parser::AST::TemplateParameterType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TemplateParameterType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::TemplateParameterType(arg0);
}
CppSharp::Parser::AST::TemplateParameter^ CppSharp::Parser::AST::TemplateParameterType::Parameter::get()
{
return (&((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->Parameter == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::TemplateParameter((::CppSharp::CppParser::AST::TemplateParameter*)&((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->Parameter);
}
void CppSharp::Parser::AST::TemplateParameterType::Parameter::set(CppSharp::Parser::AST::TemplateParameter^ value)
{
((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->Parameter = *(::CppSharp::CppParser::AST::TemplateParameter*)value->NativePtr;
}
unsigned int CppSharp::Parser::AST::TemplateParameterType::Depth::get()
{
return ((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->Depth;
}
void CppSharp::Parser::AST::TemplateParameterType::Depth::set(unsigned int value)
{
((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->Depth = value;
}
unsigned int CppSharp::Parser::AST::TemplateParameterType::Index::get()
{
return ((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->Index;
}
void CppSharp::Parser::AST::TemplateParameterType::Index::set(unsigned int value)
{
((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->Index = value;
}
bool CppSharp::Parser::AST::TemplateParameterType::IsParameterPack::get()
{
return ((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->IsParameterPack;
}
void CppSharp::Parser::AST::TemplateParameterType::IsParameterPack::set(bool value)
{
((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->IsParameterPack = value;
}
CppSharp::Parser::AST::TemplateParameterSubstitutionType::TemplateParameterSubstitutionType(::CppSharp::CppParser::AST::TemplateParameterSubstitutionType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::TemplateParameterSubstitutionType^ CppSharp::Parser::AST::TemplateParameterSubstitutionType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::TemplateParameterSubstitutionType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::TemplateParameterSubstitutionType^ CppSharp::Parser::AST::TemplateParameterSubstitutionType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::TemplateParameterSubstitutionType^ result = gcnew ::CppSharp::Parser::AST::TemplateParameterSubstitutionType((::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::TemplateParameterSubstitutionType::~TemplateParameterSubstitutionType()
{
}
CppSharp::Parser::AST::TemplateParameterSubstitutionType::TemplateParameterSubstitutionType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType();
}
CppSharp::Parser::AST::TemplateParameterSubstitutionType::TemplateParameterSubstitutionType(CppSharp::Parser::AST::TemplateParameterSubstitutionType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType(arg0);
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::TemplateParameterSubstitutionType::Replacement::get()
{
return (&((::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->Replacement == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->Replacement);
}
void CppSharp::Parser::AST::TemplateParameterSubstitutionType::Replacement::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->Replacement = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::InjectedClassNameType::InjectedClassNameType(::CppSharp::CppParser::AST::InjectedClassNameType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::InjectedClassNameType^ CppSharp::Parser::AST::InjectedClassNameType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::InjectedClassNameType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::InjectedClassNameType^ CppSharp::Parser::AST::InjectedClassNameType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::InjectedClassNameType^ result = gcnew ::CppSharp::Parser::AST::InjectedClassNameType((::CppSharp::CppParser::AST::InjectedClassNameType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::InjectedClassNameType::~InjectedClassNameType()
{
}
CppSharp::Parser::AST::InjectedClassNameType::InjectedClassNameType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::InjectedClassNameType();
}
CppSharp::Parser::AST::InjectedClassNameType::InjectedClassNameType(CppSharp::Parser::AST::InjectedClassNameType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::InjectedClassNameType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::InjectedClassNameType(arg0);
}
CppSharp::Parser::AST::TemplateSpecializationType^ CppSharp::Parser::AST::InjectedClassNameType::TemplateSpecialization::get()
{
return (((::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->TemplateSpecialization == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::TemplateSpecializationType((::CppSharp::CppParser::AST::TemplateSpecializationType*)((::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->TemplateSpecialization);
}
void CppSharp::Parser::AST::InjectedClassNameType::TemplateSpecialization::set(CppSharp::Parser::AST::TemplateSpecializationType^ value)
{
((::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->TemplateSpecialization = (::CppSharp::CppParser::AST::TemplateSpecializationType*)value->NativePtr;
}
CppSharp::Parser::AST::Class^ CppSharp::Parser::AST::InjectedClassNameType::Class::get()
{
return (((::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->Class == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)((::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->Class);
}
void CppSharp::Parser::AST::InjectedClassNameType::Class::set(CppSharp::Parser::AST::Class^ value)
{
((::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->Class = (::CppSharp::CppParser::AST::Class*)value->NativePtr;
}
CppSharp::Parser::AST::DependentNameType::DependentNameType(::CppSharp::CppParser::AST::DependentNameType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::DependentNameType^ CppSharp::Parser::AST::DependentNameType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::DependentNameType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::DependentNameType^ CppSharp::Parser::AST::DependentNameType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::DependentNameType^ result = gcnew ::CppSharp::Parser::AST::DependentNameType((::CppSharp::CppParser::AST::DependentNameType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::DependentNameType::~DependentNameType()
{
}
CppSharp::Parser::AST::DependentNameType::DependentNameType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::DependentNameType();
}
CppSharp::Parser::AST::DependentNameType::DependentNameType(CppSharp::Parser::AST::DependentNameType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::DependentNameType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::DependentNameType(arg0);
}
CppSharp::Parser::AST::PackExpansionType::PackExpansionType(::CppSharp::CppParser::AST::PackExpansionType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::PackExpansionType^ CppSharp::Parser::AST::PackExpansionType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::PackExpansionType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::PackExpansionType^ CppSharp::Parser::AST::PackExpansionType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::PackExpansionType^ result = gcnew ::CppSharp::Parser::AST::PackExpansionType((::CppSharp::CppParser::AST::PackExpansionType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::PackExpansionType::~PackExpansionType()
{
}
CppSharp::Parser::AST::PackExpansionType::PackExpansionType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::PackExpansionType();
}
CppSharp::Parser::AST::PackExpansionType::PackExpansionType(CppSharp::Parser::AST::PackExpansionType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::PackExpansionType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::PackExpansionType(arg0);
}
CppSharp::Parser::AST::BuiltinType::BuiltinType(::CppSharp::CppParser::AST::BuiltinType* native)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native)
{
}
CppSharp::Parser::AST::BuiltinType^ CppSharp::Parser::AST::BuiltinType::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::BuiltinType::__CreateInstance(native, false);
}
CppSharp::Parser::AST::BuiltinType^ CppSharp::Parser::AST::BuiltinType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::BuiltinType^ result = gcnew ::CppSharp::Parser::AST::BuiltinType((::CppSharp::CppParser::AST::BuiltinType*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::BuiltinType::~BuiltinType()
{
}
CppSharp::Parser::AST::BuiltinType::BuiltinType()
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::BuiltinType();
}
CppSharp::Parser::AST::BuiltinType::BuiltinType(CppSharp::Parser::AST::BuiltinType^ _0)
: CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::BuiltinType*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::BuiltinType(arg0);
}
CppSharp::Parser::AST::PrimitiveType CppSharp::Parser::AST::BuiltinType::Type::get()
{
return (CppSharp::Parser::AST::PrimitiveType)((::CppSharp::CppParser::AST::BuiltinType*)NativePtr)->Type;
}
void CppSharp::Parser::AST::BuiltinType::Type::set(CppSharp::Parser::AST::PrimitiveType value)
{
((::CppSharp::CppParser::AST::BuiltinType*)NativePtr)->Type = (::CppSharp::CppParser::AST::PrimitiveType)value;
}
CppSharp::Parser::AST::VTableComponent::VTableComponent(::CppSharp::CppParser::AST::VTableComponent* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::VTableComponent^ CppSharp::Parser::AST::VTableComponent::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::VTableComponent::__CreateInstance(native, false);
}
CppSharp::Parser::AST::VTableComponent^ CppSharp::Parser::AST::VTableComponent::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::VTableComponent^ result = gcnew ::CppSharp::Parser::AST::VTableComponent((::CppSharp::CppParser::AST::VTableComponent*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::VTableComponent::~VTableComponent()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::VTableComponent::VTableComponent()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::VTableComponent();
}
CppSharp::Parser::AST::VTableComponent::VTableComponent(CppSharp::Parser::AST::VTableComponent^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::VTableComponent*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::VTableComponent(arg0);
}
System::IntPtr CppSharp::Parser::AST::VTableComponent::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::VTableComponent::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::VTableComponent*)object.ToPointer();
}
CppSharp::Parser::AST::VTableComponentKind CppSharp::Parser::AST::VTableComponent::Kind::get()
{
return (CppSharp::Parser::AST::VTableComponentKind)((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->Kind;
}
void CppSharp::Parser::AST::VTableComponent::Kind::set(CppSharp::Parser::AST::VTableComponentKind value)
{
((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->Kind = (::CppSharp::CppParser::AST::VTableComponentKind)value;
}
unsigned int CppSharp::Parser::AST::VTableComponent::Offset::get()
{
return ((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->Offset;
}
void CppSharp::Parser::AST::VTableComponent::Offset::set(unsigned int value)
{
((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->Offset = value;
}
CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::VTableComponent::Declaration::get()
{
return (((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->Declaration == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->Declaration);
}
void CppSharp::Parser::AST::VTableComponent::Declaration::set(CppSharp::Parser::AST::Declaration^ value)
{
((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->Declaration = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr;
}
CppSharp::Parser::AST::VTableLayout::VTableLayout(::CppSharp::CppParser::AST::VTableLayout* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::VTableLayout^ CppSharp::Parser::AST::VTableLayout::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::VTableLayout::__CreateInstance(native, false);
}
CppSharp::Parser::AST::VTableLayout^ CppSharp::Parser::AST::VTableLayout::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::VTableLayout^ result = gcnew ::CppSharp::Parser::AST::VTableLayout((::CppSharp::CppParser::AST::VTableLayout*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::VTableLayout::~VTableLayout()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::VTableLayout::VTableLayout()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::VTableLayout();
}
CppSharp::Parser::AST::VTableLayout::VTableLayout(CppSharp::Parser::AST::VTableLayout^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::VTableLayout*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::VTableLayout(arg0);
}
CppSharp::Parser::AST::VTableComponent^ CppSharp::Parser::AST::VTableLayout::getComponents(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->getComponents(i);
auto ____ret = new ::CppSharp::CppParser::AST::VTableComponent(__ret);
return (____ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::VTableComponent((::CppSharp::CppParser::AST::VTableComponent*)____ret);
}
void CppSharp::Parser::AST::VTableLayout::addComponents(CppSharp::Parser::AST::VTableComponent^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::VTableComponent*)s->NativePtr;
((::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->addComponents(arg0);
}
void CppSharp::Parser::AST::VTableLayout::clearComponents()
{
((::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->clearComponents();
}
System::IntPtr CppSharp::Parser::AST::VTableLayout::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::VTableLayout::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::VTableLayout*)object.ToPointer();
}
unsigned int CppSharp::Parser::AST::VTableLayout::ComponentsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->getComponentsCount();
return __ret;
}
CppSharp::Parser::AST::VFTableInfo::VFTableInfo(::CppSharp::CppParser::AST::VFTableInfo* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::VFTableInfo^ CppSharp::Parser::AST::VFTableInfo::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::VFTableInfo::__CreateInstance(native, false);
}
CppSharp::Parser::AST::VFTableInfo^ CppSharp::Parser::AST::VFTableInfo::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::VFTableInfo^ result = gcnew ::CppSharp::Parser::AST::VFTableInfo((::CppSharp::CppParser::AST::VFTableInfo*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::VFTableInfo::~VFTableInfo()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::VFTableInfo::VFTableInfo()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::VFTableInfo();
}
CppSharp::Parser::AST::VFTableInfo::VFTableInfo(CppSharp::Parser::AST::VFTableInfo^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::VFTableInfo*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::VFTableInfo(arg0);
}
System::IntPtr CppSharp::Parser::AST::VFTableInfo::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::VFTableInfo::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::VFTableInfo*)object.ToPointer();
}
unsigned long long CppSharp::Parser::AST::VFTableInfo::VBTableIndex::get()
{
return ((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VBTableIndex;
}
void CppSharp::Parser::AST::VFTableInfo::VBTableIndex::set(unsigned long long value)
{
((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VBTableIndex = (::uint64_t)value;
}
unsigned int CppSharp::Parser::AST::VFTableInfo::VFPtrOffset::get()
{
return ((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VFPtrOffset;
}
void CppSharp::Parser::AST::VFTableInfo::VFPtrOffset::set(unsigned int value)
{
((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VFPtrOffset = (::uint32_t)value;
}
unsigned int CppSharp::Parser::AST::VFTableInfo::VFPtrFullOffset::get()
{
return ((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VFPtrFullOffset;
}
void CppSharp::Parser::AST::VFTableInfo::VFPtrFullOffset::set(unsigned int value)
{
((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VFPtrFullOffset = (::uint32_t)value;
}
CppSharp::Parser::AST::VTableLayout^ CppSharp::Parser::AST::VFTableInfo::Layout::get()
{
return (&((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->Layout == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::VTableLayout((::CppSharp::CppParser::AST::VTableLayout*)&((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->Layout);
}
void CppSharp::Parser::AST::VFTableInfo::Layout::set(CppSharp::Parser::AST::VTableLayout^ value)
{
((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->Layout = *(::CppSharp::CppParser::AST::VTableLayout*)value->NativePtr;
}
CppSharp::Parser::AST::ClassLayout::ClassLayout(::CppSharp::CppParser::AST::ClassLayout* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::ClassLayout^ CppSharp::Parser::AST::ClassLayout::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::ClassLayout::__CreateInstance(native, false);
}
CppSharp::Parser::AST::ClassLayout^ CppSharp::Parser::AST::ClassLayout::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::ClassLayout^ result = gcnew ::CppSharp::Parser::AST::ClassLayout((::CppSharp::CppParser::AST::ClassLayout*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::ClassLayout::~ClassLayout()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::ClassLayout::ClassLayout()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::ClassLayout();
}
CppSharp::Parser::AST::VFTableInfo^ CppSharp::Parser::AST::ClassLayout::getVFTables(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getVFTables(i);
auto ____ret = new ::CppSharp::CppParser::AST::VFTableInfo(__ret);
return (____ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::VFTableInfo((::CppSharp::CppParser::AST::VFTableInfo*)____ret);
}
void CppSharp::Parser::AST::ClassLayout::addVFTables(CppSharp::Parser::AST::VFTableInfo^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::VFTableInfo*)s->NativePtr;
((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->addVFTables(arg0);
}
void CppSharp::Parser::AST::ClassLayout::clearVFTables()
{
((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->clearVFTables();
}
CppSharp::Parser::AST::ClassLayout::ClassLayout(CppSharp::Parser::AST::ClassLayout^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::ClassLayout*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::ClassLayout(arg0);
}
System::IntPtr CppSharp::Parser::AST::ClassLayout::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::ClassLayout::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::ClassLayout*)object.ToPointer();
}
unsigned int CppSharp::Parser::AST::ClassLayout::VFTablesCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getVFTablesCount();
return __ret;
}
CppSharp::Parser::AST::CppAbi CppSharp::Parser::AST::ClassLayout::ABI::get()
{
return (CppSharp::Parser::AST::CppAbi)((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->ABI;
}
void CppSharp::Parser::AST::ClassLayout::ABI::set(CppSharp::Parser::AST::CppAbi value)
{
((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->ABI = (::CppSharp::CppParser::AST::CppAbi)value;
}
CppSharp::Parser::AST::VTableLayout^ CppSharp::Parser::AST::ClassLayout::Layout::get()
{
return (&((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->Layout == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::VTableLayout((::CppSharp::CppParser::AST::VTableLayout*)&((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->Layout);
}
void CppSharp::Parser::AST::ClassLayout::Layout::set(CppSharp::Parser::AST::VTableLayout^ value)
{
((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->Layout = *(::CppSharp::CppParser::AST::VTableLayout*)value->NativePtr;
}
bool CppSharp::Parser::AST::ClassLayout::HasOwnVFPtr::get()
{
return ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->HasOwnVFPtr;
}
void CppSharp::Parser::AST::ClassLayout::HasOwnVFPtr::set(bool value)
{
((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->HasOwnVFPtr = value;
}
long CppSharp::Parser::AST::ClassLayout::VBPtrOffset::get()
{
return ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->VBPtrOffset;
}
void CppSharp::Parser::AST::ClassLayout::VBPtrOffset::set(long value)
{
((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->VBPtrOffset = value;
}
int CppSharp::Parser::AST::ClassLayout::Alignment::get()
{
return ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->Alignment;
}
void CppSharp::Parser::AST::ClassLayout::Alignment::set(int value)
{
((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->Alignment = value;
}
int CppSharp::Parser::AST::ClassLayout::Size::get()
{
return ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->Size;
}
void CppSharp::Parser::AST::ClassLayout::Size::set(int value)
{
((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->Size = value;
}
int CppSharp::Parser::AST::ClassLayout::DataSize::get()
{
return ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->DataSize;
}
void CppSharp::Parser::AST::ClassLayout::DataSize::set(int value)
{
((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->DataSize = value;
}
CppSharp::Parser::AST::Declaration::Declaration(::CppSharp::CppParser::AST::Declaration* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Declaration::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Declaration::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Declaration::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Declaration^ result = gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Declaration::~Declaration()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::Declaration::Declaration(CppSharp::Parser::AST::DeclarationKind kind)
{
__ownsNativeInstance = true;
auto arg0 = (::CppSharp::CppParser::AST::DeclarationKind)kind;
NativePtr = new ::CppSharp::CppParser::AST::Declaration(arg0);
}
CppSharp::Parser::AST::Declaration::Declaration(CppSharp::Parser::AST::Declaration^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Declaration*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Declaration(arg0);
}
CppSharp::Parser::AST::PreprocessedEntity^ CppSharp::Parser::AST::Declaration::getPreprocessedEntities(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->getPreprocessedEntities(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)__ret);
}
void CppSharp::Parser::AST::Declaration::addPreprocessedEntities(CppSharp::Parser::AST::PreprocessedEntity^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::PreprocessedEntity*)s->NativePtr;
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->addPreprocessedEntities(arg0);
}
void CppSharp::Parser::AST::Declaration::clearPreprocessedEntities()
{
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->clearPreprocessedEntities();
}
System::IntPtr CppSharp::Parser::AST::Declaration::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::Declaration::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::Declaration*)object.ToPointer();
}
System::String^ CppSharp::Parser::AST::Declaration::Name::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->getName();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::Declaration::Name::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->setName(arg0);
}
System::String^ CppSharp::Parser::AST::Declaration::DebugText::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->getDebugText();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::Declaration::DebugText::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->setDebugText(arg0);
}
unsigned int CppSharp::Parser::AST::Declaration::PreprocessedEntitiesCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->getPreprocessedEntitiesCount();
return __ret;
}
CppSharp::Parser::AST::DeclarationKind CppSharp::Parser::AST::Declaration::Kind::get()
{
return (CppSharp::Parser::AST::DeclarationKind)((::CppSharp::CppParser::AST::Declaration*)NativePtr)->Kind;
}
void CppSharp::Parser::AST::Declaration::Kind::set(CppSharp::Parser::AST::DeclarationKind value)
{
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->Kind = (::CppSharp::CppParser::AST::DeclarationKind)value;
}
CppSharp::Parser::AST::AccessSpecifier CppSharp::Parser::AST::Declaration::Access::get()
{
return (CppSharp::Parser::AST::AccessSpecifier)((::CppSharp::CppParser::AST::Declaration*)NativePtr)->Access;
}
void CppSharp::Parser::AST::Declaration::Access::set(CppSharp::Parser::AST::AccessSpecifier value)
{
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->Access = (::CppSharp::CppParser::AST::AccessSpecifier)value;
}
CppSharp::Parser::AST::DeclarationContext^ CppSharp::Parser::AST::Declaration::_Namespace::get()
{
return (((::CppSharp::CppParser::AST::Declaration*)NativePtr)->_Namespace == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)((::CppSharp::CppParser::AST::Declaration*)NativePtr)->_Namespace);
}
void CppSharp::Parser::AST::Declaration::_Namespace::set(CppSharp::Parser::AST::DeclarationContext^ value)
{
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->_Namespace = (::CppSharp::CppParser::AST::DeclarationContext*)value->NativePtr;
}
CppSharp::Parser::SourceLocation CppSharp::Parser::AST::Declaration::Location::get()
{
return CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::Declaration*)NativePtr)->Location);
}
void CppSharp::Parser::AST::Declaration::Location::set(CppSharp::Parser::SourceLocation value)
{
auto _marshal0 = ::CppSharp::CppParser::SourceLocation();
_marshal0.ID = value.ID;
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->Location = _marshal0;
}
int CppSharp::Parser::AST::Declaration::LineNumberStart::get()
{
return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->LineNumberStart;
}
void CppSharp::Parser::AST::Declaration::LineNumberStart::set(int value)
{
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->LineNumberStart = value;
}
int CppSharp::Parser::AST::Declaration::LineNumberEnd::get()
{
return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->LineNumberEnd;
}
void CppSharp::Parser::AST::Declaration::LineNumberEnd::set(int value)
{
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->LineNumberEnd = value;
}
CppSharp::Parser::AST::RawComment^ CppSharp::Parser::AST::Declaration::Comment::get()
{
return (((::CppSharp::CppParser::AST::Declaration*)NativePtr)->Comment == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::RawComment((::CppSharp::CppParser::AST::RawComment*)((::CppSharp::CppParser::AST::Declaration*)NativePtr)->Comment);
}
void CppSharp::Parser::AST::Declaration::Comment::set(CppSharp::Parser::AST::RawComment^ value)
{
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->Comment = (::CppSharp::CppParser::AST::RawComment*)value->NativePtr;
}
bool CppSharp::Parser::AST::Declaration::IsIncomplete::get()
{
return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->IsIncomplete;
}
void CppSharp::Parser::AST::Declaration::IsIncomplete::set(bool value)
{
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->IsIncomplete = value;
}
bool CppSharp::Parser::AST::Declaration::IsDependent::get()
{
return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->IsDependent;
}
void CppSharp::Parser::AST::Declaration::IsDependent::set(bool value)
{
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->IsDependent = value;
}
CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Declaration::CompleteDeclaration::get()
{
return (((::CppSharp::CppParser::AST::Declaration*)NativePtr)->CompleteDeclaration == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::Declaration*)NativePtr)->CompleteDeclaration);
}
void CppSharp::Parser::AST::Declaration::CompleteDeclaration::set(CppSharp::Parser::AST::Declaration^ value)
{
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->CompleteDeclaration = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr;
}
unsigned int CppSharp::Parser::AST::Declaration::DefinitionOrder::get()
{
return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->DefinitionOrder;
}
void CppSharp::Parser::AST::Declaration::DefinitionOrder::set(unsigned int value)
{
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->DefinitionOrder = value;
}
::System::IntPtr CppSharp::Parser::AST::Declaration::OriginalPtr::get()
{
return ::System::IntPtr(((::CppSharp::CppParser::AST::Declaration*)NativePtr)->OriginalPtr);
}
void CppSharp::Parser::AST::Declaration::OriginalPtr::set(::System::IntPtr value)
{
((::CppSharp::CppParser::AST::Declaration*)NativePtr)->OriginalPtr = (void*)value;
}
CppSharp::Parser::AST::DeclarationContext::DeclarationContext(::CppSharp::CppParser::AST::DeclarationContext* native)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native)
{
}
CppSharp::Parser::AST::DeclarationContext^ CppSharp::Parser::AST::DeclarationContext::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::DeclarationContext::__CreateInstance(native, false);
}
CppSharp::Parser::AST::DeclarationContext^ CppSharp::Parser::AST::DeclarationContext::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::DeclarationContext^ result = gcnew ::CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::DeclarationContext::~DeclarationContext()
{
}
CppSharp::Parser::AST::DeclarationContext::DeclarationContext(CppSharp::Parser::AST::DeclarationKind kind)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
auto arg0 = (::CppSharp::CppParser::AST::DeclarationKind)kind;
NativePtr = new ::CppSharp::CppParser::AST::DeclarationContext(arg0);
}
CppSharp::Parser::AST::Namespace^ CppSharp::Parser::AST::DeclarationContext::getNamespaces(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getNamespaces(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*)__ret);
}
void CppSharp::Parser::AST::DeclarationContext::addNamespaces(CppSharp::Parser::AST::Namespace^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::Namespace*)s->NativePtr;
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addNamespaces(arg0);
}
void CppSharp::Parser::AST::DeclarationContext::clearNamespaces()
{
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearNamespaces();
}
CppSharp::Parser::AST::Enumeration^ CppSharp::Parser::AST::DeclarationContext::getEnums(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getEnums(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Enumeration((::CppSharp::CppParser::AST::Enumeration*)__ret);
}
void CppSharp::Parser::AST::DeclarationContext::addEnums(CppSharp::Parser::AST::Enumeration^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::Enumeration*)s->NativePtr;
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addEnums(arg0);
}
void CppSharp::Parser::AST::DeclarationContext::clearEnums()
{
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearEnums();
}
CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::DeclarationContext::getFunctions(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getFunctions(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)__ret);
}
void CppSharp::Parser::AST::DeclarationContext::addFunctions(CppSharp::Parser::AST::Function^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::Function*)s->NativePtr;
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addFunctions(arg0);
}
void CppSharp::Parser::AST::DeclarationContext::clearFunctions()
{
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearFunctions();
}
CppSharp::Parser::AST::Class^ CppSharp::Parser::AST::DeclarationContext::getClasses(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getClasses(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)__ret);
}
void CppSharp::Parser::AST::DeclarationContext::addClasses(CppSharp::Parser::AST::Class^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::Class*)s->NativePtr;
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addClasses(arg0);
}
void CppSharp::Parser::AST::DeclarationContext::clearClasses()
{
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearClasses();
}
CppSharp::Parser::AST::Template^ CppSharp::Parser::AST::DeclarationContext::getTemplates(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTemplates(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)__ret);
}
void CppSharp::Parser::AST::DeclarationContext::addTemplates(CppSharp::Parser::AST::Template^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::Template*)s->NativePtr;
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addTemplates(arg0);
}
void CppSharp::Parser::AST::DeclarationContext::clearTemplates()
{
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearTemplates();
}
CppSharp::Parser::AST::TypedefDecl^ CppSharp::Parser::AST::DeclarationContext::getTypedefs(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTypedefs(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::TypedefDecl((::CppSharp::CppParser::AST::TypedefDecl*)__ret);
}
void CppSharp::Parser::AST::DeclarationContext::addTypedefs(CppSharp::Parser::AST::TypedefDecl^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::TypedefDecl*)s->NativePtr;
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addTypedefs(arg0);
}
void CppSharp::Parser::AST::DeclarationContext::clearTypedefs()
{
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearTypedefs();
}
CppSharp::Parser::AST::Variable^ CppSharp::Parser::AST::DeclarationContext::getVariables(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getVariables(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Variable((::CppSharp::CppParser::AST::Variable*)__ret);
}
void CppSharp::Parser::AST::DeclarationContext::addVariables(CppSharp::Parser::AST::Variable^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::Variable*)s->NativePtr;
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addVariables(arg0);
}
void CppSharp::Parser::AST::DeclarationContext::clearVariables()
{
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearVariables();
}
CppSharp::Parser::AST::Friend^ CppSharp::Parser::AST::DeclarationContext::getFriends(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getFriends(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Friend((::CppSharp::CppParser::AST::Friend*)__ret);
}
void CppSharp::Parser::AST::DeclarationContext::addFriends(CppSharp::Parser::AST::Friend^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::Friend*)s->NativePtr;
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addFriends(arg0);
}
void CppSharp::Parser::AST::DeclarationContext::clearFriends()
{
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearFriends();
}
CppSharp::Parser::AST::DeclarationContext::DeclarationContext(CppSharp::Parser::AST::DeclarationContext^ _0)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::DeclarationContext*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::DeclarationContext(arg0);
}
unsigned int CppSharp::Parser::AST::DeclarationContext::NamespacesCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getNamespacesCount();
return __ret;
}
unsigned int CppSharp::Parser::AST::DeclarationContext::EnumsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getEnumsCount();
return __ret;
}
unsigned int CppSharp::Parser::AST::DeclarationContext::FunctionsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getFunctionsCount();
return __ret;
}
unsigned int CppSharp::Parser::AST::DeclarationContext::ClassesCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getClassesCount();
return __ret;
}
unsigned int CppSharp::Parser::AST::DeclarationContext::TemplatesCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTemplatesCount();
return __ret;
}
unsigned int CppSharp::Parser::AST::DeclarationContext::TypedefsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTypedefsCount();
return __ret;
}
unsigned int CppSharp::Parser::AST::DeclarationContext::VariablesCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getVariablesCount();
return __ret;
}
unsigned int CppSharp::Parser::AST::DeclarationContext::FriendsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getFriendsCount();
return __ret;
}
bool CppSharp::Parser::AST::DeclarationContext::IsAnonymous::get()
{
return ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->IsAnonymous;
}
void CppSharp::Parser::AST::DeclarationContext::IsAnonymous::set(bool value)
{
((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->IsAnonymous = value;
}
CppSharp::Parser::AST::TypedefDecl::TypedefDecl(::CppSharp::CppParser::AST::TypedefDecl* native)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native)
{
}
CppSharp::Parser::AST::TypedefDecl^ CppSharp::Parser::AST::TypedefDecl::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::TypedefDecl::__CreateInstance(native, false);
}
CppSharp::Parser::AST::TypedefDecl^ CppSharp::Parser::AST::TypedefDecl::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::TypedefDecl^ result = gcnew ::CppSharp::Parser::AST::TypedefDecl((::CppSharp::CppParser::AST::TypedefDecl*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::TypedefDecl::~TypedefDecl()
{
}
CppSharp::Parser::AST::TypedefDecl::TypedefDecl()
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::TypedefDecl();
}
CppSharp::Parser::AST::TypedefDecl::TypedefDecl(CppSharp::Parser::AST::TypedefDecl^ _0)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TypedefDecl*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::TypedefDecl(arg0);
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::TypedefDecl::QualifiedType::get()
{
return (&((::CppSharp::CppParser::AST::TypedefDecl*)NativePtr)->QualifiedType == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::TypedefDecl*)NativePtr)->QualifiedType);
}
void CppSharp::Parser::AST::TypedefDecl::QualifiedType::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::TypedefDecl*)NativePtr)->QualifiedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::Friend::Friend(::CppSharp::CppParser::AST::Friend* native)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native)
{
}
CppSharp::Parser::AST::Friend^ CppSharp::Parser::AST::Friend::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Friend::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Friend^ CppSharp::Parser::AST::Friend::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Friend^ result = gcnew ::CppSharp::Parser::AST::Friend((::CppSharp::CppParser::AST::Friend*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Friend::~Friend()
{
}
CppSharp::Parser::AST::Friend::Friend()
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::Friend();
}
CppSharp::Parser::AST::Friend::Friend(CppSharp::Parser::AST::Friend^ _0)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Friend*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Friend(arg0);
}
CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Friend::Declaration::get()
{
return (((::CppSharp::CppParser::AST::Friend*)NativePtr)->Declaration == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::Friend*)NativePtr)->Declaration);
}
void CppSharp::Parser::AST::Friend::Declaration::set(CppSharp::Parser::AST::Declaration^ value)
{
((::CppSharp::CppParser::AST::Friend*)NativePtr)->Declaration = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr;
}
CppSharp::Parser::AST::Statement::Statement(::CppSharp::CppParser::AST::Statement* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::Statement^ CppSharp::Parser::AST::Statement::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Statement::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Statement^ CppSharp::Parser::AST::Statement::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Statement^ result = gcnew ::CppSharp::Parser::AST::Statement((::CppSharp::CppParser::AST::Statement*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Statement::~Statement()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::Statement::Statement(CppSharp::Parser::AST::Statement^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Statement*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Statement(arg0);
}
System::IntPtr CppSharp::Parser::AST::Statement::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::Statement::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::Statement*)object.ToPointer();
}
System::String^ CppSharp::Parser::AST::Statement::String::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Statement*)NativePtr)->getString();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::Statement::String::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::Statement*)NativePtr)->setString(arg0);
}
CppSharp::Parser::AST::StatementClass CppSharp::Parser::AST::Statement::Class::get()
{
return (CppSharp::Parser::AST::StatementClass)((::CppSharp::CppParser::AST::Statement*)NativePtr)->Class;
}
void CppSharp::Parser::AST::Statement::Class::set(CppSharp::Parser::AST::StatementClass value)
{
((::CppSharp::CppParser::AST::Statement*)NativePtr)->Class = (::CppSharp::CppParser::AST::StatementClass)value;
}
CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Statement::Decl::get()
{
return (((::CppSharp::CppParser::AST::Statement*)NativePtr)->Decl == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::Statement*)NativePtr)->Decl);
}
void CppSharp::Parser::AST::Statement::Decl::set(CppSharp::Parser::AST::Declaration^ value)
{
((::CppSharp::CppParser::AST::Statement*)NativePtr)->Decl = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr;
}
CppSharp::Parser::AST::Expression::Expression(::CppSharp::CppParser::AST::Expression* native)
: CppSharp::Parser::AST::Statement((::CppSharp::CppParser::AST::Statement*)native)
{
}
CppSharp::Parser::AST::Expression^ CppSharp::Parser::AST::Expression::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Expression::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Expression^ CppSharp::Parser::AST::Expression::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Expression^ result = gcnew ::CppSharp::Parser::AST::Expression((::CppSharp::CppParser::AST::Expression*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Expression::~Expression()
{
}
CppSharp::Parser::AST::Expression::Expression(CppSharp::Parser::AST::Expression^ _0)
: CppSharp::Parser::AST::Statement((::CppSharp::CppParser::AST::Statement*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Expression*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Expression(arg0);
}
CppSharp::Parser::AST::BinaryOperator::BinaryOperator(::CppSharp::CppParser::AST::BinaryOperator* native)
: CppSharp::Parser::AST::Expression((::CppSharp::CppParser::AST::Expression*)native)
{
}
CppSharp::Parser::AST::BinaryOperator^ CppSharp::Parser::AST::BinaryOperator::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::BinaryOperator::__CreateInstance(native, false);
}
CppSharp::Parser::AST::BinaryOperator^ CppSharp::Parser::AST::BinaryOperator::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::BinaryOperator^ result = gcnew ::CppSharp::Parser::AST::BinaryOperator((::CppSharp::CppParser::AST::BinaryOperator*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::BinaryOperator::~BinaryOperator()
{
}
CppSharp::Parser::AST::BinaryOperator::BinaryOperator(CppSharp::Parser::AST::BinaryOperator^ _0)
: CppSharp::Parser::AST::Expression((::CppSharp::CppParser::AST::Expression*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::BinaryOperator*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::BinaryOperator(arg0);
}
System::String^ CppSharp::Parser::AST::BinaryOperator::OpcodeStr::get()
{
auto __ret = ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->getOpcodeStr();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::BinaryOperator::OpcodeStr::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->setOpcodeStr(arg0);
}
CppSharp::Parser::AST::Expression^ CppSharp::Parser::AST::BinaryOperator::LHS::get()
{
return (((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->LHS == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Expression((::CppSharp::CppParser::AST::Expression*)((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->LHS);
}
void CppSharp::Parser::AST::BinaryOperator::LHS::set(CppSharp::Parser::AST::Expression^ value)
{
((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->LHS = (::CppSharp::CppParser::AST::Expression*)value->NativePtr;
}
CppSharp::Parser::AST::Expression^ CppSharp::Parser::AST::BinaryOperator::RHS::get()
{
return (((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->RHS == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Expression((::CppSharp::CppParser::AST::Expression*)((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->RHS);
}
void CppSharp::Parser::AST::BinaryOperator::RHS::set(CppSharp::Parser::AST::Expression^ value)
{
((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->RHS = (::CppSharp::CppParser::AST::Expression*)value->NativePtr;
}
CppSharp::Parser::AST::CallExpr::CallExpr(::CppSharp::CppParser::AST::CallExpr* native)
: CppSharp::Parser::AST::Expression((::CppSharp::CppParser::AST::Expression*)native)
{
}
CppSharp::Parser::AST::CallExpr^ CppSharp::Parser::AST::CallExpr::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::CallExpr::__CreateInstance(native, false);
}
CppSharp::Parser::AST::CallExpr^ CppSharp::Parser::AST::CallExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::CallExpr^ result = gcnew ::CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::CallExpr::~CallExpr()
{
}
CppSharp::Parser::AST::Expression^ CppSharp::Parser::AST::CallExpr::getArguments(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->getArguments(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Expression((::CppSharp::CppParser::AST::Expression*)__ret);
}
void CppSharp::Parser::AST::CallExpr::addArguments(CppSharp::Parser::AST::Expression^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::Expression*)s->NativePtr;
((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->addArguments(arg0);
}
void CppSharp::Parser::AST::CallExpr::clearArguments()
{
((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->clearArguments();
}
CppSharp::Parser::AST::CallExpr::CallExpr(CppSharp::Parser::AST::CallExpr^ _0)
: CppSharp::Parser::AST::Expression((::CppSharp::CppParser::AST::Expression*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::CallExpr*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::CallExpr(arg0);
}
unsigned int CppSharp::Parser::AST::CallExpr::ArgumentsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->getArgumentsCount();
return __ret;
}
CppSharp::Parser::AST::CXXConstructExpr::CXXConstructExpr(::CppSharp::CppParser::AST::CXXConstructExpr* native)
: CppSharp::Parser::AST::Expression((::CppSharp::CppParser::AST::Expression*)native)
{
}
CppSharp::Parser::AST::CXXConstructExpr^ CppSharp::Parser::AST::CXXConstructExpr::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::CXXConstructExpr::__CreateInstance(native, false);
}
CppSharp::Parser::AST::CXXConstructExpr^ CppSharp::Parser::AST::CXXConstructExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::CXXConstructExpr^ result = gcnew ::CppSharp::Parser::AST::CXXConstructExpr((::CppSharp::CppParser::AST::CXXConstructExpr*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::CXXConstructExpr::~CXXConstructExpr()
{
}
CppSharp::Parser::AST::Expression^ CppSharp::Parser::AST::CXXConstructExpr::getArguments(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->getArguments(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Expression((::CppSharp::CppParser::AST::Expression*)__ret);
}
void CppSharp::Parser::AST::CXXConstructExpr::addArguments(CppSharp::Parser::AST::Expression^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::Expression*)s->NativePtr;
((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->addArguments(arg0);
}
void CppSharp::Parser::AST::CXXConstructExpr::clearArguments()
{
((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->clearArguments();
}
CppSharp::Parser::AST::CXXConstructExpr::CXXConstructExpr(CppSharp::Parser::AST::CXXConstructExpr^ _0)
: CppSharp::Parser::AST::Expression((::CppSharp::CppParser::AST::Expression*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::CXXConstructExpr*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::CXXConstructExpr(arg0);
}
unsigned int CppSharp::Parser::AST::CXXConstructExpr::ArgumentsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->getArgumentsCount();
return __ret;
}
CppSharp::Parser::AST::Parameter::Parameter(::CppSharp::CppParser::AST::Parameter* native)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native)
{
}
CppSharp::Parser::AST::Parameter^ CppSharp::Parser::AST::Parameter::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Parameter::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Parameter^ CppSharp::Parser::AST::Parameter::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Parameter^ result = gcnew ::CppSharp::Parser::AST::Parameter((::CppSharp::CppParser::AST::Parameter*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Parameter::~Parameter()
{
}
CppSharp::Parser::AST::Parameter::Parameter()
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::Parameter();
}
CppSharp::Parser::AST::Parameter::Parameter(CppSharp::Parser::AST::Parameter^ _0)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Parameter*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Parameter(arg0);
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::Parameter::QualifiedType::get()
{
return (&((::CppSharp::CppParser::AST::Parameter*)NativePtr)->QualifiedType == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::Parameter*)NativePtr)->QualifiedType);
}
void CppSharp::Parser::AST::Parameter::QualifiedType::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::Parameter*)NativePtr)->QualifiedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
bool CppSharp::Parser::AST::Parameter::IsIndirect::get()
{
return ((::CppSharp::CppParser::AST::Parameter*)NativePtr)->IsIndirect;
}
void CppSharp::Parser::AST::Parameter::IsIndirect::set(bool value)
{
((::CppSharp::CppParser::AST::Parameter*)NativePtr)->IsIndirect = value;
}
bool CppSharp::Parser::AST::Parameter::HasDefaultValue::get()
{
return ((::CppSharp::CppParser::AST::Parameter*)NativePtr)->HasDefaultValue;
}
void CppSharp::Parser::AST::Parameter::HasDefaultValue::set(bool value)
{
((::CppSharp::CppParser::AST::Parameter*)NativePtr)->HasDefaultValue = value;
}
unsigned int CppSharp::Parser::AST::Parameter::Index::get()
{
return ((::CppSharp::CppParser::AST::Parameter*)NativePtr)->Index;
}
void CppSharp::Parser::AST::Parameter::Index::set(unsigned int value)
{
((::CppSharp::CppParser::AST::Parameter*)NativePtr)->Index = value;
}
CppSharp::Parser::AST::Expression^ CppSharp::Parser::AST::Parameter::DefaultArgument::get()
{
return (((::CppSharp::CppParser::AST::Parameter*)NativePtr)->DefaultArgument == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Expression((::CppSharp::CppParser::AST::Expression*)((::CppSharp::CppParser::AST::Parameter*)NativePtr)->DefaultArgument);
}
void CppSharp::Parser::AST::Parameter::DefaultArgument::set(CppSharp::Parser::AST::Expression^ value)
{
((::CppSharp::CppParser::AST::Parameter*)NativePtr)->DefaultArgument = (::CppSharp::CppParser::AST::Expression*)value->NativePtr;
}
CppSharp::Parser::AST::Function::Function(::CppSharp::CppParser::AST::Function* native)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native)
{
}
CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::Function::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Function::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::Function::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Function^ result = gcnew ::CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Function::~Function()
{
}
CppSharp::Parser::AST::Function::Function()
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::Function();
}
CppSharp::Parser::AST::Parameter^ CppSharp::Parser::AST::Function::getParameters(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::Function*)NativePtr)->getParameters(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Parameter((::CppSharp::CppParser::AST::Parameter*)__ret);
}
void CppSharp::Parser::AST::Function::addParameters(CppSharp::Parser::AST::Parameter^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::Parameter*)s->NativePtr;
((::CppSharp::CppParser::AST::Function*)NativePtr)->addParameters(arg0);
}
void CppSharp::Parser::AST::Function::clearParameters()
{
((::CppSharp::CppParser::AST::Function*)NativePtr)->clearParameters();
}
CppSharp::Parser::AST::Function::Function(CppSharp::Parser::AST::Function^ _0)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Function*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Function(arg0);
}
System::String^ CppSharp::Parser::AST::Function::Mangled::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Function*)NativePtr)->getMangled();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::Function::Mangled::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::Function*)NativePtr)->setMangled(arg0);
}
System::String^ CppSharp::Parser::AST::Function::Signature::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Function*)NativePtr)->getSignature();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::Function::Signature::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::Function*)NativePtr)->setSignature(arg0);
}
unsigned int CppSharp::Parser::AST::Function::ParametersCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Function*)NativePtr)->getParametersCount();
return __ret;
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::Function::ReturnType::get()
{
return (&((::CppSharp::CppParser::AST::Function*)NativePtr)->ReturnType == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::Function*)NativePtr)->ReturnType);
}
void CppSharp::Parser::AST::Function::ReturnType::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::Function*)NativePtr)->ReturnType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
bool CppSharp::Parser::AST::Function::IsReturnIndirect::get()
{
return ((::CppSharp::CppParser::AST::Function*)NativePtr)->IsReturnIndirect;
}
void CppSharp::Parser::AST::Function::IsReturnIndirect::set(bool value)
{
((::CppSharp::CppParser::AST::Function*)NativePtr)->IsReturnIndirect = value;
}
bool CppSharp::Parser::AST::Function::HasThisReturn::get()
{
return ((::CppSharp::CppParser::AST::Function*)NativePtr)->HasThisReturn;
}
void CppSharp::Parser::AST::Function::HasThisReturn::set(bool value)
{
((::CppSharp::CppParser::AST::Function*)NativePtr)->HasThisReturn = value;
}
bool CppSharp::Parser::AST::Function::IsVariadic::get()
{
return ((::CppSharp::CppParser::AST::Function*)NativePtr)->IsVariadic;
}
void CppSharp::Parser::AST::Function::IsVariadic::set(bool value)
{
((::CppSharp::CppParser::AST::Function*)NativePtr)->IsVariadic = value;
}
bool CppSharp::Parser::AST::Function::IsInline::get()
{
return ((::CppSharp::CppParser::AST::Function*)NativePtr)->IsInline;
}
void CppSharp::Parser::AST::Function::IsInline::set(bool value)
{
((::CppSharp::CppParser::AST::Function*)NativePtr)->IsInline = value;
}
bool CppSharp::Parser::AST::Function::IsPure::get()
{
return ((::CppSharp::CppParser::AST::Function*)NativePtr)->IsPure;
}
void CppSharp::Parser::AST::Function::IsPure::set(bool value)
{
((::CppSharp::CppParser::AST::Function*)NativePtr)->IsPure = value;
}
bool CppSharp::Parser::AST::Function::IsDeleted::get()
{
return ((::CppSharp::CppParser::AST::Function*)NativePtr)->IsDeleted;
}
void CppSharp::Parser::AST::Function::IsDeleted::set(bool value)
{
((::CppSharp::CppParser::AST::Function*)NativePtr)->IsDeleted = value;
}
CppSharp::Parser::AST::CXXOperatorKind CppSharp::Parser::AST::Function::OperatorKind::get()
{
return (CppSharp::Parser::AST::CXXOperatorKind)((::CppSharp::CppParser::AST::Function*)NativePtr)->OperatorKind;
}
void CppSharp::Parser::AST::Function::OperatorKind::set(CppSharp::Parser::AST::CXXOperatorKind value)
{
((::CppSharp::CppParser::AST::Function*)NativePtr)->OperatorKind = (::CppSharp::CppParser::AST::CXXOperatorKind)value;
}
CppSharp::Parser::AST::CallingConvention CppSharp::Parser::AST::Function::CallingConvention::get()
{
return (CppSharp::Parser::AST::CallingConvention)((::CppSharp::CppParser::AST::Function*)NativePtr)->CallingConvention;
}
void CppSharp::Parser::AST::Function::CallingConvention::set(CppSharp::Parser::AST::CallingConvention value)
{
((::CppSharp::CppParser::AST::Function*)NativePtr)->CallingConvention = (::CppSharp::CppParser::AST::CallingConvention)value;
}
CppSharp::Parser::AST::FunctionTemplateSpecialization^ CppSharp::Parser::AST::Function::SpecializationInfo::get()
{
return (((::CppSharp::CppParser::AST::Function*)NativePtr)->SpecializationInfo == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::FunctionTemplateSpecialization((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)((::CppSharp::CppParser::AST::Function*)NativePtr)->SpecializationInfo);
}
void CppSharp::Parser::AST::Function::SpecializationInfo::set(CppSharp::Parser::AST::FunctionTemplateSpecialization^ value)
{
((::CppSharp::CppParser::AST::Function*)NativePtr)->SpecializationInfo = (::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)value->NativePtr;
}
CppSharp::Parser::AST::Method::Method(::CppSharp::CppParser::AST::Method* native)
: CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)native)
{
}
CppSharp::Parser::AST::Method^ CppSharp::Parser::AST::Method::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Method::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Method^ CppSharp::Parser::AST::Method::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Method^ result = gcnew ::CppSharp::Parser::AST::Method((::CppSharp::CppParser::AST::Method*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Method::~Method()
{
}
CppSharp::Parser::AST::Method::Method()
: CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::Method();
}
CppSharp::Parser::AST::Method::Method(CppSharp::Parser::AST::Method^ _0)
: CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Method*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Method(arg0);
}
CppSharp::Parser::AST::AccessSpecifierDecl^ CppSharp::Parser::AST::Method::AccessDecl::get()
{
return (((::CppSharp::CppParser::AST::Method*)NativePtr)->AccessDecl == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::AccessSpecifierDecl((::CppSharp::CppParser::AST::AccessSpecifierDecl*)((::CppSharp::CppParser::AST::Method*)NativePtr)->AccessDecl);
}
void CppSharp::Parser::AST::Method::AccessDecl::set(CppSharp::Parser::AST::AccessSpecifierDecl^ value)
{
((::CppSharp::CppParser::AST::Method*)NativePtr)->AccessDecl = (::CppSharp::CppParser::AST::AccessSpecifierDecl*)value->NativePtr;
}
bool CppSharp::Parser::AST::Method::IsVirtual::get()
{
return ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsVirtual;
}
void CppSharp::Parser::AST::Method::IsVirtual::set(bool value)
{
((::CppSharp::CppParser::AST::Method*)NativePtr)->IsVirtual = value;
}
bool CppSharp::Parser::AST::Method::IsStatic::get()
{
return ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsStatic;
}
void CppSharp::Parser::AST::Method::IsStatic::set(bool value)
{
((::CppSharp::CppParser::AST::Method*)NativePtr)->IsStatic = value;
}
bool CppSharp::Parser::AST::Method::IsConst::get()
{
return ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsConst;
}
void CppSharp::Parser::AST::Method::IsConst::set(bool value)
{
((::CppSharp::CppParser::AST::Method*)NativePtr)->IsConst = value;
}
bool CppSharp::Parser::AST::Method::IsImplicit::get()
{
return ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsImplicit;
}
void CppSharp::Parser::AST::Method::IsImplicit::set(bool value)
{
((::CppSharp::CppParser::AST::Method*)NativePtr)->IsImplicit = value;
}
bool CppSharp::Parser::AST::Method::IsExplicit::get()
{
return ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsExplicit;
}
void CppSharp::Parser::AST::Method::IsExplicit::set(bool value)
{
((::CppSharp::CppParser::AST::Method*)NativePtr)->IsExplicit = value;
}
bool CppSharp::Parser::AST::Method::IsOverride::get()
{
return ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsOverride;
}
void CppSharp::Parser::AST::Method::IsOverride::set(bool value)
{
((::CppSharp::CppParser::AST::Method*)NativePtr)->IsOverride = value;
}
CppSharp::Parser::AST::CXXMethodKind CppSharp::Parser::AST::Method::MethodKind::get()
{
return (CppSharp::Parser::AST::CXXMethodKind)((::CppSharp::CppParser::AST::Method*)NativePtr)->MethodKind;
}
void CppSharp::Parser::AST::Method::MethodKind::set(CppSharp::Parser::AST::CXXMethodKind value)
{
((::CppSharp::CppParser::AST::Method*)NativePtr)->MethodKind = (::CppSharp::CppParser::AST::CXXMethodKind)value;
}
bool CppSharp::Parser::AST::Method::IsDefaultConstructor::get()
{
return ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsDefaultConstructor;
}
void CppSharp::Parser::AST::Method::IsDefaultConstructor::set(bool value)
{
((::CppSharp::CppParser::AST::Method*)NativePtr)->IsDefaultConstructor = value;
}
bool CppSharp::Parser::AST::Method::IsCopyConstructor::get()
{
return ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsCopyConstructor;
}
void CppSharp::Parser::AST::Method::IsCopyConstructor::set(bool value)
{
((::CppSharp::CppParser::AST::Method*)NativePtr)->IsCopyConstructor = value;
}
bool CppSharp::Parser::AST::Method::IsMoveConstructor::get()
{
return ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsMoveConstructor;
}
void CppSharp::Parser::AST::Method::IsMoveConstructor::set(bool value)
{
((::CppSharp::CppParser::AST::Method*)NativePtr)->IsMoveConstructor = value;
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::Method::ConversionType::get()
{
return (&((::CppSharp::CppParser::AST::Method*)NativePtr)->ConversionType == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::Method*)NativePtr)->ConversionType);
}
void CppSharp::Parser::AST::Method::ConversionType::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::Method*)NativePtr)->ConversionType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::Enumeration::Item::Item(::CppSharp::CppParser::AST::Enumeration::Item* native)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native)
{
}
CppSharp::Parser::AST::Enumeration::Item^ CppSharp::Parser::AST::Enumeration::Item::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Enumeration::Item::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Enumeration::Item^ CppSharp::Parser::AST::Enumeration::Item::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Enumeration::Item^ result = gcnew ::CppSharp::Parser::AST::Enumeration::Item((::CppSharp::CppParser::AST::Enumeration::Item*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Enumeration::Item::~Item()
{
}
CppSharp::Parser::AST::Enumeration::Item::Item()
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::Enumeration::Item();
}
CppSharp::Parser::AST::Enumeration::Item::Item(CppSharp::Parser::AST::Enumeration::Item^ _0)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Enumeration::Item*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Enumeration::Item(arg0);
}
System::String^ CppSharp::Parser::AST::Enumeration::Item::Expression::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Enumeration::Item*)NativePtr)->getExpression();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::Enumeration::Item::Expression::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::Enumeration::Item*)NativePtr)->setExpression(arg0);
}
unsigned long long CppSharp::Parser::AST::Enumeration::Item::Value::get()
{
return ((::CppSharp::CppParser::AST::Enumeration::Item*)NativePtr)->Value;
}
void CppSharp::Parser::AST::Enumeration::Item::Value::set(unsigned long long value)
{
((::CppSharp::CppParser::AST::Enumeration::Item*)NativePtr)->Value = (::uint64_t)value;
}
CppSharp::Parser::AST::Enumeration::Enumeration(::CppSharp::CppParser::AST::Enumeration* native)
: CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)native)
{
}
CppSharp::Parser::AST::Enumeration^ CppSharp::Parser::AST::Enumeration::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Enumeration::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Enumeration^ CppSharp::Parser::AST::Enumeration::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Enumeration^ result = gcnew ::CppSharp::Parser::AST::Enumeration((::CppSharp::CppParser::AST::Enumeration*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Enumeration::~Enumeration()
{
}
CppSharp::Parser::AST::Enumeration::Enumeration()
: CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::Enumeration();
}
CppSharp::Parser::AST::Enumeration::Item^ CppSharp::Parser::AST::Enumeration::getItems(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->getItems(i);
auto ____ret = new ::CppSharp::CppParser::AST::Enumeration::Item(__ret);
return (____ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Enumeration::Item((::CppSharp::CppParser::AST::Enumeration::Item*)____ret);
}
void CppSharp::Parser::AST::Enumeration::addItems(CppSharp::Parser::AST::Enumeration::Item^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Enumeration::Item*)s->NativePtr;
((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->addItems(arg0);
}
void CppSharp::Parser::AST::Enumeration::clearItems()
{
((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->clearItems();
}
CppSharp::Parser::AST::Enumeration::Enumeration(CppSharp::Parser::AST::Enumeration^ _0)
: CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Enumeration*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Enumeration(arg0);
}
unsigned int CppSharp::Parser::AST::Enumeration::ItemsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->getItemsCount();
return __ret;
}
CppSharp::Parser::AST::Enumeration::EnumModifiers CppSharp::Parser::AST::Enumeration::Modifiers::get()
{
return (CppSharp::Parser::AST::Enumeration::EnumModifiers)((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->Modifiers;
}
void CppSharp::Parser::AST::Enumeration::Modifiers::set(CppSharp::Parser::AST::Enumeration::EnumModifiers value)
{
((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->Modifiers = (::CppSharp::CppParser::AST::Enumeration::EnumModifiers)value;
}
CppSharp::Parser::AST::Type^ CppSharp::Parser::AST::Enumeration::Type::get()
{
return (((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->Type == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->Type);
}
void CppSharp::Parser::AST::Enumeration::Type::set(CppSharp::Parser::AST::Type^ value)
{
((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->Type = (::CppSharp::CppParser::AST::Type*)value->NativePtr;
}
CppSharp::Parser::AST::BuiltinType^ CppSharp::Parser::AST::Enumeration::BuiltinType::get()
{
return (((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->BuiltinType == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::BuiltinType((::CppSharp::CppParser::AST::BuiltinType*)((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->BuiltinType);
}
void CppSharp::Parser::AST::Enumeration::BuiltinType::set(CppSharp::Parser::AST::BuiltinType^ value)
{
((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->BuiltinType = (::CppSharp::CppParser::AST::BuiltinType*)value->NativePtr;
}
CppSharp::Parser::AST::Variable::Variable(::CppSharp::CppParser::AST::Variable* native)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native)
{
}
CppSharp::Parser::AST::Variable^ CppSharp::Parser::AST::Variable::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Variable::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Variable^ CppSharp::Parser::AST::Variable::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Variable^ result = gcnew ::CppSharp::Parser::AST::Variable((::CppSharp::CppParser::AST::Variable*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Variable::~Variable()
{
}
CppSharp::Parser::AST::Variable::Variable()
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::Variable();
}
CppSharp::Parser::AST::Variable::Variable(CppSharp::Parser::AST::Variable^ _0)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Variable*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Variable(arg0);
}
System::String^ CppSharp::Parser::AST::Variable::Mangled::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Variable*)NativePtr)->getMangled();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::Variable::Mangled::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::Variable*)NativePtr)->setMangled(arg0);
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::Variable::QualifiedType::get()
{
return (&((::CppSharp::CppParser::AST::Variable*)NativePtr)->QualifiedType == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::Variable*)NativePtr)->QualifiedType);
}
void CppSharp::Parser::AST::Variable::QualifiedType::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::Variable*)NativePtr)->QualifiedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
CppSharp::Parser::AST::BaseClassSpecifier::BaseClassSpecifier(::CppSharp::CppParser::AST::BaseClassSpecifier* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::BaseClassSpecifier^ CppSharp::Parser::AST::BaseClassSpecifier::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::BaseClassSpecifier::__CreateInstance(native, false);
}
CppSharp::Parser::AST::BaseClassSpecifier^ CppSharp::Parser::AST::BaseClassSpecifier::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::BaseClassSpecifier^ result = gcnew ::CppSharp::Parser::AST::BaseClassSpecifier((::CppSharp::CppParser::AST::BaseClassSpecifier*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::BaseClassSpecifier::~BaseClassSpecifier()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::BaseClassSpecifier::BaseClassSpecifier()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::BaseClassSpecifier();
}
CppSharp::Parser::AST::BaseClassSpecifier::BaseClassSpecifier(CppSharp::Parser::AST::BaseClassSpecifier^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::BaseClassSpecifier*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::BaseClassSpecifier(arg0);
}
System::IntPtr CppSharp::Parser::AST::BaseClassSpecifier::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::BaseClassSpecifier::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::BaseClassSpecifier*)object.ToPointer();
}
CppSharp::Parser::AST::AccessSpecifier CppSharp::Parser::AST::BaseClassSpecifier::Access::get()
{
return (CppSharp::Parser::AST::AccessSpecifier)((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->Access;
}
void CppSharp::Parser::AST::BaseClassSpecifier::Access::set(CppSharp::Parser::AST::AccessSpecifier value)
{
((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->Access = (::CppSharp::CppParser::AST::AccessSpecifier)value;
}
bool CppSharp::Parser::AST::BaseClassSpecifier::IsVirtual::get()
{
return ((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->IsVirtual;
}
void CppSharp::Parser::AST::BaseClassSpecifier::IsVirtual::set(bool value)
{
((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->IsVirtual = value;
}
CppSharp::Parser::AST::Type^ CppSharp::Parser::AST::BaseClassSpecifier::Type::get()
{
return (((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->Type == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->Type);
}
void CppSharp::Parser::AST::BaseClassSpecifier::Type::set(CppSharp::Parser::AST::Type^ value)
{
((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->Type = (::CppSharp::CppParser::AST::Type*)value->NativePtr;
}
int CppSharp::Parser::AST::BaseClassSpecifier::Offset::get()
{
return ((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->Offset;
}
void CppSharp::Parser::AST::BaseClassSpecifier::Offset::set(int value)
{
((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->Offset = value;
}
CppSharp::Parser::AST::Field::Field(::CppSharp::CppParser::AST::Field* native)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native)
{
}
CppSharp::Parser::AST::Field^ CppSharp::Parser::AST::Field::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Field::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Field^ CppSharp::Parser::AST::Field::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Field^ result = gcnew ::CppSharp::Parser::AST::Field((::CppSharp::CppParser::AST::Field*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Field::~Field()
{
}
CppSharp::Parser::AST::Field::Field()
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::Field();
}
CppSharp::Parser::AST::Field::Field(CppSharp::Parser::AST::Field^ _0)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Field*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Field(arg0);
}
CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::Field::QualifiedType::get()
{
return (&((::CppSharp::CppParser::AST::Field*)NativePtr)->QualifiedType == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::Field*)NativePtr)->QualifiedType);
}
void CppSharp::Parser::AST::Field::QualifiedType::set(CppSharp::Parser::AST::QualifiedType^ value)
{
((::CppSharp::CppParser::AST::Field*)NativePtr)->QualifiedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr;
}
unsigned int CppSharp::Parser::AST::Field::Offset::get()
{
return ((::CppSharp::CppParser::AST::Field*)NativePtr)->Offset;
}
void CppSharp::Parser::AST::Field::Offset::set(unsigned int value)
{
((::CppSharp::CppParser::AST::Field*)NativePtr)->Offset = value;
}
CppSharp::Parser::AST::Class^ CppSharp::Parser::AST::Field::Class::get()
{
return (((::CppSharp::CppParser::AST::Field*)NativePtr)->Class == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)((::CppSharp::CppParser::AST::Field*)NativePtr)->Class);
}
void CppSharp::Parser::AST::Field::Class::set(CppSharp::Parser::AST::Class^ value)
{
((::CppSharp::CppParser::AST::Field*)NativePtr)->Class = (::CppSharp::CppParser::AST::Class*)value->NativePtr;
}
bool CppSharp::Parser::AST::Field::IsBitField::get()
{
return ((::CppSharp::CppParser::AST::Field*)NativePtr)->IsBitField;
}
void CppSharp::Parser::AST::Field::IsBitField::set(bool value)
{
((::CppSharp::CppParser::AST::Field*)NativePtr)->IsBitField = value;
}
unsigned int CppSharp::Parser::AST::Field::BitWidth::get()
{
return ((::CppSharp::CppParser::AST::Field*)NativePtr)->BitWidth;
}
void CppSharp::Parser::AST::Field::BitWidth::set(unsigned int value)
{
((::CppSharp::CppParser::AST::Field*)NativePtr)->BitWidth = value;
}
CppSharp::Parser::AST::AccessSpecifierDecl::AccessSpecifierDecl(::CppSharp::CppParser::AST::AccessSpecifierDecl* native)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native)
{
}
CppSharp::Parser::AST::AccessSpecifierDecl^ CppSharp::Parser::AST::AccessSpecifierDecl::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::AccessSpecifierDecl::__CreateInstance(native, false);
}
CppSharp::Parser::AST::AccessSpecifierDecl^ CppSharp::Parser::AST::AccessSpecifierDecl::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::AccessSpecifierDecl^ result = gcnew ::CppSharp::Parser::AST::AccessSpecifierDecl((::CppSharp::CppParser::AST::AccessSpecifierDecl*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::AccessSpecifierDecl::~AccessSpecifierDecl()
{
}
CppSharp::Parser::AST::AccessSpecifierDecl::AccessSpecifierDecl()
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::AccessSpecifierDecl();
}
CppSharp::Parser::AST::AccessSpecifierDecl::AccessSpecifierDecl(CppSharp::Parser::AST::AccessSpecifierDecl^ _0)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::AccessSpecifierDecl*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::AccessSpecifierDecl(arg0);
}
CppSharp::Parser::AST::Class::Class(::CppSharp::CppParser::AST::Class* native)
: CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)native)
{
}
CppSharp::Parser::AST::Class^ CppSharp::Parser::AST::Class::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Class::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Class^ CppSharp::Parser::AST::Class::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Class^ result = gcnew ::CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Class::~Class()
{
}
CppSharp::Parser::AST::Class::Class()
: CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::Class();
}
CppSharp::Parser::AST::BaseClassSpecifier^ CppSharp::Parser::AST::Class::getBases(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getBases(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::BaseClassSpecifier((::CppSharp::CppParser::AST::BaseClassSpecifier*)__ret);
}
void CppSharp::Parser::AST::Class::addBases(CppSharp::Parser::AST::BaseClassSpecifier^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::BaseClassSpecifier*)s->NativePtr;
((::CppSharp::CppParser::AST::Class*)NativePtr)->addBases(arg0);
}
void CppSharp::Parser::AST::Class::clearBases()
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->clearBases();
}
CppSharp::Parser::AST::Field^ CppSharp::Parser::AST::Class::getFields(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getFields(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Field((::CppSharp::CppParser::AST::Field*)__ret);
}
void CppSharp::Parser::AST::Class::addFields(CppSharp::Parser::AST::Field^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::Field*)s->NativePtr;
((::CppSharp::CppParser::AST::Class*)NativePtr)->addFields(arg0);
}
void CppSharp::Parser::AST::Class::clearFields()
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->clearFields();
}
CppSharp::Parser::AST::Method^ CppSharp::Parser::AST::Class::getMethods(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getMethods(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Method((::CppSharp::CppParser::AST::Method*)__ret);
}
void CppSharp::Parser::AST::Class::addMethods(CppSharp::Parser::AST::Method^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::Method*)s->NativePtr;
((::CppSharp::CppParser::AST::Class*)NativePtr)->addMethods(arg0);
}
void CppSharp::Parser::AST::Class::clearMethods()
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->clearMethods();
}
CppSharp::Parser::AST::AccessSpecifierDecl^ CppSharp::Parser::AST::Class::getSpecifiers(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getSpecifiers(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::AccessSpecifierDecl((::CppSharp::CppParser::AST::AccessSpecifierDecl*)__ret);
}
void CppSharp::Parser::AST::Class::addSpecifiers(CppSharp::Parser::AST::AccessSpecifierDecl^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::AccessSpecifierDecl*)s->NativePtr;
((::CppSharp::CppParser::AST::Class*)NativePtr)->addSpecifiers(arg0);
}
void CppSharp::Parser::AST::Class::clearSpecifiers()
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->clearSpecifiers();
}
CppSharp::Parser::AST::Class::Class(CppSharp::Parser::AST::Class^ _0)
: CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Class*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Class(arg0);
}
unsigned int CppSharp::Parser::AST::Class::BasesCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getBasesCount();
return __ret;
}
unsigned int CppSharp::Parser::AST::Class::FieldsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getFieldsCount();
return __ret;
}
unsigned int CppSharp::Parser::AST::Class::MethodsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getMethodsCount();
return __ret;
}
unsigned int CppSharp::Parser::AST::Class::SpecifiersCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getSpecifiersCount();
return __ret;
}
bool CppSharp::Parser::AST::Class::IsPOD::get()
{
return ((::CppSharp::CppParser::AST::Class*)NativePtr)->IsPOD;
}
void CppSharp::Parser::AST::Class::IsPOD::set(bool value)
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->IsPOD = value;
}
bool CppSharp::Parser::AST::Class::IsAbstract::get()
{
return ((::CppSharp::CppParser::AST::Class*)NativePtr)->IsAbstract;
}
void CppSharp::Parser::AST::Class::IsAbstract::set(bool value)
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->IsAbstract = value;
}
bool CppSharp::Parser::AST::Class::IsUnion::get()
{
return ((::CppSharp::CppParser::AST::Class*)NativePtr)->IsUnion;
}
void CppSharp::Parser::AST::Class::IsUnion::set(bool value)
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->IsUnion = value;
}
bool CppSharp::Parser::AST::Class::IsDynamic::get()
{
return ((::CppSharp::CppParser::AST::Class*)NativePtr)->IsDynamic;
}
void CppSharp::Parser::AST::Class::IsDynamic::set(bool value)
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->IsDynamic = value;
}
bool CppSharp::Parser::AST::Class::IsPolymorphic::get()
{
return ((::CppSharp::CppParser::AST::Class*)NativePtr)->IsPolymorphic;
}
void CppSharp::Parser::AST::Class::IsPolymorphic::set(bool value)
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->IsPolymorphic = value;
}
bool CppSharp::Parser::AST::Class::HasNonTrivialDefaultConstructor::get()
{
return ((::CppSharp::CppParser::AST::Class*)NativePtr)->HasNonTrivialDefaultConstructor;
}
void CppSharp::Parser::AST::Class::HasNonTrivialDefaultConstructor::set(bool value)
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->HasNonTrivialDefaultConstructor = value;
}
bool CppSharp::Parser::AST::Class::HasNonTrivialCopyConstructor::get()
{
return ((::CppSharp::CppParser::AST::Class*)NativePtr)->HasNonTrivialCopyConstructor;
}
void CppSharp::Parser::AST::Class::HasNonTrivialCopyConstructor::set(bool value)
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->HasNonTrivialCopyConstructor = value;
}
bool CppSharp::Parser::AST::Class::HasNonTrivialDestructor::get()
{
return ((::CppSharp::CppParser::AST::Class*)NativePtr)->HasNonTrivialDestructor;
}
void CppSharp::Parser::AST::Class::HasNonTrivialDestructor::set(bool value)
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->HasNonTrivialDestructor = value;
}
bool CppSharp::Parser::AST::Class::IsExternCContext::get()
{
return ((::CppSharp::CppParser::AST::Class*)NativePtr)->IsExternCContext;
}
void CppSharp::Parser::AST::Class::IsExternCContext::set(bool value)
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->IsExternCContext = value;
}
CppSharp::Parser::AST::ClassLayout^ CppSharp::Parser::AST::Class::Layout::get()
{
return (((::CppSharp::CppParser::AST::Class*)NativePtr)->Layout == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::ClassLayout((::CppSharp::CppParser::AST::ClassLayout*)((::CppSharp::CppParser::AST::Class*)NativePtr)->Layout);
}
void CppSharp::Parser::AST::Class::Layout::set(CppSharp::Parser::AST::ClassLayout^ value)
{
((::CppSharp::CppParser::AST::Class*)NativePtr)->Layout = (::CppSharp::CppParser::AST::ClassLayout*)value->NativePtr;
}
CppSharp::Parser::AST::Template::Template(::CppSharp::CppParser::AST::Template* native)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native)
{
}
CppSharp::Parser::AST::Template^ CppSharp::Parser::AST::Template::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Template::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Template^ CppSharp::Parser::AST::Template::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Template^ result = gcnew ::CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Template::~Template()
{
}
CppSharp::Parser::AST::Template::Template(CppSharp::Parser::AST::DeclarationKind kind)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
auto arg0 = (::CppSharp::CppParser::AST::DeclarationKind)kind;
NativePtr = new ::CppSharp::CppParser::AST::Template(arg0);
}
CppSharp::Parser::AST::Template::Template()
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::Template();
}
CppSharp::Parser::AST::TemplateParameter^ CppSharp::Parser::AST::Template::getParameters(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::Template*)NativePtr)->getParameters(i);
auto ____ret = new ::CppSharp::CppParser::AST::TemplateParameter(__ret);
return (____ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::TemplateParameter((::CppSharp::CppParser::AST::TemplateParameter*)____ret);
}
void CppSharp::Parser::AST::Template::addParameters(CppSharp::Parser::AST::TemplateParameter^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TemplateParameter*)s->NativePtr;
((::CppSharp::CppParser::AST::Template*)NativePtr)->addParameters(arg0);
}
void CppSharp::Parser::AST::Template::clearParameters()
{
((::CppSharp::CppParser::AST::Template*)NativePtr)->clearParameters();
}
CppSharp::Parser::AST::Template::Template(CppSharp::Parser::AST::Template^ _0)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Template*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Template(arg0);
}
unsigned int CppSharp::Parser::AST::Template::ParametersCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::Template*)NativePtr)->getParametersCount();
return __ret;
}
CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Template::TemplatedDecl::get()
{
return (((::CppSharp::CppParser::AST::Template*)NativePtr)->TemplatedDecl == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::Template*)NativePtr)->TemplatedDecl);
}
void CppSharp::Parser::AST::Template::TemplatedDecl::set(CppSharp::Parser::AST::Declaration^ value)
{
((::CppSharp::CppParser::AST::Template*)NativePtr)->TemplatedDecl = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr;
}
CppSharp::Parser::AST::ClassTemplate::ClassTemplate(::CppSharp::CppParser::AST::ClassTemplate* native)
: CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)native)
{
}
CppSharp::Parser::AST::ClassTemplate^ CppSharp::Parser::AST::ClassTemplate::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::ClassTemplate::__CreateInstance(native, false);
}
CppSharp::Parser::AST::ClassTemplate^ CppSharp::Parser::AST::ClassTemplate::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::ClassTemplate^ result = gcnew ::CppSharp::Parser::AST::ClassTemplate((::CppSharp::CppParser::AST::ClassTemplate*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::ClassTemplate::~ClassTemplate()
{
}
CppSharp::Parser::AST::ClassTemplate::ClassTemplate()
: CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::ClassTemplate();
}
CppSharp::Parser::AST::ClassTemplateSpecialization^ CppSharp::Parser::AST::ClassTemplate::getSpecializations(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->getSpecializations(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::ClassTemplateSpecialization((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)__ret);
}
void CppSharp::Parser::AST::ClassTemplate::addSpecializations(CppSharp::Parser::AST::ClassTemplateSpecialization^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::ClassTemplateSpecialization*)s->NativePtr;
((::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->addSpecializations(arg0);
}
void CppSharp::Parser::AST::ClassTemplate::clearSpecializations()
{
((::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->clearSpecializations();
}
CppSharp::Parser::AST::ClassTemplate::ClassTemplate(CppSharp::Parser::AST::ClassTemplate^ _0)
: CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::ClassTemplate*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::ClassTemplate(arg0);
}
unsigned int CppSharp::Parser::AST::ClassTemplate::SpecializationsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->getSpecializationsCount();
return __ret;
}
CppSharp::Parser::AST::ClassTemplateSpecialization::ClassTemplateSpecialization(::CppSharp::CppParser::AST::ClassTemplateSpecialization* native)
: CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)native)
{
}
CppSharp::Parser::AST::ClassTemplateSpecialization^ CppSharp::Parser::AST::ClassTemplateSpecialization::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::ClassTemplateSpecialization::__CreateInstance(native, false);
}
CppSharp::Parser::AST::ClassTemplateSpecialization^ CppSharp::Parser::AST::ClassTemplateSpecialization::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::ClassTemplateSpecialization^ result = gcnew ::CppSharp::Parser::AST::ClassTemplateSpecialization((::CppSharp::CppParser::AST::ClassTemplateSpecialization*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::ClassTemplateSpecialization::~ClassTemplateSpecialization()
{
}
CppSharp::Parser::AST::ClassTemplateSpecialization::ClassTemplateSpecialization()
: CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::ClassTemplateSpecialization();
}
CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::ClassTemplateSpecialization::getArguments(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->getArguments(i);
auto ____ret = new ::CppSharp::CppParser::AST::TemplateArgument(__ret);
return (____ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)____ret);
}
void CppSharp::Parser::AST::ClassTemplateSpecialization::addArguments(CppSharp::Parser::AST::TemplateArgument^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TemplateArgument*)s->NativePtr;
((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->addArguments(arg0);
}
void CppSharp::Parser::AST::ClassTemplateSpecialization::clearArguments()
{
((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->clearArguments();
}
CppSharp::Parser::AST::ClassTemplateSpecialization::ClassTemplateSpecialization(CppSharp::Parser::AST::ClassTemplateSpecialization^ _0)
: CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::ClassTemplateSpecialization*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::ClassTemplateSpecialization(arg0);
}
unsigned int CppSharp::Parser::AST::ClassTemplateSpecialization::ArgumentsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->getArgumentsCount();
return __ret;
}
CppSharp::Parser::AST::ClassTemplate^ CppSharp::Parser::AST::ClassTemplateSpecialization::TemplatedDecl::get()
{
return (((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->TemplatedDecl == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::ClassTemplate((::CppSharp::CppParser::AST::ClassTemplate*)((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->TemplatedDecl);
}
void CppSharp::Parser::AST::ClassTemplateSpecialization::TemplatedDecl::set(CppSharp::Parser::AST::ClassTemplate^ value)
{
((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->TemplatedDecl = (::CppSharp::CppParser::AST::ClassTemplate*)value->NativePtr;
}
CppSharp::Parser::AST::TemplateSpecializationKind CppSharp::Parser::AST::ClassTemplateSpecialization::SpecializationKind::get()
{
return (CppSharp::Parser::AST::TemplateSpecializationKind)((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->SpecializationKind;
}
void CppSharp::Parser::AST::ClassTemplateSpecialization::SpecializationKind::set(CppSharp::Parser::AST::TemplateSpecializationKind value)
{
((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->SpecializationKind = (::CppSharp::CppParser::AST::TemplateSpecializationKind)value;
}
CppSharp::Parser::AST::ClassTemplatePartialSpecialization::ClassTemplatePartialSpecialization(::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization* native)
: CppSharp::Parser::AST::ClassTemplateSpecialization((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)native)
{
}
CppSharp::Parser::AST::ClassTemplatePartialSpecialization^ CppSharp::Parser::AST::ClassTemplatePartialSpecialization::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::ClassTemplatePartialSpecialization::__CreateInstance(native, false);
}
CppSharp::Parser::AST::ClassTemplatePartialSpecialization^ CppSharp::Parser::AST::ClassTemplatePartialSpecialization::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::ClassTemplatePartialSpecialization^ result = gcnew ::CppSharp::Parser::AST::ClassTemplatePartialSpecialization((::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::ClassTemplatePartialSpecialization::~ClassTemplatePartialSpecialization()
{
}
CppSharp::Parser::AST::ClassTemplatePartialSpecialization::ClassTemplatePartialSpecialization()
: CppSharp::Parser::AST::ClassTemplateSpecialization((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization();
}
CppSharp::Parser::AST::ClassTemplatePartialSpecialization::ClassTemplatePartialSpecialization(CppSharp::Parser::AST::ClassTemplatePartialSpecialization^ _0)
: CppSharp::Parser::AST::ClassTemplateSpecialization((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization(arg0);
}
CppSharp::Parser::AST::FunctionTemplate::FunctionTemplate(::CppSharp::CppParser::AST::FunctionTemplate* native)
: CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)native)
{
}
CppSharp::Parser::AST::FunctionTemplate^ CppSharp::Parser::AST::FunctionTemplate::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::FunctionTemplate::__CreateInstance(native, false);
}
CppSharp::Parser::AST::FunctionTemplate^ CppSharp::Parser::AST::FunctionTemplate::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::FunctionTemplate^ result = gcnew ::CppSharp::Parser::AST::FunctionTemplate((::CppSharp::CppParser::AST::FunctionTemplate*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::FunctionTemplate::~FunctionTemplate()
{
}
CppSharp::Parser::AST::FunctionTemplate::FunctionTemplate()
: CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::FunctionTemplate();
}
CppSharp::Parser::AST::FunctionTemplateSpecialization^ CppSharp::Parser::AST::FunctionTemplate::getSpecializations(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->getSpecializations(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::FunctionTemplateSpecialization((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)__ret);
}
void CppSharp::Parser::AST::FunctionTemplate::addSpecializations(CppSharp::Parser::AST::FunctionTemplateSpecialization^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)s->NativePtr;
((::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->addSpecializations(arg0);
}
void CppSharp::Parser::AST::FunctionTemplate::clearSpecializations()
{
((::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->clearSpecializations();
}
CppSharp::Parser::AST::FunctionTemplate::FunctionTemplate(CppSharp::Parser::AST::FunctionTemplate^ _0)
: CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::FunctionTemplate*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::FunctionTemplate(arg0);
}
unsigned int CppSharp::Parser::AST::FunctionTemplate::SpecializationsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->getSpecializationsCount();
return __ret;
}
CppSharp::Parser::AST::FunctionTemplateSpecialization::FunctionTemplateSpecialization(::CppSharp::CppParser::AST::FunctionTemplateSpecialization* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::FunctionTemplateSpecialization^ CppSharp::Parser::AST::FunctionTemplateSpecialization::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::FunctionTemplateSpecialization::__CreateInstance(native, false);
}
CppSharp::Parser::AST::FunctionTemplateSpecialization^ CppSharp::Parser::AST::FunctionTemplateSpecialization::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::FunctionTemplateSpecialization^ result = gcnew ::CppSharp::Parser::AST::FunctionTemplateSpecialization((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::FunctionTemplateSpecialization::~FunctionTemplateSpecialization()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::FunctionTemplateSpecialization::FunctionTemplateSpecialization()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::FunctionTemplateSpecialization();
}
CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::FunctionTemplateSpecialization::getArguments(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->getArguments(i);
auto ____ret = new ::CppSharp::CppParser::AST::TemplateArgument(__ret);
return (____ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)____ret);
}
void CppSharp::Parser::AST::FunctionTemplateSpecialization::addArguments(CppSharp::Parser::AST::TemplateArgument^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TemplateArgument*)s->NativePtr;
((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->addArguments(arg0);
}
void CppSharp::Parser::AST::FunctionTemplateSpecialization::clearArguments()
{
((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->clearArguments();
}
CppSharp::Parser::AST::FunctionTemplateSpecialization::FunctionTemplateSpecialization(CppSharp::Parser::AST::FunctionTemplateSpecialization^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::FunctionTemplateSpecialization(arg0);
}
System::IntPtr CppSharp::Parser::AST::FunctionTemplateSpecialization::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::FunctionTemplateSpecialization::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)object.ToPointer();
}
unsigned int CppSharp::Parser::AST::FunctionTemplateSpecialization::ArgumentsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->getArgumentsCount();
return __ret;
}
CppSharp::Parser::AST::FunctionTemplate^ CppSharp::Parser::AST::FunctionTemplateSpecialization::Template::get()
{
return (((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->Template == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::FunctionTemplate((::CppSharp::CppParser::AST::FunctionTemplate*)((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->Template);
}
void CppSharp::Parser::AST::FunctionTemplateSpecialization::Template::set(CppSharp::Parser::AST::FunctionTemplate^ value)
{
((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->Template = (::CppSharp::CppParser::AST::FunctionTemplate*)value->NativePtr;
}
CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::FunctionTemplateSpecialization::SpecializedFunction::get()
{
return (((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->SpecializedFunction == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->SpecializedFunction);
}
void CppSharp::Parser::AST::FunctionTemplateSpecialization::SpecializedFunction::set(CppSharp::Parser::AST::Function^ value)
{
((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->SpecializedFunction = (::CppSharp::CppParser::AST::Function*)value->NativePtr;
}
CppSharp::Parser::AST::TemplateSpecializationKind CppSharp::Parser::AST::FunctionTemplateSpecialization::SpecializationKind::get()
{
return (CppSharp::Parser::AST::TemplateSpecializationKind)((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->SpecializationKind;
}
void CppSharp::Parser::AST::FunctionTemplateSpecialization::SpecializationKind::set(CppSharp::Parser::AST::TemplateSpecializationKind value)
{
((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->SpecializationKind = (::CppSharp::CppParser::AST::TemplateSpecializationKind)value;
}
CppSharp::Parser::AST::Namespace::Namespace(::CppSharp::CppParser::AST::Namespace* native)
: CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)native)
{
}
CppSharp::Parser::AST::Namespace^ CppSharp::Parser::AST::Namespace::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Namespace::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Namespace^ CppSharp::Parser::AST::Namespace::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Namespace^ result = gcnew ::CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Namespace::~Namespace()
{
}
CppSharp::Parser::AST::Namespace::Namespace()
: CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::Namespace();
}
CppSharp::Parser::AST::Namespace::Namespace(CppSharp::Parser::AST::Namespace^ _0)
: CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Namespace*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Namespace(arg0);
}
bool CppSharp::Parser::AST::Namespace::IsInline::get()
{
return ((::CppSharp::CppParser::AST::Namespace*)NativePtr)->IsInline;
}
void CppSharp::Parser::AST::Namespace::IsInline::set(bool value)
{
((::CppSharp::CppParser::AST::Namespace*)NativePtr)->IsInline = value;
}
CppSharp::Parser::AST::PreprocessedEntity::PreprocessedEntity(::CppSharp::CppParser::AST::PreprocessedEntity* native)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native)
{
}
CppSharp::Parser::AST::PreprocessedEntity^ CppSharp::Parser::AST::PreprocessedEntity::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::PreprocessedEntity::__CreateInstance(native, false);
}
CppSharp::Parser::AST::PreprocessedEntity^ CppSharp::Parser::AST::PreprocessedEntity::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::PreprocessedEntity^ result = gcnew ::CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::PreprocessedEntity::~PreprocessedEntity()
{
}
CppSharp::Parser::AST::PreprocessedEntity::PreprocessedEntity()
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::PreprocessedEntity();
}
CppSharp::Parser::AST::PreprocessedEntity::PreprocessedEntity(CppSharp::Parser::AST::PreprocessedEntity^ _0)
: CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::PreprocessedEntity*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::PreprocessedEntity(arg0);
}
CppSharp::Parser::AST::MacroLocation CppSharp::Parser::AST::PreprocessedEntity::MacroLocation::get()
{
return (CppSharp::Parser::AST::MacroLocation)((::CppSharp::CppParser::AST::PreprocessedEntity*)NativePtr)->MacroLocation;
}
void CppSharp::Parser::AST::PreprocessedEntity::MacroLocation::set(CppSharp::Parser::AST::MacroLocation value)
{
((::CppSharp::CppParser::AST::PreprocessedEntity*)NativePtr)->MacroLocation = (::CppSharp::CppParser::AST::MacroLocation)value;
}
CppSharp::Parser::AST::MacroDefinition::MacroDefinition(::CppSharp::CppParser::AST::MacroDefinition* native)
: CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)native)
{
}
CppSharp::Parser::AST::MacroDefinition^ CppSharp::Parser::AST::MacroDefinition::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::MacroDefinition::__CreateInstance(native, false);
}
CppSharp::Parser::AST::MacroDefinition^ CppSharp::Parser::AST::MacroDefinition::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::MacroDefinition^ result = gcnew ::CppSharp::Parser::AST::MacroDefinition((::CppSharp::CppParser::AST::MacroDefinition*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::MacroDefinition::~MacroDefinition()
{
}
CppSharp::Parser::AST::MacroDefinition::MacroDefinition()
: CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::MacroDefinition();
}
CppSharp::Parser::AST::MacroDefinition::MacroDefinition(CppSharp::Parser::AST::MacroDefinition^ _0)
: CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::MacroDefinition*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::MacroDefinition(arg0);
}
System::String^ CppSharp::Parser::AST::MacroDefinition::Expression::get()
{
auto __ret = ((::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->getExpression();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::MacroDefinition::Expression::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->setExpression(arg0);
}
CppSharp::Parser::AST::MacroExpansion::MacroExpansion(::CppSharp::CppParser::AST::MacroExpansion* native)
: CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)native)
{
}
CppSharp::Parser::AST::MacroExpansion^ CppSharp::Parser::AST::MacroExpansion::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::MacroExpansion::__CreateInstance(native, false);
}
CppSharp::Parser::AST::MacroExpansion^ CppSharp::Parser::AST::MacroExpansion::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::MacroExpansion^ result = gcnew ::CppSharp::Parser::AST::MacroExpansion((::CppSharp::CppParser::AST::MacroExpansion*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::MacroExpansion::~MacroExpansion()
{
}
CppSharp::Parser::AST::MacroExpansion::MacroExpansion()
: CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::MacroExpansion();
}
CppSharp::Parser::AST::MacroExpansion::MacroExpansion(CppSharp::Parser::AST::MacroExpansion^ _0)
: CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::MacroExpansion*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::MacroExpansion(arg0);
}
System::String^ CppSharp::Parser::AST::MacroExpansion::Text::get()
{
auto __ret = ((::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->getText();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::MacroExpansion::Text::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->setText(arg0);
}
CppSharp::Parser::AST::MacroDefinition^ CppSharp::Parser::AST::MacroExpansion::Definition::get()
{
return (((::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->Definition == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::MacroDefinition((::CppSharp::CppParser::AST::MacroDefinition*)((::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->Definition);
}
void CppSharp::Parser::AST::MacroExpansion::Definition::set(CppSharp::Parser::AST::MacroDefinition^ value)
{
((::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->Definition = (::CppSharp::CppParser::AST::MacroDefinition*)value->NativePtr;
}
CppSharp::Parser::AST::TranslationUnit::TranslationUnit(::CppSharp::CppParser::AST::TranslationUnit* native)
: CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*)native)
{
}
CppSharp::Parser::AST::TranslationUnit^ CppSharp::Parser::AST::TranslationUnit::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::TranslationUnit::__CreateInstance(native, false);
}
CppSharp::Parser::AST::TranslationUnit^ CppSharp::Parser::AST::TranslationUnit::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::TranslationUnit^ result = gcnew ::CppSharp::Parser::AST::TranslationUnit((::CppSharp::CppParser::AST::TranslationUnit*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::TranslationUnit::~TranslationUnit()
{
}
CppSharp::Parser::AST::TranslationUnit::TranslationUnit()
: CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::TranslationUnit();
}
CppSharp::Parser::AST::MacroDefinition^ CppSharp::Parser::AST::TranslationUnit::getMacros(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->getMacros(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::MacroDefinition((::CppSharp::CppParser::AST::MacroDefinition*)__ret);
}
void CppSharp::Parser::AST::TranslationUnit::addMacros(CppSharp::Parser::AST::MacroDefinition^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::MacroDefinition*)s->NativePtr;
((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->addMacros(arg0);
}
void CppSharp::Parser::AST::TranslationUnit::clearMacros()
{
((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->clearMacros();
}
CppSharp::Parser::AST::TranslationUnit::TranslationUnit(CppSharp::Parser::AST::TranslationUnit^ _0)
: CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TranslationUnit*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::TranslationUnit(arg0);
}
System::String^ CppSharp::Parser::AST::TranslationUnit::FileName::get()
{
auto __ret = ((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->getFileName();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::TranslationUnit::FileName::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->setFileName(arg0);
}
unsigned int CppSharp::Parser::AST::TranslationUnit::MacrosCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->getMacrosCount();
return __ret;
}
bool CppSharp::Parser::AST::TranslationUnit::IsSystemHeader::get()
{
return ((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->IsSystemHeader;
}
void CppSharp::Parser::AST::TranslationUnit::IsSystemHeader::set(bool value)
{
((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->IsSystemHeader = value;
}
CppSharp::Parser::AST::NativeLibrary::NativeLibrary(::CppSharp::CppParser::AST::NativeLibrary* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::NativeLibrary^ CppSharp::Parser::AST::NativeLibrary::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::NativeLibrary::__CreateInstance(native, false);
}
CppSharp::Parser::AST::NativeLibrary^ CppSharp::Parser::AST::NativeLibrary::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::NativeLibrary^ result = gcnew ::CppSharp::Parser::AST::NativeLibrary((::CppSharp::CppParser::AST::NativeLibrary*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::NativeLibrary::~NativeLibrary()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::NativeLibrary::NativeLibrary()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::NativeLibrary();
}
System::String^ CppSharp::Parser::AST::NativeLibrary::getSymbols(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->getSymbols(i);
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::NativeLibrary::addSymbols(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->addSymbols(arg0);
}
void CppSharp::Parser::AST::NativeLibrary::clearSymbols()
{
((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->clearSymbols();
}
System::String^ CppSharp::Parser::AST::NativeLibrary::getDependencies(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->getDependencies(i);
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::NativeLibrary::addDependencies(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->addDependencies(arg0);
}
void CppSharp::Parser::AST::NativeLibrary::clearDependencies()
{
((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->clearDependencies();
}
CppSharp::Parser::AST::NativeLibrary::NativeLibrary(CppSharp::Parser::AST::NativeLibrary^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::NativeLibrary*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::NativeLibrary(arg0);
}
System::IntPtr CppSharp::Parser::AST::NativeLibrary::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::NativeLibrary::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::NativeLibrary*)object.ToPointer();
}
System::String^ CppSharp::Parser::AST::NativeLibrary::FileName::get()
{
auto __ret = ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->getFileName();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::NativeLibrary::FileName::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->setFileName(arg0);
}
unsigned int CppSharp::Parser::AST::NativeLibrary::SymbolsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->getSymbolsCount();
return __ret;
}
unsigned int CppSharp::Parser::AST::NativeLibrary::DependenciesCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->getDependenciesCount();
return __ret;
}
CppSharp::Parser::AST::ArchType CppSharp::Parser::AST::NativeLibrary::ArchType::get()
{
return (CppSharp::Parser::AST::ArchType)((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->ArchType;
}
void CppSharp::Parser::AST::NativeLibrary::ArchType::set(CppSharp::Parser::AST::ArchType value)
{
((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->ArchType = (::CppSharp::CppParser::AST::ArchType)value;
}
CppSharp::Parser::AST::ASTContext::ASTContext(::CppSharp::CppParser::AST::ASTContext* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::ASTContext^ CppSharp::Parser::AST::ASTContext::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::ASTContext::__CreateInstance(native, false);
}
CppSharp::Parser::AST::ASTContext^ CppSharp::Parser::AST::ASTContext::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::ASTContext^ result = gcnew ::CppSharp::Parser::AST::ASTContext((::CppSharp::CppParser::AST::ASTContext*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::ASTContext::~ASTContext()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::ASTContext::ASTContext()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::ASTContext();
}
CppSharp::Parser::AST::TranslationUnit^ CppSharp::Parser::AST::ASTContext::getTranslationUnits(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::ASTContext*)NativePtr)->getTranslationUnits(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::TranslationUnit((::CppSharp::CppParser::AST::TranslationUnit*)__ret);
}
void CppSharp::Parser::AST::ASTContext::addTranslationUnits(CppSharp::Parser::AST::TranslationUnit^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::TranslationUnit*)s->NativePtr;
((::CppSharp::CppParser::AST::ASTContext*)NativePtr)->addTranslationUnits(arg0);
}
void CppSharp::Parser::AST::ASTContext::clearTranslationUnits()
{
((::CppSharp::CppParser::AST::ASTContext*)NativePtr)->clearTranslationUnits();
}
CppSharp::Parser::AST::ASTContext::ASTContext(CppSharp::Parser::AST::ASTContext^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::ASTContext*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::ASTContext(arg0);
}
System::IntPtr CppSharp::Parser::AST::ASTContext::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::ASTContext::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::ASTContext*)object.ToPointer();
}
unsigned int CppSharp::Parser::AST::ASTContext::TranslationUnitsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::ASTContext*)NativePtr)->getTranslationUnitsCount();
return __ret;
}
CppSharp::Parser::AST::Comment::Comment(::CppSharp::CppParser::AST::Comment* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::Comment^ CppSharp::Parser::AST::Comment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::Comment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::Comment^ CppSharp::Parser::AST::Comment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::Comment^ result = gcnew ::CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::Comment::~Comment()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::Comment::Comment(CppSharp::Parser::AST::CommentKind kind)
{
__ownsNativeInstance = true;
auto arg0 = (::CppSharp::CppParser::AST::CommentKind)kind;
NativePtr = new ::CppSharp::CppParser::AST::Comment(arg0);
}
CppSharp::Parser::AST::Comment::Comment(CppSharp::Parser::AST::Comment^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::Comment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::Comment(arg0);
}
System::IntPtr CppSharp::Parser::AST::Comment::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::Comment::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::Comment*)object.ToPointer();
}
CppSharp::Parser::AST::CommentKind CppSharp::Parser::AST::Comment::Kind::get()
{
return (CppSharp::Parser::AST::CommentKind)((::CppSharp::CppParser::AST::Comment*)NativePtr)->Kind;
}
void CppSharp::Parser::AST::Comment::Kind::set(CppSharp::Parser::AST::CommentKind value)
{
((::CppSharp::CppParser::AST::Comment*)NativePtr)->Kind = (::CppSharp::CppParser::AST::CommentKind)value;
}
CppSharp::Parser::AST::BlockContentComment::BlockContentComment(::CppSharp::CppParser::AST::BlockContentComment* native)
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native)
{
}
CppSharp::Parser::AST::BlockContentComment^ CppSharp::Parser::AST::BlockContentComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::BlockContentComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::BlockContentComment^ CppSharp::Parser::AST::BlockContentComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::BlockContentComment^ result = gcnew ::CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::BlockContentComment::~BlockContentComment()
{
}
CppSharp::Parser::AST::BlockContentComment::BlockContentComment()
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::BlockContentComment();
}
CppSharp::Parser::AST::BlockContentComment::BlockContentComment(CppSharp::Parser::AST::CommentKind Kind)
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr)
{
__ownsNativeInstance = true;
auto arg0 = (::CppSharp::CppParser::AST::CommentKind)Kind;
NativePtr = new ::CppSharp::CppParser::AST::BlockContentComment(arg0);
}
CppSharp::Parser::AST::BlockContentComment::BlockContentComment(CppSharp::Parser::AST::BlockContentComment^ _0)
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::BlockContentComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::BlockContentComment(arg0);
}
CppSharp::Parser::AST::FullComment::FullComment(::CppSharp::CppParser::AST::FullComment* native)
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native)
{
}
CppSharp::Parser::AST::FullComment^ CppSharp::Parser::AST::FullComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::FullComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::FullComment^ CppSharp::Parser::AST::FullComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::FullComment^ result = gcnew ::CppSharp::Parser::AST::FullComment((::CppSharp::CppParser::AST::FullComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::FullComment::~FullComment()
{
}
CppSharp::Parser::AST::FullComment::FullComment()
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::FullComment();
}
CppSharp::Parser::AST::BlockContentComment^ CppSharp::Parser::AST::FullComment::getBlocks(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::FullComment*)NativePtr)->getBlocks(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)__ret);
}
void CppSharp::Parser::AST::FullComment::addBlocks(CppSharp::Parser::AST::BlockContentComment^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::BlockContentComment*)s->NativePtr;
((::CppSharp::CppParser::AST::FullComment*)NativePtr)->addBlocks(arg0);
}
void CppSharp::Parser::AST::FullComment::clearBlocks()
{
((::CppSharp::CppParser::AST::FullComment*)NativePtr)->clearBlocks();
}
CppSharp::Parser::AST::FullComment::FullComment(CppSharp::Parser::AST::FullComment^ _0)
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::FullComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::FullComment(arg0);
}
unsigned int CppSharp::Parser::AST::FullComment::BlocksCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::FullComment*)NativePtr)->getBlocksCount();
return __ret;
}
CppSharp::Parser::AST::BlockCommandComment::Argument::Argument(::CppSharp::CppParser::AST::BlockCommandComment::Argument* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::BlockCommandComment::Argument^ CppSharp::Parser::AST::BlockCommandComment::Argument::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::BlockCommandComment::Argument::__CreateInstance(native, false);
}
CppSharp::Parser::AST::BlockCommandComment::Argument^ CppSharp::Parser::AST::BlockCommandComment::Argument::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::BlockCommandComment::Argument^ result = gcnew ::CppSharp::Parser::AST::BlockCommandComment::Argument((::CppSharp::CppParser::AST::BlockCommandComment::Argument*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::BlockCommandComment::Argument::~Argument()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::BlockCommandComment::Argument::Argument()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::BlockCommandComment::Argument();
}
CppSharp::Parser::AST::BlockCommandComment::Argument::Argument(CppSharp::Parser::AST::BlockCommandComment::Argument^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::BlockCommandComment::Argument*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::BlockCommandComment::Argument(arg0);
}
System::IntPtr CppSharp::Parser::AST::BlockCommandComment::Argument::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::BlockCommandComment::Argument::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::BlockCommandComment::Argument*)object.ToPointer();
}
System::String^ CppSharp::Parser::AST::BlockCommandComment::Argument::Text::get()
{
auto __ret = ((::CppSharp::CppParser::AST::BlockCommandComment::Argument*)NativePtr)->getText();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::BlockCommandComment::Argument::Text::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::BlockCommandComment::Argument*)NativePtr)->setText(arg0);
}
CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment(::CppSharp::CppParser::AST::BlockCommandComment* native)
: CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)native)
{
}
CppSharp::Parser::AST::BlockCommandComment^ CppSharp::Parser::AST::BlockCommandComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::BlockCommandComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::BlockCommandComment^ CppSharp::Parser::AST::BlockCommandComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::BlockCommandComment^ result = gcnew ::CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::BlockCommandComment::~BlockCommandComment()
{
}
CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment()
: CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::BlockCommandComment();
}
CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment(CppSharp::Parser::AST::CommentKind Kind)
: CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)nullptr)
{
__ownsNativeInstance = true;
auto arg0 = (::CppSharp::CppParser::AST::CommentKind)Kind;
NativePtr = new ::CppSharp::CppParser::AST::BlockCommandComment(arg0);
}
CppSharp::Parser::AST::BlockCommandComment::Argument^ CppSharp::Parser::AST::BlockCommandComment::getArguments(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->getArguments(i);
auto ____ret = new ::CppSharp::CppParser::AST::BlockCommandComment::Argument(__ret);
return (____ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::BlockCommandComment::Argument((::CppSharp::CppParser::AST::BlockCommandComment::Argument*)____ret);
}
void CppSharp::Parser::AST::BlockCommandComment::addArguments(CppSharp::Parser::AST::BlockCommandComment::Argument^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::BlockCommandComment::Argument*)s->NativePtr;
((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->addArguments(arg0);
}
void CppSharp::Parser::AST::BlockCommandComment::clearArguments()
{
((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->clearArguments();
}
CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment(CppSharp::Parser::AST::BlockCommandComment^ _0)
: CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::BlockCommandComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::BlockCommandComment(arg0);
}
unsigned int CppSharp::Parser::AST::BlockCommandComment::ArgumentsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->getArgumentsCount();
return __ret;
}
unsigned int CppSharp::Parser::AST::BlockCommandComment::CommandId::get()
{
return ((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->CommandId;
}
void CppSharp::Parser::AST::BlockCommandComment::CommandId::set(unsigned int value)
{
((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->CommandId = value;
}
CppSharp::Parser::AST::ParamCommandComment::ParamCommandComment(::CppSharp::CppParser::AST::ParamCommandComment* native)
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native)
{
}
CppSharp::Parser::AST::ParamCommandComment^ CppSharp::Parser::AST::ParamCommandComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::ParamCommandComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::ParamCommandComment^ CppSharp::Parser::AST::ParamCommandComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::ParamCommandComment^ result = gcnew ::CppSharp::Parser::AST::ParamCommandComment((::CppSharp::CppParser::AST::ParamCommandComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::ParamCommandComment::~ParamCommandComment()
{
}
CppSharp::Parser::AST::ParamCommandComment::ParamCommandComment()
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::ParamCommandComment();
}
CppSharp::Parser::AST::ParamCommandComment::ParamCommandComment(CppSharp::Parser::AST::ParamCommandComment^ _0)
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::ParamCommandComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::ParamCommandComment(arg0);
}
CppSharp::Parser::AST::ParamCommandComment::PassDirection CppSharp::Parser::AST::ParamCommandComment::Direction::get()
{
return (CppSharp::Parser::AST::ParamCommandComment::PassDirection)((::CppSharp::CppParser::AST::ParamCommandComment*)NativePtr)->Direction;
}
void CppSharp::Parser::AST::ParamCommandComment::Direction::set(CppSharp::Parser::AST::ParamCommandComment::PassDirection value)
{
((::CppSharp::CppParser::AST::ParamCommandComment*)NativePtr)->Direction = (::CppSharp::CppParser::AST::ParamCommandComment::PassDirection)value;
}
unsigned int CppSharp::Parser::AST::ParamCommandComment::ParamIndex::get()
{
return ((::CppSharp::CppParser::AST::ParamCommandComment*)NativePtr)->ParamIndex;
}
void CppSharp::Parser::AST::ParamCommandComment::ParamIndex::set(unsigned int value)
{
((::CppSharp::CppParser::AST::ParamCommandComment*)NativePtr)->ParamIndex = value;
}
CppSharp::Parser::AST::TParamCommandComment::TParamCommandComment(::CppSharp::CppParser::AST::TParamCommandComment* native)
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native)
{
}
CppSharp::Parser::AST::TParamCommandComment^ CppSharp::Parser::AST::TParamCommandComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::TParamCommandComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::TParamCommandComment^ CppSharp::Parser::AST::TParamCommandComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::TParamCommandComment^ result = gcnew ::CppSharp::Parser::AST::TParamCommandComment((::CppSharp::CppParser::AST::TParamCommandComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::TParamCommandComment::~TParamCommandComment()
{
}
CppSharp::Parser::AST::TParamCommandComment::TParamCommandComment()
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::TParamCommandComment();
}
unsigned int CppSharp::Parser::AST::TParamCommandComment::getPosition(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->getPosition(i);
return __ret;
}
void CppSharp::Parser::AST::TParamCommandComment::addPosition([System::Runtime::InteropServices::In, System::Runtime::InteropServices::Out] unsigned int% s)
{
unsigned int arg0 = s;
((::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->addPosition(arg0);
s = arg0;
}
void CppSharp::Parser::AST::TParamCommandComment::clearPosition()
{
((::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->clearPosition();
}
CppSharp::Parser::AST::TParamCommandComment::TParamCommandComment(CppSharp::Parser::AST::TParamCommandComment^ _0)
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TParamCommandComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::TParamCommandComment(arg0);
}
unsigned int CppSharp::Parser::AST::TParamCommandComment::PositionCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->getPositionCount();
return __ret;
}
CppSharp::Parser::AST::VerbatimBlockLineComment::VerbatimBlockLineComment(::CppSharp::CppParser::AST::VerbatimBlockLineComment* native)
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native)
{
}
CppSharp::Parser::AST::VerbatimBlockLineComment^ CppSharp::Parser::AST::VerbatimBlockLineComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::VerbatimBlockLineComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::VerbatimBlockLineComment^ CppSharp::Parser::AST::VerbatimBlockLineComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::VerbatimBlockLineComment^ result = gcnew ::CppSharp::Parser::AST::VerbatimBlockLineComment((::CppSharp::CppParser::AST::VerbatimBlockLineComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::VerbatimBlockLineComment::~VerbatimBlockLineComment()
{
}
CppSharp::Parser::AST::VerbatimBlockLineComment::VerbatimBlockLineComment()
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::VerbatimBlockLineComment();
}
CppSharp::Parser::AST::VerbatimBlockLineComment::VerbatimBlockLineComment(CppSharp::Parser::AST::VerbatimBlockLineComment^ _0)
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::VerbatimBlockLineComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::VerbatimBlockLineComment(arg0);
}
System::String^ CppSharp::Parser::AST::VerbatimBlockLineComment::Text::get()
{
auto __ret = ((::CppSharp::CppParser::AST::VerbatimBlockLineComment*)NativePtr)->getText();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::VerbatimBlockLineComment::Text::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::VerbatimBlockLineComment*)NativePtr)->setText(arg0);
}
CppSharp::Parser::AST::VerbatimBlockComment::VerbatimBlockComment(::CppSharp::CppParser::AST::VerbatimBlockComment* native)
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native)
{
}
CppSharp::Parser::AST::VerbatimBlockComment^ CppSharp::Parser::AST::VerbatimBlockComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::VerbatimBlockComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::VerbatimBlockComment^ CppSharp::Parser::AST::VerbatimBlockComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::VerbatimBlockComment^ result = gcnew ::CppSharp::Parser::AST::VerbatimBlockComment((::CppSharp::CppParser::AST::VerbatimBlockComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::VerbatimBlockComment::~VerbatimBlockComment()
{
}
CppSharp::Parser::AST::VerbatimBlockComment::VerbatimBlockComment()
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::VerbatimBlockComment();
}
CppSharp::Parser::AST::VerbatimBlockLineComment^ CppSharp::Parser::AST::VerbatimBlockComment::getLines(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->getLines(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::VerbatimBlockLineComment((::CppSharp::CppParser::AST::VerbatimBlockLineComment*)__ret);
}
void CppSharp::Parser::AST::VerbatimBlockComment::addLines(CppSharp::Parser::AST::VerbatimBlockLineComment^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::VerbatimBlockLineComment*)s->NativePtr;
((::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->addLines(arg0);
}
void CppSharp::Parser::AST::VerbatimBlockComment::clearLines()
{
((::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->clearLines();
}
CppSharp::Parser::AST::VerbatimBlockComment::VerbatimBlockComment(CppSharp::Parser::AST::VerbatimBlockComment^ _0)
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::VerbatimBlockComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::VerbatimBlockComment(arg0);
}
unsigned int CppSharp::Parser::AST::VerbatimBlockComment::LinesCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->getLinesCount();
return __ret;
}
CppSharp::Parser::AST::VerbatimLineComment::VerbatimLineComment(::CppSharp::CppParser::AST::VerbatimLineComment* native)
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native)
{
}
CppSharp::Parser::AST::VerbatimLineComment^ CppSharp::Parser::AST::VerbatimLineComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::VerbatimLineComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::VerbatimLineComment^ CppSharp::Parser::AST::VerbatimLineComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::VerbatimLineComment^ result = gcnew ::CppSharp::Parser::AST::VerbatimLineComment((::CppSharp::CppParser::AST::VerbatimLineComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::VerbatimLineComment::~VerbatimLineComment()
{
}
CppSharp::Parser::AST::VerbatimLineComment::VerbatimLineComment()
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::VerbatimLineComment();
}
CppSharp::Parser::AST::VerbatimLineComment::VerbatimLineComment(CppSharp::Parser::AST::VerbatimLineComment^ _0)
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::VerbatimLineComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::VerbatimLineComment(arg0);
}
System::String^ CppSharp::Parser::AST::VerbatimLineComment::Text::get()
{
auto __ret = ((::CppSharp::CppParser::AST::VerbatimLineComment*)NativePtr)->getText();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::VerbatimLineComment::Text::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::VerbatimLineComment*)NativePtr)->setText(arg0);
}
CppSharp::Parser::AST::InlineContentComment::InlineContentComment(::CppSharp::CppParser::AST::InlineContentComment* native)
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native)
{
}
CppSharp::Parser::AST::InlineContentComment^ CppSharp::Parser::AST::InlineContentComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::InlineContentComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::InlineContentComment^ CppSharp::Parser::AST::InlineContentComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::InlineContentComment^ result = gcnew ::CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::InlineContentComment::~InlineContentComment()
{
}
CppSharp::Parser::AST::InlineContentComment::InlineContentComment()
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::InlineContentComment();
}
CppSharp::Parser::AST::InlineContentComment::InlineContentComment(CppSharp::Parser::AST::CommentKind Kind)
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr)
{
__ownsNativeInstance = true;
auto arg0 = (::CppSharp::CppParser::AST::CommentKind)Kind;
NativePtr = new ::CppSharp::CppParser::AST::InlineContentComment(arg0);
}
CppSharp::Parser::AST::InlineContentComment::InlineContentComment(CppSharp::Parser::AST::InlineContentComment^ _0)
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::InlineContentComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::InlineContentComment(arg0);
}
CppSharp::Parser::AST::ParagraphComment::ParagraphComment(::CppSharp::CppParser::AST::ParagraphComment* native)
: CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)native)
{
}
CppSharp::Parser::AST::ParagraphComment^ CppSharp::Parser::AST::ParagraphComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::ParagraphComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::ParagraphComment^ CppSharp::Parser::AST::ParagraphComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::ParagraphComment^ result = gcnew ::CppSharp::Parser::AST::ParagraphComment((::CppSharp::CppParser::AST::ParagraphComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::ParagraphComment::~ParagraphComment()
{
}
CppSharp::Parser::AST::ParagraphComment::ParagraphComment()
: CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::ParagraphComment();
}
CppSharp::Parser::AST::InlineContentComment^ CppSharp::Parser::AST::ParagraphComment::getContent(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->getContent(i);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)__ret);
}
void CppSharp::Parser::AST::ParagraphComment::addContent(CppSharp::Parser::AST::InlineContentComment^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto arg0 = (::CppSharp::CppParser::AST::InlineContentComment*)s->NativePtr;
((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->addContent(arg0);
}
void CppSharp::Parser::AST::ParagraphComment::clearContent()
{
((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->clearContent();
}
CppSharp::Parser::AST::ParagraphComment::ParagraphComment(CppSharp::Parser::AST::ParagraphComment^ _0)
: CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::ParagraphComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::ParagraphComment(arg0);
}
unsigned int CppSharp::Parser::AST::ParagraphComment::ContentCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->getContentCount();
return __ret;
}
bool CppSharp::Parser::AST::ParagraphComment::IsWhitespace::get()
{
return ((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->IsWhitespace;
}
void CppSharp::Parser::AST::ParagraphComment::IsWhitespace::set(bool value)
{
((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->IsWhitespace = value;
}
CppSharp::Parser::AST::InlineCommandComment::Argument::Argument(::CppSharp::CppParser::AST::InlineCommandComment::Argument* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::InlineCommandComment::Argument^ CppSharp::Parser::AST::InlineCommandComment::Argument::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::InlineCommandComment::Argument::__CreateInstance(native, false);
}
CppSharp::Parser::AST::InlineCommandComment::Argument^ CppSharp::Parser::AST::InlineCommandComment::Argument::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::InlineCommandComment::Argument^ result = gcnew ::CppSharp::Parser::AST::InlineCommandComment::Argument((::CppSharp::CppParser::AST::InlineCommandComment::Argument*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::InlineCommandComment::Argument::~Argument()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::InlineCommandComment::Argument::Argument()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::InlineCommandComment::Argument();
}
CppSharp::Parser::AST::InlineCommandComment::Argument::Argument(CppSharp::Parser::AST::InlineCommandComment::Argument^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::InlineCommandComment::Argument*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::InlineCommandComment::Argument(arg0);
}
System::IntPtr CppSharp::Parser::AST::InlineCommandComment::Argument::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::InlineCommandComment::Argument::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::InlineCommandComment::Argument*)object.ToPointer();
}
System::String^ CppSharp::Parser::AST::InlineCommandComment::Argument::Text::get()
{
auto __ret = ((::CppSharp::CppParser::AST::InlineCommandComment::Argument*)NativePtr)->getText();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::InlineCommandComment::Argument::Text::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::InlineCommandComment::Argument*)NativePtr)->setText(arg0);
}
CppSharp::Parser::AST::InlineCommandComment::InlineCommandComment(::CppSharp::CppParser::AST::InlineCommandComment* native)
: CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)native)
{
}
CppSharp::Parser::AST::InlineCommandComment^ CppSharp::Parser::AST::InlineCommandComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::InlineCommandComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::InlineCommandComment^ CppSharp::Parser::AST::InlineCommandComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::InlineCommandComment^ result = gcnew ::CppSharp::Parser::AST::InlineCommandComment((::CppSharp::CppParser::AST::InlineCommandComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::InlineCommandComment::~InlineCommandComment()
{
}
CppSharp::Parser::AST::InlineCommandComment::InlineCommandComment()
: CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::InlineCommandComment();
}
CppSharp::Parser::AST::InlineCommandComment::Argument^ CppSharp::Parser::AST::InlineCommandComment::getArguments(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->getArguments(i);
auto ____ret = new ::CppSharp::CppParser::AST::InlineCommandComment::Argument(__ret);
return (____ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::InlineCommandComment::Argument((::CppSharp::CppParser::AST::InlineCommandComment::Argument*)____ret);
}
void CppSharp::Parser::AST::InlineCommandComment::addArguments(CppSharp::Parser::AST::InlineCommandComment::Argument^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::InlineCommandComment::Argument*)s->NativePtr;
((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->addArguments(arg0);
}
void CppSharp::Parser::AST::InlineCommandComment::clearArguments()
{
((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->clearArguments();
}
CppSharp::Parser::AST::InlineCommandComment::InlineCommandComment(CppSharp::Parser::AST::InlineCommandComment^ _0)
: CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::InlineCommandComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::InlineCommandComment(arg0);
}
unsigned int CppSharp::Parser::AST::InlineCommandComment::ArgumentsCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->getArgumentsCount();
return __ret;
}
CppSharp::Parser::AST::InlineCommandComment::RenderKind CppSharp::Parser::AST::InlineCommandComment::CommentRenderKind::get()
{
return (CppSharp::Parser::AST::InlineCommandComment::RenderKind)((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->CommentRenderKind;
}
void CppSharp::Parser::AST::InlineCommandComment::CommentRenderKind::set(CppSharp::Parser::AST::InlineCommandComment::RenderKind value)
{
((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->CommentRenderKind = (::CppSharp::CppParser::AST::InlineCommandComment::RenderKind)value;
}
CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment(::CppSharp::CppParser::AST::HTMLTagComment* native)
: CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)native)
{
}
CppSharp::Parser::AST::HTMLTagComment^ CppSharp::Parser::AST::HTMLTagComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::HTMLTagComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::HTMLTagComment^ CppSharp::Parser::AST::HTMLTagComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::HTMLTagComment^ result = gcnew ::CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::HTMLTagComment::~HTMLTagComment()
{
}
CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment()
: CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::HTMLTagComment();
}
CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment(CppSharp::Parser::AST::CommentKind Kind)
: CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)nullptr)
{
__ownsNativeInstance = true;
auto arg0 = (::CppSharp::CppParser::AST::CommentKind)Kind;
NativePtr = new ::CppSharp::CppParser::AST::HTMLTagComment(arg0);
}
CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment(CppSharp::Parser::AST::HTMLTagComment^ _0)
: CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::HTMLTagComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::HTMLTagComment(arg0);
}
CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute(::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::HTMLStartTagComment::Attribute::__CreateInstance(native, false);
}
CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ result = gcnew ::CppSharp::Parser::AST::HTMLStartTagComment::Attribute((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::HTMLStartTagComment::Attribute::~Attribute()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute();
}
CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute(CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute(arg0);
}
System::IntPtr CppSharp::Parser::AST::HTMLStartTagComment::Attribute::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::HTMLStartTagComment::Attribute::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)object.ToPointer();
}
System::String^ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Name::get()
{
auto __ret = ((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)NativePtr)->getName();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Name::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)NativePtr)->setName(arg0);
}
System::String^ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Value::get()
{
auto __ret = ((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)NativePtr)->getValue();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Value::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)NativePtr)->setValue(arg0);
}
CppSharp::Parser::AST::HTMLStartTagComment::HTMLStartTagComment(::CppSharp::CppParser::AST::HTMLStartTagComment* native)
: CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)native)
{
}
CppSharp::Parser::AST::HTMLStartTagComment^ CppSharp::Parser::AST::HTMLStartTagComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::HTMLStartTagComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::HTMLStartTagComment^ CppSharp::Parser::AST::HTMLStartTagComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::HTMLStartTagComment^ result = gcnew ::CppSharp::Parser::AST::HTMLStartTagComment((::CppSharp::CppParser::AST::HTMLStartTagComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::HTMLStartTagComment::~HTMLStartTagComment()
{
}
CppSharp::Parser::AST::HTMLStartTagComment::HTMLStartTagComment()
: CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::HTMLStartTagComment();
}
CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ CppSharp::Parser::AST::HTMLStartTagComment::getAttributes(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->getAttributes(i);
auto ____ret = new ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute(__ret);
return (____ret == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::HTMLStartTagComment::Attribute((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)____ret);
}
void CppSharp::Parser::AST::HTMLStartTagComment::addAttributes(CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ s)
{
if (ReferenceEquals(s, nullptr))
throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)s->NativePtr;
((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->addAttributes(arg0);
}
void CppSharp::Parser::AST::HTMLStartTagComment::clearAttributes()
{
((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->clearAttributes();
}
CppSharp::Parser::AST::HTMLStartTagComment::HTMLStartTagComment(CppSharp::Parser::AST::HTMLStartTagComment^ _0)
: CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::HTMLStartTagComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::HTMLStartTagComment(arg0);
}
System::String^ CppSharp::Parser::AST::HTMLStartTagComment::TagName::get()
{
auto __ret = ((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->getTagName();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::HTMLStartTagComment::TagName::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->setTagName(arg0);
}
unsigned int CppSharp::Parser::AST::HTMLStartTagComment::AttributesCount::get()
{
auto __ret = ((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->getAttributesCount();
return __ret;
}
CppSharp::Parser::AST::HTMLEndTagComment::HTMLEndTagComment(::CppSharp::CppParser::AST::HTMLEndTagComment* native)
: CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)native)
{
}
CppSharp::Parser::AST::HTMLEndTagComment^ CppSharp::Parser::AST::HTMLEndTagComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::HTMLEndTagComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::HTMLEndTagComment^ CppSharp::Parser::AST::HTMLEndTagComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::HTMLEndTagComment^ result = gcnew ::CppSharp::Parser::AST::HTMLEndTagComment((::CppSharp::CppParser::AST::HTMLEndTagComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::HTMLEndTagComment::~HTMLEndTagComment()
{
}
CppSharp::Parser::AST::HTMLEndTagComment::HTMLEndTagComment()
: CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::HTMLEndTagComment();
}
CppSharp::Parser::AST::HTMLEndTagComment::HTMLEndTagComment(CppSharp::Parser::AST::HTMLEndTagComment^ _0)
: CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::HTMLEndTagComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::HTMLEndTagComment(arg0);
}
System::String^ CppSharp::Parser::AST::HTMLEndTagComment::TagName::get()
{
auto __ret = ((::CppSharp::CppParser::AST::HTMLEndTagComment*)NativePtr)->getTagName();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::HTMLEndTagComment::TagName::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::HTMLEndTagComment*)NativePtr)->setTagName(arg0);
}
CppSharp::Parser::AST::TextComment::TextComment(::CppSharp::CppParser::AST::TextComment* native)
: CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)native)
{
}
CppSharp::Parser::AST::TextComment^ CppSharp::Parser::AST::TextComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::TextComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::TextComment^ CppSharp::Parser::AST::TextComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::TextComment^ result = gcnew ::CppSharp::Parser::AST::TextComment((::CppSharp::CppParser::AST::TextComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::TextComment::~TextComment()
{
}
CppSharp::Parser::AST::TextComment::TextComment()
: CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)nullptr)
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::TextComment();
}
CppSharp::Parser::AST::TextComment::TextComment(CppSharp::Parser::AST::TextComment^ _0)
: CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)nullptr)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::TextComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::TextComment(arg0);
}
System::String^ CppSharp::Parser::AST::TextComment::Text::get()
{
auto __ret = ((::CppSharp::CppParser::AST::TextComment*)NativePtr)->getText();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::TextComment::Text::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::TextComment*)NativePtr)->setText(arg0);
}
CppSharp::Parser::AST::RawComment::RawComment(::CppSharp::CppParser::AST::RawComment* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::AST::RawComment^ CppSharp::Parser::AST::RawComment::__CreateInstance(::System::IntPtr native)
{
return ::CppSharp::Parser::AST::RawComment::__CreateInstance(native, false);
}
CppSharp::Parser::AST::RawComment^ CppSharp::Parser::AST::RawComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
{
::CppSharp::Parser::AST::RawComment^ result = gcnew ::CppSharp::Parser::AST::RawComment((::CppSharp::CppParser::AST::RawComment*) native.ToPointer());
result->__ownsNativeInstance = __ownsNativeInstance;
return result;
}
CppSharp::Parser::AST::RawComment::~RawComment()
{
if (__ownsNativeInstance)
delete NativePtr;
}
CppSharp::Parser::AST::RawComment::RawComment()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::AST::RawComment();
}
CppSharp::Parser::AST::RawComment::RawComment(CppSharp::Parser::AST::RawComment^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&).");
auto &arg0 = *(::CppSharp::CppParser::AST::RawComment*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::AST::RawComment(arg0);
}
System::IntPtr CppSharp::Parser::AST::RawComment::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::AST::RawComment::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::AST::RawComment*)object.ToPointer();
}
System::String^ CppSharp::Parser::AST::RawComment::Text::get()
{
auto __ret = ((::CppSharp::CppParser::AST::RawComment*)NativePtr)->getText();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::RawComment::Text::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::RawComment*)NativePtr)->setText(arg0);
}
System::String^ CppSharp::Parser::AST::RawComment::BriefText::get()
{
auto __ret = ((::CppSharp::CppParser::AST::RawComment*)NativePtr)->getBriefText();
if (__ret == nullptr) return nullptr;
return clix::marshalString<clix::E_UTF8>(__ret);
}
void CppSharp::Parser::AST::RawComment::BriefText::set(System::String^ s)
{
auto _arg0 = clix::marshalString<clix::E_UTF8>(s);
auto arg0 = _arg0.c_str();
((::CppSharp::CppParser::AST::RawComment*)NativePtr)->setBriefText(arg0);
}
CppSharp::Parser::AST::RawCommentKind CppSharp::Parser::AST::RawComment::Kind::get()
{
return (CppSharp::Parser::AST::RawCommentKind)((::CppSharp::CppParser::AST::RawComment*)NativePtr)->Kind;
}
void CppSharp::Parser::AST::RawComment::Kind::set(CppSharp::Parser::AST::RawCommentKind value)
{
((::CppSharp::CppParser::AST::RawComment*)NativePtr)->Kind = (::CppSharp::CppParser::AST::RawCommentKind)value;
}
CppSharp::Parser::AST::FullComment^ CppSharp::Parser::AST::RawComment::FullCommentBlock::get()
{
return (((::CppSharp::CppParser::AST::RawComment*)NativePtr)->FullCommentBlock == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::FullComment((::CppSharp::CppParser::AST::FullComment*)((::CppSharp::CppParser::AST::RawComment*)NativePtr)->FullCommentBlock);
}
void CppSharp::Parser::AST::RawComment::FullCommentBlock::set(CppSharp::Parser::AST::FullComment^ value)
{
((::CppSharp::CppParser::AST::RawComment*)NativePtr)->FullCommentBlock = (::CppSharp::CppParser::AST::FullComment*)value->NativePtr;
}