CPKIFFuncStorage.java
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 package com.orionsec.jpkif;
00010
00011 public class CPKIFFuncStorage {
00012 private long swigCPtr;
00013 protected boolean swigCMemOwn;
00014
00015 public CPKIFFuncStorage(long cPtr, boolean cMemoryOwn) {
00016 swigCMemOwn = cMemoryOwn;
00017 swigCPtr = cPtr;
00018 }
00019
00020 public static long getCPtr(CPKIFFuncStorage obj) {
00021 return (obj == null) ? 0 : obj.swigCPtr;
00022 }
00023
00024 protected void finalize() {
00025 delete();
00026 }
00027
00028 public synchronized void delete() {
00029 if (swigCPtr != 0) {
00030 if (swigCMemOwn) {
00031 swigCMemOwn = false;
00032 pkif_moduleJNI.delete_CPKIFFuncStorage(swigCPtr);
00033 }
00034 swigCPtr = 0;
00035 }
00036 }
00037
00038 public CPKIFFuncStorage(SWIGTYPE_p_f_r_q_const__boost__shared_ptr__CPKIFCertificateNodeEntry___r_CPKIFPathValidationResults_enum_CertificateType__void arg0) {
00039 this(pkif_moduleJNI.new_CPKIFFuncStorage(SWIGTYPE_p_f_r_q_const__boost__shared_ptr__CPKIFCertificateNodeEntry___r_CPKIFPathValidationResults_enum_CertificateType__void.getCPtr(arg0)), true);
00040 }
00041
00042 public void addFuncs(CPKIFFuncStorage v) {
00043 pkif_moduleJNI.CPKIFFuncStorage_addFuncs(swigCPtr, this, CPKIFFuncStorage.getCPtr(v), v);
00044 }
00045
00046 public void addFunc(SWIGTYPE_p_f_r_q_const__boost__shared_ptr__CPKIFCertificateNodeEntry___r_CPKIFPathValidationResults_enum_CertificateType__void arg0) {
00047 pkif_moduleJNI.CPKIFFuncStorage_addFunc(swigCPtr, this, SWIGTYPE_p_f_r_q_const__boost__shared_ptr__CPKIFCertificateNodeEntry___r_CPKIFPathValidationResults_enum_CertificateType__void.getCPtr(arg0));
00048 }
00049
00050 public void getFuncs(SWIGTYPE_p_std__vectorT_void_fpFfboost__shared_ptrT_CPKIFCertificateNodeEntry_t_const_R_CPKIFPathValidationResults_R_CertificateTypeF_t vec) {
00051 pkif_moduleJNI.CPKIFFuncStorage_getFuncs(swigCPtr, this, SWIGTYPE_p_std__vectorT_void_fpFfboost__shared_ptrT_CPKIFCertificateNodeEntry_t_const_R_CPKIFPathValidationResults_R_CertificateTypeF_t.getCPtr(vec));
00052 }
00053
00054 public boolean empty() {
00055 return pkif_moduleJNI.CPKIFFuncStorage_empty(swigCPtr, this);
00056 }
00057
00058 }