IPKIFHasAttributes.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 IPKIFHasAttributes {
00012 private long swigCPtr;
00013 protected boolean swigCMemOwn;
00014
00015 public IPKIFHasAttributes(long cPtr, boolean cMemoryOwn) {
00016 swigCMemOwn = cMemoryOwn;
00017 swigCPtr = cPtr;
00018 }
00019
00020 public static long getCPtr(IPKIFHasAttributes 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_IPKIFHasAttributes(swigCPtr);
00033 }
00034 swigCPtr = 0;
00035 }
00036 }
00037
00038 public void GetUnprotectedAttributes(IPKIFParseAttributes m, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t attr) {
00039 pkif_moduleJNI.IPKIFHasAttributes_GetUnprotectedAttributes(swigCPtr, this, IPKIFParseAttributes.getCPtr(m), m, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t.getCPtr(attr));
00040 }
00041
00042 public void GetSignedAttributes(IPKIFParseAttributes m, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t attr) {
00043 pkif_moduleJNI.IPKIFHasAttributes_GetSignedAttributes(swigCPtr, this, IPKIFParseAttributes.getCPtr(m), m, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t.getCPtr(attr));
00044 }
00045
00046 public void GetUnsignedAttributes(IPKIFParseAttributes m, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t attr) {
00047 pkif_moduleJNI.IPKIFHasAttributes_GetUnsignedAttributes(swigCPtr, this, IPKIFParseAttributes.getCPtr(m), m, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t.getCPtr(attr));
00048 }
00049
00050 public void GetAttributes(IPKIFParseAttributes m, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t attr) {
00051 pkif_moduleJNI.IPKIFHasAttributes_GetAttributes(swigCPtr, this, IPKIFParseAttributes.getCPtr(m), m, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t.getCPtr(attr));
00052 }
00053
00054 public void GetEncodedUnprotectedAttributes(CPKIFBufferPtr buf) {
00055 pkif_moduleJNI.IPKIFHasAttributes_GetEncodedUnprotectedAttributes(swigCPtr, this, CPKIFBufferPtr.getCPtr(buf), buf);
00056 }
00057
00058 public void GetEncodedSignedAttributes(CPKIFBufferPtr buf) {
00059 pkif_moduleJNI.IPKIFHasAttributes_GetEncodedSignedAttributes(swigCPtr, this, CPKIFBufferPtr.getCPtr(buf), buf);
00060 }
00061
00062 public void GetEncodedUnsignedAttributes(CPKIFBufferPtr buf) {
00063 pkif_moduleJNI.IPKIFHasAttributes_GetEncodedUnsignedAttributes(swigCPtr, this, CPKIFBufferPtr.getCPtr(buf), buf);
00064 }
00065
00066 public void GetEncodedAttributes(CPKIFBufferPtr buf) {
00067 pkif_moduleJNI.IPKIFHasAttributes_GetEncodedAttributes(swigCPtr, this, CPKIFBufferPtr.getCPtr(buf), buf);
00068 }
00069
00070 public void GetAddedUnprotectedAttributes(SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t attr) {
00071 pkif_moduleJNI.IPKIFHasAttributes_GetAddedUnprotectedAttributes(swigCPtr, this, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t.getCPtr(attr));
00072 }
00073
00074 public void GetAddedSignedAttributes(SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t attr) {
00075 pkif_moduleJNI.IPKIFHasAttributes_GetAddedSignedAttributes(swigCPtr, this, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t.getCPtr(attr));
00076 }
00077
00078 public void GetAddedUnsignedAttributes(SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t attr) {
00079 pkif_moduleJNI.IPKIFHasAttributes_GetAddedUnsignedAttributes(swigCPtr, this, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t.getCPtr(attr));
00080 }
00081
00082 public void GetAddedAttributes(SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t attr) {
00083 pkif_moduleJNI.IPKIFHasAttributes_GetAddedAttributes(swigCPtr, this, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFAttribute_t_t.getCPtr(attr));
00084 }
00085
00086 public IPKIFHasAttributes() {
00087 this(pkif_moduleJNI.new_IPKIFHasAttributes(), true);
00088 }
00089
00090 }