14using System.Runtime.InteropServices;
18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
239 public virtual bool getStringPair(UInt32 uIndex, ref
string strActual, ref
string strReplacement) {
240IntPtr tmp_strActual = Marshal.StringToCoTaskMemUni(strActual);
241 IntPtr saved_strActual = tmp_strActual;
242IntPtr tmp_strReplacement = Marshal.StringToCoTaskMemUni(strReplacement);
243 IntPtr saved_strReplacement = tmp_strReplacement;
249if (tmp_strActual != saved_strActual) strActual = Marshal.PtrToStringUni(tmp_strActual);
250if (tmp_strReplacement != saved_strReplacement) strReplacement = Marshal.PtrToStringUni(tmp_strReplacement);
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdDgPsPlotStyleColorData obj)
static HandleRef getCPtr(OdDgPsPlotStyleGeneralData obj)
virtual void addWeightData(OdDgPsPlotStyleWeightData data, UInt32 lineWeightIndex)
virtual void deleteColorData(UInt32 uColorIndex)
virtual bool isColorDataPresent(UInt32 uColorIndex)
override OdRxObject queryX(OdRxClass protocolClass)
virtual void setFileName(String fileName)
virtual String getReplacementString(String strActual)
virtual UInt32 getStringPairCoint()
virtual bool getStringPair(UInt32 uIndex, ref string strActual, ref string strReplacement)
static string getRealClassName(IntPtr ptr)
virtual void addStringPair(String strActual, String strReplacement)
virtual String fileName()
OdDgPsPlotStyle(IntPtr cPtr, bool cMemoryOwn)
static new OdRxClass desc()
virtual bool getWeightData(UInt32 uIndex, OdDgPsPlotStyleWeightData linwWeightData, out UInt32 lineWeightIndex)
virtual bool isReplacementStringPresent(String strActual)
virtual void addColorData(OdDgPsPlotStyleColorData data, UInt32 uColorIndex)
virtual UInt32 getSectionDataCount()
virtual void setGeneralData(OdDgPsPlotStyleGeneralData data)
static OdDgPsPlotStyle cast(OdRxObject pObj)
virtual void setSectionData(UInt32 uIndex, OdDgPsPlotStyleSectionData data)
virtual bool getWeightDataByIndex(UInt32 lineWeightIndex, OdDgPsPlotStyleWeightData data, bool bUseDefaultData)
virtual OdDgPsPlotStyleSectionData getSectionData(UInt32 uIndex)
virtual bool getWeightDataByIndex(UInt32 lineWeightIndex, OdDgPsPlotStyleWeightData data)
virtual bool getColorDataByIndex(UInt32 uColorIndex, OdDgPsPlotStyleColorData data)
static OdDgPsPlotStyle createObject()
virtual void deleteSectionData(UInt32 uIndex)
virtual void addSectionData(OdDgPsPlotStyleSectionData data)
override void Dispose(bool disposing)
virtual void getGeneralData(OdDgPsPlotStyleGeneralData data)
virtual bool isLineWeightDataPresent(UInt32 lineWeightIndex)
virtual void deleteStringPair(String strActual)
virtual UInt32 getWeightDataCount()
static HandleRef getCPtr(OdDgPsPlotStyle obj)
virtual bool getUseColorDataFlag()
virtual void deleteWeightData(UInt32 lineWeightIndex)
virtual bool getColorData(UInt32 uIndex, OdDgPsPlotStyleColorData data, out UInt32 uColorIndex)
virtual UInt32 getColorDataCount()
static HandleRef getCPtr(OdDgPsPlotStyleSectionData obj)
static HandleRef getCPtr(OdDgPsPlotStyleWeightData obj)
static global::System.Exception Retrieve()
static String OdDgPsPlotStyle_getReplacementString(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static UInt32 OdDgPsPlotStyle_getWeightDataCount(HandleRef jarg1)
static IntPtr OdDgPsPlotStyle_cast(HandleRef jarg1)
static void delete_OdDgPsPlotStyle(HandleRef jarg1)
static IntPtr OdDgPsPlotStyle_createObject()
static bool OdDgPsPlotStyle_isReplacementStringPresent(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void OdDgPsPlotStyle_getGeneralData(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDgPsPlotStyle_getStringPair(HandleRef jarg1, UInt32 jarg2, ref IntPtr jarg3, ref IntPtr jarg4)
static void OdDgPsPlotStyle_addColorData(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, UInt32 jarg3)
static UInt32 OdDgPsPlotStyle_getStringPairCoint(HandleRef jarg1)
static IntPtr OdDgPsPlotStyle_queryX(HandleRef jarg1, HandleRef jarg2)
static void OdDgPsPlotStyle_addWeightData(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, UInt32 jarg3)
static global::System.IntPtr OdDgPsPlotStyle_getSectionData(HandleRef jarg1, UInt32 jarg2)
static bool OdDgPsPlotStyle_getWeightDataByIndex__SWIG_0(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static bool OdDgPsPlotStyle_getUseColorDataFlag(HandleRef jarg1)
static void OdDgPsPlotStyle_addStringPair(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static bool OdDgPsPlotStyle_getColorData(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out UInt32 jarg4)
static IntPtr OdDgPsPlotStyle_isA(HandleRef jarg1)
static bool OdDgPsPlotStyle_getWeightDataByIndex__SWIG_1(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdDgPsPlotStyle_getColorDataByIndex(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDgPsPlotStyle_setFileName(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void OdDgPsPlotStyle_deleteSectionData(HandleRef jarg1, UInt32 jarg2)
static IntPtr OdDgPsPlotStyle_desc()
static bool OdDgPsPlotStyle_isLineWeightDataPresent(HandleRef jarg1, UInt32 jarg2)
static void OdDgPsPlotStyle_setGeneralData(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgPsPlotStyle_addSectionData(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static UInt32 OdDgPsPlotStyle_getColorDataCount(HandleRef jarg1)
static void OdDgPsPlotStyle_setSectionData(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDgPsPlotStyle_deleteColorData(HandleRef jarg1, UInt32 jarg2)
static void OdDgPsPlotStyle_deleteStringPair(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static UInt32 OdDgPsPlotStyle_getSectionDataCount(HandleRef jarg1)
static string OdDgPsPlotStyle_getRealClassName(IntPtr jarg1)
static bool OdDgPsPlotStyle_isColorDataPresent(HandleRef jarg1, UInt32 jarg2)
static bool OdDgPsPlotStyle_getWeightData(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out UInt32 jarg4)
static String OdDgPsPlotStyle_fileName(HandleRef jarg1)
static void OdDgPsPlotStyle_deleteWeightData(HandleRef jarg1, UInt32 jarg2)