Inheritance: IDisposable
Example #1
0
 public StrPtr GetVar(StrPtr var, int x, int y)
 {
     IntPtr cPtr = p4apiPINVOKE.StrDict_GetVar__SWIG_3(swigCPtr, StrPtr.getCPtr(var), x, y);
     StrPtr ret = (cPtr == IntPtr.Zero) ? null : new StrPtr(cPtr, false);
     if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #2
0
 internal static HandleRef getCPtr(StrPtr obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #3
0
 public int XCompareN(StrPtr s)
 {
     int ret = p4apiPINVOKE.StrPtr_XCompareN(swigCPtr, StrPtr.getCPtr(s));
     if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #4
0
 public string Contains(StrPtr s)
 {
     string ret = p4apiPINVOKE.StrPtr_Contains(swigCPtr, StrPtr.getCPtr(s));
     if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #5
0
 public virtual void Prompt(StrPtr msg, StrBuf rsp, int noEcho, Error e)
 {
     if (this.GetType() == typeof(ClientUser)) p4apiPINVOKE.ClientUser_Prompt(swigCPtr, StrPtr.getCPtr(msg), StrBuf.getCPtr(rsp), noEcho, Error.getCPtr(e)); else p4apiPINVOKE.ClientUser_PromptSwigExplicitClientUser(swigCPtr, StrPtr.getCPtr(msg), StrBuf.getCPtr(rsp), noEcho, Error.getCPtr(e));
     if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve();
 }
Example #6
0
 public static StrPtr Null()
 {
     StrPtr ret = new StrPtr(p4apiPINVOKE.StrRef_Null(), false);
     return ret;
 }
Example #7
0
 public void SetVar(string var, StrPtr value)
 {
     p4apiPINVOKE.StrDict_SetVar__SWIG_3(swigCPtr, var, StrPtr.getCPtr(value));
 }
Example #8
0
 public StrBuf(StrPtr s)
     : this(p4apiPINVOKE.new_StrBuf__SWIG_3(StrPtr.getCPtr(s)), true)
 {
     if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve();
 }
Example #9
0
 public void SetTicketFile(StrPtr c)
 {
     p4apiPINVOKE.ClientApi_SetTicketFile__SWIG_1(swigCPtr, StrPtr.getCPtr(c));
 }
Example #10
0
 public void SetPassword(StrPtr c)
 {
     p4apiPINVOKE.ClientApi_SetPassword__SWIG_1(swigCPtr, StrPtr.getCPtr(c));
 }
Example #11
0
 public void SetLanguage(StrPtr c)
 {
     p4apiPINVOKE.ClientApi_SetLanguage__SWIG_1(swigCPtr, StrPtr.getCPtr(c));
 }
Example #12
0
 public StrPtr GetUser()
 {
     StrPtr ret = new StrPtr(p4apiPINVOKE.ClientApi_GetUser(swigCPtr), false);
     return ret;
 }
Example #13
0
 public void SetVar(string var, int x, int y, StrPtr val)
 {
     p4apiPINVOKE.StrDict_SetVar__SWIG_8(swigCPtr, var, x, y, StrPtr.getCPtr(val));
     if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve();
 }
Example #14
0
 public void SetVar(StrPtr var, StrPtr value)
 {
     p4apiPINVOKE.StrDict_SetVar__SWIG_5(swigCPtr, StrPtr.getCPtr(var), StrPtr.getCPtr(value));
     if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve();
 }
Example #15
0
 public StrVarName(StrPtr name, int x, int y)
     : this(p4apiPINVOKE.new_StrVarName__SWIG_2(StrPtr.getCPtr(name), x, y), true)
 {
     if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve();
 }
Example #16
0
 public void SetUser(StrPtr c)
 {
     p4apiPINVOKE.ClientApi_SetUser__SWIG_1(swigCPtr, StrPtr.getCPtr(c));
 }
Example #17
0
 public void Set(StrPtr s)
 {
     p4apiPINVOKE.StrBuf_Set__SWIG_1(swigCPtr, StrPtr.getCPtr(s));
 }
Example #18
0
 public void SetVersion(StrPtr c)
 {
     p4apiPINVOKE.ClientApi_SetVersion__SWIG_1(swigCPtr, StrPtr.getCPtr(c));
 }
Example #19
0
 public void Append(StrPtr s)
 {
     p4apiPINVOKE.StrBuf_Append__SWIG_1(swigCPtr, StrPtr.getCPtr(s));
 }
Example #20
0
 public void UnMarshall2(StrPtr arg0)
 {
     p4apiPINVOKE.Error_UnMarshall2(swigCPtr, StrPtr.getCPtr(arg0));
     if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve();
 }