Coverage details for edu.umn.gis.mapscript.imp.resultCacheMemberObj

LineHitsSource
1 // A Java MapScript module for MapServer.
2 // See <http://mapserver.gis.umn.edu> for information on MapServer.
3 //
4 // Copyright (C) 2003 Andrew Collins <andrewrcollins@yahoo.com>
5 //
6 // This library is free software; you can redistribute it
7 // and/or modify it under the terms of the GNU Lesser General
8 // Public License as published by the Free Software Foundation;
9 // either version 2.1 of the License, or (at your option) any
10 // later version.
11 //
12 // This library is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty
14 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 // See the GNU Lesser General Public License for more details.
16 //
17 // You should have received a copy of the GNU Lesser General
18 // Public License along with this library; if not, write to
19 // the Free Software Foundation, Inc., 59 Temple Place,
20 // Suite 330, Boston, MA 02111-1307 USA
21 package edu.umn.gis.mapscript.imp;
22  
23 /**
24  * DOCUMENT ME!
25  *
26  * @author <a href="mailto:ADDRESS">NAME</a>
27  *
28  * @todo CLASS_DESCRIPTION
29  */
30 public class resultCacheMemberObj
31 {
32   /**
33    * DOCUMENT ME!
34    *
35    * @todo FIELD_DESCRIPTION
36    */
37   protected boolean swigCMemOwn;
38  
39   /**
40    * DOCUMENT ME!
41    *
42    * @todo FIELD_DESCRIPTION
43    */
44   private long swigCPtr;
45  
46   /**
47    * Creates a new resultCacheMemberObj object.
48    */
49   public resultCacheMemberObj()
50   {
510    this(MapScriptJNI.new_resultCacheMemberObj(), true);
520  }
53  
54   /**
55    * Creates a new resultCacheMemberObj object.
56    *
57    * @param cPtr PARAMETER
58    * @param cMemoryOwn PARAMETER
59    */
60   protected resultCacheMemberObj(long cPtr, boolean cMemoryOwn)
610  {
620    swigCMemOwn = cMemoryOwn;
630    swigCPtr = cPtr;
640  }
65  
66   /**
67    * DOCUMENT ME!
68    *
69    * @return RETURN
70    *
71    * @todo METHOD_DESCRIPTION
72    */
73   public char getClassindex()
74   {
750    return MapScriptJNI.get_resultCacheMemberObj_classindex(swigCPtr);
76   }
77  
78   /**
79    * DOCUMENT ME!
80    *
81    * @return RETURN
82    *
83    * @todo METHOD_DESCRIPTION
84    */
85   public int getShapeindex()
86   {
870    return MapScriptJNI.get_resultCacheMemberObj_shapeindex(swigCPtr);
88   }
89  
90   /**
91    * DOCUMENT ME!
92    *
93    * @return RETURN
94    *
95    * @todo METHOD_DESCRIPTION
96    */
97   public int getTileindex()
98   {
990    return MapScriptJNI.get_resultCacheMemberObj_tileindex(swigCPtr);
100   }
101  
102   /**
103    * DOCUMENT ME!
104    *
105    * @todo METHOD_DESCRIPTION
106    */
107   public void delete()
108   {
1090    if ((swigCPtr != 0) && swigCMemOwn)
110     {
1110      MapScriptJNI.delete_resultCacheMemberObj(swigCPtr);
1120      swigCMemOwn = false;
113     }
114  
1150    swigCPtr = 0;
1160  }
117  
118   /**
119    * DOCUMENT ME!
120    *
121    * @param obj PARAMETER
122    *
123    * @return RETURN
124    *
125    * @todo METHOD_DESCRIPTION
126    */
127   public boolean equals(Object obj)
128   {
1290    boolean equal = false;
130  
1310    if (obj instanceof resultCacheMemberObj)
132     {
1330      equal = (((resultCacheMemberObj) obj).swigCPtr == this.swigCPtr);
134     }
135  
1360    return equal;
137   }
138  
139   /**
140    * DOCUMENT ME!
141    *
142    * @param obj PARAMETER
143    *
144    * @return RETURN
145    *
146    * @todo METHOD_DESCRIPTION
147    */
148   protected static long getCPtr(resultCacheMemberObj obj)
149   {
1500    return obj.swigCPtr;
151   }
152  
153   /**
154    * DOCUMENT ME!
155    *
156    * @todo METHOD_DESCRIPTION
157    */
158   protected void finalize()
159   {
1600    delete();
1610  }
162 }

this report was generated by version 1.0.2 of jcoverage.
visit www.jcoverage.com for updates.

copyright © 2003, jcoverage ltd. all rights reserved.
Java is a trademark of Sun Microsystems, Inc. in the United States and other countries.