/* ###
 * IP: Apache License 2.0 with LLVM Exceptions
 */
/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 4.0.1
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package SWIG;

public class SBTypeMemberFunction {
  private transient long swigCPtr;
  protected transient boolean swigCMemOwn;

  protected SBTypeMemberFunction(long cPtr, boolean cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  protected static long getCPtr(SBTypeMemberFunction obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  @SuppressWarnings("deprecation")
  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if (swigCPtr != 0) {
      if (swigCMemOwn) {
        swigCMemOwn = false;
        lldbJNI.delete_SBTypeMemberFunction(swigCPtr);
      }
      swigCPtr = 0;
    }
  }

  public SBTypeMemberFunction() {
    this(lldbJNI.new_SBTypeMemberFunction__SWIG_0(), true);
  }

  public SBTypeMemberFunction(SBTypeMemberFunction rhs) {
    this(lldbJNI.new_SBTypeMemberFunction__SWIG_1(SBTypeMemberFunction.getCPtr(rhs), rhs), true);
  }

  public boolean IsValid() {
    return lldbJNI.SBTypeMemberFunction_IsValid(swigCPtr, this);
  }

  public String GetName() {
    return lldbJNI.SBTypeMemberFunction_GetName(swigCPtr, this);
  }

  public String GetDemangledName() {
    return lldbJNI.SBTypeMemberFunction_GetDemangledName(swigCPtr, this);
  }

  public String GetMangledName() {
    return lldbJNI.SBTypeMemberFunction_GetMangledName(swigCPtr, this);
  }

  public SBType GetType() {
    return new SBType(lldbJNI.SBTypeMemberFunction_GetType(swigCPtr, this), true);
  }

  public SBType GetReturnType() {
    return new SBType(lldbJNI.SBTypeMemberFunction_GetReturnType(swigCPtr, this), true);
  }

  public long GetNumberOfArguments() {
    return lldbJNI.SBTypeMemberFunction_GetNumberOfArguments(swigCPtr, this);
  }

  public SBType GetArgumentTypeAtIndex(long arg0) {
    return new SBType(lldbJNI.SBTypeMemberFunction_GetArgumentTypeAtIndex(swigCPtr, this, arg0), true);
  }

  public MemberFunctionKind GetKind() {
    return MemberFunctionKind.swigToEnum(lldbJNI.SBTypeMemberFunction_GetKind(swigCPtr, this));
  }

  public boolean GetDescription(SBStream description, DescriptionLevel description_level) {
    return lldbJNI.SBTypeMemberFunction_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description, description_level.swigValue());
  }

  public String __repr__() {
    return lldbJNI.SBTypeMemberFunction___repr__(swigCPtr, this);
  }

}
