/* ###
 * 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 SBTypeCategory {
  private transient long swigCPtr;
  protected transient boolean swigCMemOwn;

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

  protected static long getCPtr(SBTypeCategory 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_SBTypeCategory(swigCPtr);
      }
      swigCPtr = 0;
    }
  }

  public SBTypeCategory() {
    this(lldbJNI.new_SBTypeCategory__SWIG_0(), true);
  }

  public SBTypeCategory(SBTypeCategory rhs) {
    this(lldbJNI.new_SBTypeCategory__SWIG_1(SBTypeCategory.getCPtr(rhs), rhs), true);
  }

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

  public boolean GetEnabled() {
    return lldbJNI.SBTypeCategory_GetEnabled(swigCPtr, this);
  }

  public void SetEnabled(boolean arg0) {
    lldbJNI.SBTypeCategory_SetEnabled(swigCPtr, this, arg0);
  }

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

  public LanguageType GetLanguageAtIndex(long idx) {
    return LanguageType.swigToEnum(lldbJNI.SBTypeCategory_GetLanguageAtIndex(swigCPtr, this, idx));
  }

  public long GetNumLanguages() {
    return lldbJNI.SBTypeCategory_GetNumLanguages(swigCPtr, this);
  }

  public void AddLanguage(LanguageType language) {
    lldbJNI.SBTypeCategory_AddLanguage(swigCPtr, this, language.swigValue());
  }

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

  public long GetNumFormats() {
    return lldbJNI.SBTypeCategory_GetNumFormats(swigCPtr, this);
  }

  public long GetNumSummaries() {
    return lldbJNI.SBTypeCategory_GetNumSummaries(swigCPtr, this);
  }

  public long GetNumFilters() {
    return lldbJNI.SBTypeCategory_GetNumFilters(swigCPtr, this);
  }

  public long GetNumSynthetics() {
    return lldbJNI.SBTypeCategory_GetNumSynthetics(swigCPtr, this);
  }

  public SBTypeNameSpecifier GetTypeNameSpecifierForFilterAtIndex(long arg0) {
    return new SBTypeNameSpecifier(lldbJNI.SBTypeCategory_GetTypeNameSpecifierForFilterAtIndex(swigCPtr, this, arg0), true);
  }

  public SBTypeNameSpecifier GetTypeNameSpecifierForFormatAtIndex(long arg0) {
    return new SBTypeNameSpecifier(lldbJNI.SBTypeCategory_GetTypeNameSpecifierForFormatAtIndex(swigCPtr, this, arg0), true);
  }

  public SBTypeNameSpecifier GetTypeNameSpecifierForSummaryAtIndex(long arg0) {
    return new SBTypeNameSpecifier(lldbJNI.SBTypeCategory_GetTypeNameSpecifierForSummaryAtIndex(swigCPtr, this, arg0), true);
  }

  public SBTypeNameSpecifier GetTypeNameSpecifierForSyntheticAtIndex(long arg0) {
    return new SBTypeNameSpecifier(lldbJNI.SBTypeCategory_GetTypeNameSpecifierForSyntheticAtIndex(swigCPtr, this, arg0), true);
  }

  public SBTypeFilter GetFilterForType(SBTypeNameSpecifier arg0) {
    return new SBTypeFilter(lldbJNI.SBTypeCategory_GetFilterForType(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0), true);
  }

  public SBTypeFormat GetFormatForType(SBTypeNameSpecifier arg0) {
    return new SBTypeFormat(lldbJNI.SBTypeCategory_GetFormatForType(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0), true);
  }

  public SBTypeSummary GetSummaryForType(SBTypeNameSpecifier arg0) {
    return new SBTypeSummary(lldbJNI.SBTypeCategory_GetSummaryForType(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0), true);
  }

  public SBTypeSynthetic GetSyntheticForType(SBTypeNameSpecifier arg0) {
    return new SBTypeSynthetic(lldbJNI.SBTypeCategory_GetSyntheticForType(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0), true);
  }

  public SBTypeFilter GetFilterAtIndex(long arg0) {
    return new SBTypeFilter(lldbJNI.SBTypeCategory_GetFilterAtIndex(swigCPtr, this, arg0), true);
  }

  public SBTypeFormat GetFormatAtIndex(long arg0) {
    return new SBTypeFormat(lldbJNI.SBTypeCategory_GetFormatAtIndex(swigCPtr, this, arg0), true);
  }

  public SBTypeSummary GetSummaryAtIndex(long arg0) {
    return new SBTypeSummary(lldbJNI.SBTypeCategory_GetSummaryAtIndex(swigCPtr, this, arg0), true);
  }

  public SBTypeSynthetic GetSyntheticAtIndex(long arg0) {
    return new SBTypeSynthetic(lldbJNI.SBTypeCategory_GetSyntheticAtIndex(swigCPtr, this, arg0), true);
  }

  public boolean AddTypeFormat(SBTypeNameSpecifier arg0, SBTypeFormat arg1) {
    return lldbJNI.SBTypeCategory_AddTypeFormat(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0, SBTypeFormat.getCPtr(arg1), arg1);
  }

  public boolean DeleteTypeFormat(SBTypeNameSpecifier arg0) {
    return lldbJNI.SBTypeCategory_DeleteTypeFormat(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0);
  }

  public boolean AddTypeSummary(SBTypeNameSpecifier arg0, SBTypeSummary arg1) {
    return lldbJNI.SBTypeCategory_AddTypeSummary(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0, SBTypeSummary.getCPtr(arg1), arg1);
  }

  public boolean DeleteTypeSummary(SBTypeNameSpecifier arg0) {
    return lldbJNI.SBTypeCategory_DeleteTypeSummary(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0);
  }

  public boolean AddTypeFilter(SBTypeNameSpecifier arg0, SBTypeFilter arg1) {
    return lldbJNI.SBTypeCategory_AddTypeFilter(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0, SBTypeFilter.getCPtr(arg1), arg1);
  }

  public boolean DeleteTypeFilter(SBTypeNameSpecifier arg0) {
    return lldbJNI.SBTypeCategory_DeleteTypeFilter(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0);
  }

  public boolean AddTypeSynthetic(SBTypeNameSpecifier arg0, SBTypeSynthetic arg1) {
    return lldbJNI.SBTypeCategory_AddTypeSynthetic(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0, SBTypeSynthetic.getCPtr(arg1), arg1);
  }

  public boolean DeleteTypeSynthetic(SBTypeNameSpecifier arg0) {
    return lldbJNI.SBTypeCategory_DeleteTypeSynthetic(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0);
  }

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

}
