Ejemplo n.º 1
0
Archivo: Table.cs Proyecto: nulhax/VOID
  	public void SortTable(SortQuery [] sortQueries, uint numSortQueries, out Row[] arg2) 
 	{
		RakNetListSortQuery sortQueriesList =null;
 		if (sortQueries!=null)
 		{
 			sortQueriesList = new RakNetListSortQuery();
 			int listLen = sortQueries.Length;
 			for (int i = 0; i < listLen; i++)
 			{
      	 		    sortQueriesList.Insert(sortQueries[i], "", 1);
 			}
 		}
 
 		int rowCount= (int)GetRowCount();
 		Row[] rowArray= new Row[rowCount];
 		RakNetListTableRow passVal = new RakNetListTableRow();
 		SortTableHelper(sortQueriesList,numSortQueries,passVal);
 		for (int i=0; i<rowCount;i++)
 		{
 		rowArray[i]=passVal[i];
	 	} 
 		arg2=rowArray;
  	}
Ejemplo n.º 2
0
 public bool Insert(uint key, Row data) {
   bool ret = RakNetPINVOKE.RakNetBPlusTreeRow_Insert(swigCPtr, key, Row.getCPtr(data));
   return ret;
 }
Ejemplo n.º 3
0
Archivo: Table.cs Proyecto: nulhax/VOID
 public void PrintRow(byte[] inOutByteArray, int byteArrayLength, char columnDelineator, bool printDelineatorForBinary, Row inputRow) {
   RakNetPINVOKE.Table_PrintRow(swigCPtr, inOutByteArray, byteArrayLength, columnDelineator, printDelineatorForBinary, Row.getCPtr(inputRow));
 }
 public Row Get(uint position)
 {
     Row ret = new Row(RakNetPINVOKE.RakNetListTableRow_Get(swigCPtr, position), false);
     return ret;
 }
Ejemplo n.º 5
0
 internal static HandleRef getCPtr(Row obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public void Replace(Row input, Row filler, uint position, string file, uint line)
 {
     RakNetPINVOKE.RakNetListTableRow_Replace__SWIG_0(swigCPtr, Row.getCPtr(input), Row.getCPtr(filler), position, file, line);
     if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
 public void Replace(Row input)
 {
     RakNetPINVOKE.RakNetListTableRow_Replace__SWIG_1(swigCPtr, Row.getCPtr(input));
     if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
 public Row Pop()
 {
     Row ret = new Row(RakNetPINVOKE.RakNetListTableRow_Pop(swigCPtr), false);
     return ret;
 }
 public void Push(Row input, string file, uint line)
 {
     RakNetPINVOKE.RakNetListTableRow_Push(swigCPtr, Row.getCPtr(input), file, line);
     if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
 public void Insert(Row input, uint position, string file, uint line)
 {
     RakNetPINVOKE.RakNetListTableRow_Insert__SWIG_0(swigCPtr, Row.getCPtr(input), position, file, line);
     if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 11
0
        public Row Pop()
        {
            Row ret = new Row(RakNetPINVOKE.RakNetListTableRow_Pop(swigCPtr), false);

            return(ret);
        }
Ejemplo n.º 12
0
        public Row Get(uint position)
        {
            Row ret = new Row(RakNetPINVOKE.RakNetListTableRow_Get(swigCPtr, position), false);

            return(ret);
        }
Ejemplo n.º 13
0
 public void Replace(Row input, Row filler, uint position, string file, uint line)
 {
     RakNetPINVOKE.RakNetListTableRow_Replace__SWIG_0(swigCPtr, Row.getCPtr(input), Row.getCPtr(filler), position, file, line);
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 14
0
        public bool Insert(uint key, Row data)
        {
            bool ret = RakNetPINVOKE.RakNetBPlusTreeRow_Insert(swigCPtr, key, Row.getCPtr(data));

            return(ret);
        }