Esempio n. 1
0
 public ListElement(SGObject p_data) : this(modshogunPINVOKE.new_ListElement__SWIG_3(SGObject.getCPtr(p_data)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public ModelSelectionParameters(string node_name, SGObject sgobject) : this(modshogunPINVOKE.new_ModelSelectionParameters__SWIG_2(node_name, SGObject.getCPtr(sgobject)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
    public bool insert_element(SGObject data)
    {
        bool ret = modshogunPINVOKE.List_insert_element(swigCPtr, SGObject.getCPtr(data));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 4
0
    public SGObject get_next_element()
    {
        IntPtr   cPtr = modshogunPINVOKE.List_get_next_element__SWIG_0(swigCPtr);
        SGObject ret  = (cPtr == IntPtr.Zero) ? null : new SGObject(cPtr, false);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 5
0
    public SGObject get_current_element(ListElement p_current)
    {
        IntPtr   cPtr = modshogunPINVOKE.List_get_current_element__SWIG_1(swigCPtr, ListElement.getCPtr(p_current));
        SGObject ret  = (cPtr == IntPtr.Zero) ? null : new SGObject(cPtr, false);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public ModelSelectionParameters(string node_name, SGObject sgobject) : this(modshogunPINVOKE.new_ModelSelectionParameters__SWIG_2(node_name, SGObject.getCPtr(sgobject)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 7
0
 internal static HandleRef getCPtr(SGObject obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 8
0
 public bool insert_element(SGObject data) {
   bool ret = modshogunPINVOKE.List_insert_element(swigCPtr, SGObject.getCPtr(data));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 9
0
 internal static HandleRef getCPtr(SGObject obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 10
0
 public ListElement(SGObject p_data) : this(modshogunPINVOKE.new_ListElement__SWIG_3(SGObject.getCPtr(p_data)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }