/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.12 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ namespace SLNet { using System; using System.Runtime.InteropServices; public class FilterQuery : IDisposable { private HandleRef swigCPtr; protected bool swigCMemOwn; internal FilterQuery(IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = new HandleRef(this, cPtr); } internal static HandleRef getCPtr(FilterQuery obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; } ~FilterQuery() { Dispose(); } public virtual void Dispose() { lock(this) { if (swigCPtr.Handle != IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; SLikeNetPINVOKE.delete_FilterQuery(swigCPtr); } swigCPtr = new HandleRef(null, IntPtr.Zero); } GC.SuppressFinalize(this); } } public FilterQuery() : this(SLikeNetPINVOKE.new_FilterQuery__SWIG_0(), true) { } public FilterQuery(uint column, Cell cell, Table.FilterQueryType op) : this(SLikeNetPINVOKE.new_FilterQuery__SWIG_1(column, Cell.getCPtr(cell), (int)op), true) { } public string columnName { set { SLikeNetPINVOKE.FilterQuery_columnName_set(swigCPtr, value); } get { string ret = SLikeNetPINVOKE.FilterQuery_columnName_get(swigCPtr); return ret; } } public uint columnIndex { set { SLikeNetPINVOKE.FilterQuery_columnIndex_set(swigCPtr, value); } get { uint ret = SLikeNetPINVOKE.FilterQuery_columnIndex_get(swigCPtr); return ret; } } public Cell cellValue { set { SLikeNetPINVOKE.FilterQuery_cellValue_set(swigCPtr, Cell.getCPtr(value)); } get { IntPtr cPtr = SLikeNetPINVOKE.FilterQuery_cellValue_get(swigCPtr); Cell ret = (cPtr == IntPtr.Zero) ? null : new Cell(cPtr, false); return ret; } } public Table.FilterQueryType operation { set { SLikeNetPINVOKE.FilterQuery_operation_set(swigCPtr, (int)value); } get { Table.FilterQueryType ret = (Table.FilterQueryType)SLikeNetPINVOKE.FilterQuery_operation_get(swigCPtr); return ret; } } } }