/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version: 1.3.19
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

using System;
public class XmlIndexDeclaration : IDisposable {
  private IntPtr swigCPtr;
  protected bool swigCMemOwn;

  internal XmlIndexDeclaration(IntPtr cPtr, bool cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  public virtual void Dispose() {
    delete();
  }

  protected virtual void delete() {
    if(swigCPtr != IntPtr.Zero && swigCMemOwn) {
      dbxml_dotnetPINVOKE.delete_XmlIndexDeclaration(swigCPtr);
      swigCMemOwn = false;
    }
    swigCPtr = IntPtr.Zero;
  }

  internal static IntPtr getCPtr(XmlIndexDeclaration obj) {
    return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
  }

  public string get_uri() {
    return dbxml_dotnetPINVOKE.XmlIndexDeclaration_get_uri(swigCPtr);
  }

  public string get_name() {
    return dbxml_dotnetPINVOKE.XmlIndexDeclaration_get_name(swigCPtr);
  }

  public string get_index() {
    return dbxml_dotnetPINVOKE.XmlIndexDeclaration_get_index(swigCPtr);
  }

  public XmlIndexDeclaration() : this(dbxml_dotnetPINVOKE.new_XmlIndexDeclaration(), true) {
  }

}
