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

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

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

  public SBProcessInfo() {
    this(lldbJNI.new_SBProcessInfo__SWIG_0(), true);
  }

  public SBProcessInfo(SBProcessInfo rhs) {
    this(lldbJNI.new_SBProcessInfo__SWIG_1(SBProcessInfo.getCPtr(rhs), rhs), true);
  }

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

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

  public SBFileSpec GetExecutableFile() {
    return new SBFileSpec(lldbJNI.SBProcessInfo_GetExecutableFile(swigCPtr, this), true);
  }

  public java.math.BigInteger GetProcessID() {
    return lldbJNI.SBProcessInfo_GetProcessID(swigCPtr, this);
  }

  public long GetUserID() {
    return lldbJNI.SBProcessInfo_GetUserID(swigCPtr, this);
  }

  public long GetGroupID() {
    return lldbJNI.SBProcessInfo_GetGroupID(swigCPtr, this);
  }

  public boolean UserIDIsValid() {
    return lldbJNI.SBProcessInfo_UserIDIsValid(swigCPtr, this);
  }

  public boolean GroupIDIsValid() {
    return lldbJNI.SBProcessInfo_GroupIDIsValid(swigCPtr, this);
  }

  public long GetEffectiveUserID() {
    return lldbJNI.SBProcessInfo_GetEffectiveUserID(swigCPtr, this);
  }

  public long GetEffectiveGroupID() {
    return lldbJNI.SBProcessInfo_GetEffectiveGroupID(swigCPtr, this);
  }

  public boolean EffectiveUserIDIsValid() {
    return lldbJNI.SBProcessInfo_EffectiveUserIDIsValid(swigCPtr, this);
  }

  public boolean EffectiveGroupIDIsValid() {
    return lldbJNI.SBProcessInfo_EffectiveGroupIDIsValid(swigCPtr, this);
  }

  public java.math.BigInteger GetParentProcessID() {
    return lldbJNI.SBProcessInfo_GetParentProcessID(swigCPtr, this);
  }

  public String GetTriple() {
    return lldbJNI.SBProcessInfo_GetTriple(swigCPtr, this);
  }

}
