/*
- * Copyright(c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright(c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
{
internal class VectorBlob : Disposable
{
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
- internal VectorBlob(global::System.IntPtr cPtr, bool cMemoryOwn)
+ internal VectorBlob(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
{
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VectorBlob obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
- protected override void Dispose(DisposeTypes type)
+ protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
{
- if (disposed)
- {
- return;
- }
-
- //Release your own unmanaged resources here.
- //You should not access any managed member here except static instance.
- //because the execution order of Finalizes is non-deterministic.
-
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- Interop.VectorBlob.delete_VectorBlob(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- base.Dispose(type);
+ Interop.VectorBlob.DeleteVectorBlob(swigCPtr);
}
public byte R
{
set
{
- Interop.VectorBlob.VectorBlob_r_set(swigCPtr, value);
+ Interop.VectorBlob.RSet(swigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- byte ret = Interop.VectorBlob.VectorBlob_r_get(swigCPtr);
+ byte ret = Interop.VectorBlob.RGet(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
{
set
{
- Interop.VectorBlob.VectorBlob_g_set(swigCPtr, value);
+ Interop.VectorBlob.GSet(swigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- byte ret = Interop.VectorBlob.VectorBlob_g_get(swigCPtr);
+ byte ret = Interop.VectorBlob.GGet(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
{
set
{
- Interop.VectorBlob.VectorBlob_b_set(swigCPtr, value);
+ Interop.VectorBlob.BSet(swigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- byte ret = Interop.VectorBlob.VectorBlob_b_get(swigCPtr);
+ byte ret = Interop.VectorBlob.BGet(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
{
set
{
- Interop.VectorBlob.VectorBlob_a_set(swigCPtr, value);
+ Interop.VectorBlob.ASet(swigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- byte ret = Interop.VectorBlob.VectorBlob_a_get(swigCPtr);
+ byte ret = Interop.VectorBlob.AGet(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
}
- public VectorBlob() : this(Interop.VectorBlob.new_VectorBlob(), true)
+ public VectorBlob() : this(Interop.VectorBlob.NewVectorBlob(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}