public StringVectorPtr(EarthView.World.Core.StringVector rep) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuerep = new BasePtr(rep); list.Add("rep", valuerep.PtrVal); if (!object.Equals(rep, null)) { rep.NoFree = true; } Create("StringVectorPtr", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
public EarthView.World.Core.StringVector Get() { IntPtr __ptr = EarthView_World_Core_StringVectorPtr_get_StringVector(this.NativeObject); if (__ptr == IntPtr.Zero) { return(null); } EarthView.World.Core.StringVector csObj = new EarthView.World.Core.StringVector(CreatedWhenConstruct.CWC_NotToCreate); csObj.BindNativeObject(__ptr, "StringVector"); csObj.Delegate = true; IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName()); if (csObjClassFactory != null) { csObj.Delegate = true; csObj = csObjClassFactory.Create() as EarthView.World.Core.StringVector; csObj.BindNativeObject(__ptr, "StringVector"); csObj.Delegate = true; } return(csObj); }
public void Swap(ref EarthView.World.Core.StringVector rhs) { EarthView_World_Core_StringVector_swap_void_StringVector(this.NativeObject, object.Equals(rhs, null) ? IntPtr.Zero : rhs.NativeObject); }