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

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 labelCacheMemberObj
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 labelCacheMemberObj object.
48    */
49   public labelCacheMemberObj()
50   {
510    this(MapScriptJNI.new_labelCacheMemberObj(), true);
520  }
53  
54   /**
55    * Creates a new labelCacheMemberObj object.
56    *
57    * @param cPtr PARAMETER
58    * @param cMemoryOwn PARAMETER
59    */
60   protected labelCacheMemberObj(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 int getClassidx()
74   {
750    return MapScriptJNI.get_labelCacheMemberObj_classidx(swigCPtr);
76   }
77  
78   /**
79    * DOCUMENT ME!
80    *
81    * @return RETURN
82    *
83    * @todo METHOD_DESCRIPTION
84    */
85   public double getFeaturesize()
86   {
870    return MapScriptJNI.get_labelCacheMemberObj_featuresize(swigCPtr);
88   }
89  
90   /**
91    * DOCUMENT ME!
92    *
93    * @return RETURN
94    *
95    * @todo METHOD_DESCRIPTION
96    */
97   public int getLayeridx()
98   {
990    return MapScriptJNI.get_labelCacheMemberObj_layeridx(swigCPtr);
100   }
101  
102   /**
103    * DOCUMENT ME!
104    *
105    * @return RETURN
106    *
107    * @todo METHOD_DESCRIPTION
108    */
109   public pointObj getPoint()
110   {
1110    return new pointObj(MapScriptJNI.get_labelCacheMemberObj_point(swigCPtr),
112       false);
113   }
114  
115   /**
116    * DOCUMENT ME!
117    *
118    * @return RETURN
119    *
120    * @todo METHOD_DESCRIPTION
121    */
122   public shapeObj getPoly()
123   {
1240    return new shapeObj(MapScriptJNI.get_labelCacheMemberObj_poly(swigCPtr),
125       false);
126   }
127  
128   /**
129    * DOCUMENT ME!
130    *
131    * @return RETURN
132    *
133    * @todo METHOD_DESCRIPTION
134    */
135   public int getShapeidx()
136   {
1370    return MapScriptJNI.get_labelCacheMemberObj_shapeidx(swigCPtr);
138   }
139  
140   /**
141    * DOCUMENT ME!
142    *
143    * @return RETURN
144    *
145    * @todo METHOD_DESCRIPTION
146    */
147   public int getStatus()
148   {
1490    return MapScriptJNI.get_labelCacheMemberObj_status(swigCPtr);
150   }
151  
152   /**
153    * DOCUMENT ME!
154    *
155    * @return RETURN
156    *
157    * @todo METHOD_DESCRIPTION
158    */
159   public String getString()
160   {
1610    return MapScriptJNI.get_labelCacheMemberObj_string(swigCPtr);
162   }
163  
164   /**
165    * DOCUMENT ME!
166    *
167    * @return RETURN
168    *
169    * @todo METHOD_DESCRIPTION
170    */
171   public int getTileidx()
172   {
1730    return MapScriptJNI.get_labelCacheMemberObj_tileidx(swigCPtr);
174   }
175  
176   /**
177    * DOCUMENT ME!
178    *
179    * @todo METHOD_DESCRIPTION
180    */
181   public void delete()
182   {
1830    if ((swigCPtr != 0) && swigCMemOwn)
184     {
1850      MapScriptJNI.delete_labelCacheMemberObj(swigCPtr);
1860      swigCMemOwn = false;
187     }
188  
1890    swigCPtr = 0;
1900  }
191  
192   /**
193    * DOCUMENT ME!
194    *
195    * @param obj PARAMETER
196    *
197    * @return RETURN
198    *
199    * @todo METHOD_DESCRIPTION
200    */
201   public boolean equals(Object obj)
202   {
2030    boolean equal = false;
204  
2050    if (obj instanceof labelCacheMemberObj)
206     {
2070      equal = (((labelCacheMemberObj) obj).swigCPtr == this.swigCPtr);
208     }
209  
2100    return equal;
211   }
212  
213   /**
214    * DOCUMENT ME!
215    *
216    * @return RETURN
217    *
218    * @todo METHOD_DESCRIPTION
219    */
220   public classObj get_class()
221   {
2220    return new classObj(MapScriptJNI.get_labelCacheMemberObj__class(swigCPtr),
223       false);
224   }
225  
226   /**
227    * DOCUMENT ME!
228    *
229    * @param obj PARAMETER
230    *
231    * @return RETURN
232    *
233    * @todo METHOD_DESCRIPTION
234    */
235   protected static long getCPtr(labelCacheMemberObj obj)
236   {
2370    return obj.swigCPtr;
238   }
239  
240   /**
241    * DOCUMENT ME!
242    *
243    * @todo METHOD_DESCRIPTION
244    */
245   protected void finalize()
246   {
2470    delete();
2480  }
249 }

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.