All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EnumObjectType.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file EnumObjectType.h
22 
23  \brief Class to represent a graphic object (MVC component) and widget object (MVC widget) type enumeration.
24  Ex. component: map, legend, scale, rectangle, text, etc.
25  Ex. widget: object inspector, toolbar, etc.
26 
27  \ingroup layout
28 */
29 
30 #ifndef __TERRALIB_LAYOUT_INTERNAL_ENUM_OBJECTTYPE_H
31 #define __TERRALIB_LAYOUT_INTERNAL_ENUM_OBJECTTYPE_H
32 
33 // TerraLib
34 #include "AbstractEnum.h"
35 #include "../Config.h"
36 
37 // STL
38 #include <vector>
39 
40 namespace te
41 {
42  namespace layout
43  {
44  /*!
45  \brief Class to represent a graphic object (MVC component) and widget object (MVC widget) type enumeration.
46  Ex. component: map, legend, scale, rectangle, text, etc.
47  Ex. widget: object inspector, toolbar, etc.
48 
49  \ingroup layout
50 
51  \sa te::layout::AbstractEnum
52  */
54  {
55  public:
56 
57  /*!
58  \brief Constructor
59  */
60  EnumObjectType();
61 
62  /*!
63  \brief Destructor
64  */
65  virtual ~EnumObjectType();
66 
67  /*!
68  \brief Returns value that represents rectangle (MVC Component) type belonging to enumeration.
69 
70  \return enum value
71  */
72  virtual EnumType* getRectangleItem() const;
73 
74  /*!
75  \brief Returns value that represents map (MVC Component) type belonging to enumeration.
76 
77  \return enum value
78  */
79  virtual EnumType* getMapItem() const;
80 
81  /*!
82  \brief Returns value that represents paper (MVC Component) type belonging to enumeration.
83 
84  \return enum value
85  */
86  virtual EnumType* getPaperItem() const;
87 
88  /*!
89  \brief Returns value that represents legend (MVC Component) type belonging to enumeration.
90 
91  \return enum value
92  */
93  virtual EnumType* getLegendItem() const;
94 
95  /*!
96  \brief Returns value that represents properties widget (MVC widget) type belonging to enumeration.
97 
98  \return enum value
99  */
100  virtual EnumType* getPropertiesWindow() const;
101 
102  /*!
103  \brief Returns value that represents QGraphicsView widget (MVC widget) type belonging to enumeration.
104 
105  \return enum value
106  */
107  virtual EnumType* getDisplayWindow() const;
108 
109  /*!
110  \brief Returns value that represents object inspector widget (MVC widget) type belonging to enumeration.
111 
112  \return enum value
113  */
114  virtual EnumType* getObjectInspectorWindow() const;
115 
116  /*!
117  \brief Returns value that represents toolbar widget (MVC widget) type belonging to enumeration.
118 
119  \return enum value
120  */
121  virtual EnumType* getToolbar() const;
122 
123  /*!
124  \brief Returns value that represents GridSettings window (MVC dialog) type belonging to enumeration.
125 
126  \return enum value
127  */
128  virtual EnumType* getGridSettings() const;
129 
130  /*!
131  \brief Returns value that represents grid planar type belonging to enumeration.
132 
133  \return enum value
134  */
135  virtual EnumType* getGridPlanarItem() const;
136 
137  /*!
138  \brief Returns value that represents grid geodesic type belonging to enumeration.
139 
140  \return enum value
141  */
142  virtual EnumType* getGridGeodesicItem() const;
143 
144  /*!
145  \brief Returns value that represents item group (MVC Component) type belonging to enumeration.
146 
147  \return enum value
148  */
149  virtual EnumType* getItemGroup() const;
150 
151  /*!
152  \brief Returns value that represents moving item group (MVC Component) type belonging to enumeration.
153 
154  \return enum value
155  */
156  virtual EnumType* getMovingItemGroup() const;
157 
158  /*!
159  \brief Returns value that represents scale (MVC Component) type belonging to enumeration.
160 
161  \return enum value
162  */
163  virtual EnumType* getScaleItem() const;
164 
165  /*!
166  \brief Returns value that represents page setup window (MVC dialog) type belonging to enumeration.
167 
168  \return enum value
169  */
170  virtual EnumType* getPageSetup() const;
171 
172  /*!
173  \brief Returns value that represents image (MVC Component) type belonging to enumeration.
174 
175  \return enum value
176  */
177  virtual EnumType* getImageItem() const;
178 
179  /*!
180  \brief Returns value that represents systematic scale window (MVC dialog) type belonging to enumeration.
181 
182  \return enum value
183  */
184  virtual EnumType* getSystematicScale() const;
185 
186  /*!
187  \brief Returns value that represents point (MVC Component) type belonging to enumeration.
188 
189  \return enum value
190  */
191  virtual EnumType* getPointItem() const;
192 
193  /*!
194  \brief Returns value that represents arrow (MVC Component) type belonging to enumeration.
195 
196  \return enum value
197  */
198  virtual EnumType* getArrowItem() const;
199 
200  /*!
201  \brief Returns value that represents ellipse (MVC Component) type belonging to enumeration.
202 
203  \return enum value
204  */
205  virtual EnumType* getEllipseItem() const;
206 
207  /*!
208  \brief Returns value that represents title (MVC Component) type belonging to enumeration.
209 
210  \return enum value
211  */
212  virtual EnumType* getTitleItem() const;
213 
214  /*!
215  \brief Returns value that represents text grid (MVC Component) type belonging to enumeration.
216 
217  \return enum value
218  */
219  virtual EnumType* getTextGridItem() const;
220 
221  /*!
222  \brief Returns value that represents edit template widget (MVC widget) type belonging to enumeration.
223 
224  \return enum value
225  */
226  virtual EnumType* getEditTemplate() const;
227 
228  /*!
229  \brief Returns value that represents text grid settings (MVC widget) type belonging to enumeration.
230 
231  \return enum value
232  */
233  virtual EnumType* getTextGridSettings() const;
234 
235  /*!
236  \brief Returns value that represents legend child (MVC Component) type belonging to enumeration.
237 
238  \return enum value
239  */
240  virtual EnumType* getLegendChildItem() const;
241 
242  /*!
243  \brief Returns value that represents text (MVC Component) type belonging to enumeration.
244 
245  \return enum value
246  */
247  virtual EnumType* getTextItem() const;
248 
249  /*!
250  \brief Returns value that represents unknown type belonging to enumeration.
251 
252  \return enum value
253  */
254  virtual EnumType* getObjectUnknown() const;
255 
256  /*!
257  \brief Returns value that represents line (MVC Component) type belonging to enumeration.
258 
259  \return enum value
260  */
261  virtual EnumType* getLineItem() const;
262 
263  /*!
264  \brief Returns value that represents polygon (MVC Component) type belonging to enumeration.
265 
266  \return enum value
267  */
268  virtual EnumType* getPolygonItem() const;
269 
270  /*!
271  \brief Returns value that represents balloon (MVC Component) type belonging to enumeration.
272 
273  \return enum value
274  */
275  virtual EnumType* getBalloonItem() const;
276 
277  /*!
278  \brief Returns value that represents barcode (MVC Component) type belonging to enumeration.
279 
280  \return enum value
281  */
282  virtual EnumType* getBarCodeItem() const;
283 
284  /*!
285  \brief Returns value that represents gridmapitem (MVC Component) type belonging to enumeration.
286 
287  \return enum value
288  */
289  virtual EnumType* getGridMapItem() const;
290 
291  /*!
292  \brief Returns value that represents map layer choice (MVC Component) type belonging to enumeration.
293 
294  \return enum value
295  */
296  virtual EnumType* getMapLayerChoice() const;
297 
298  /*!
299  \brief Returns value that represents north (MVC Component) type belonging to enumeration.
300 
301  \return enum value
302  */
303  virtual EnumType* getNorthItem() const;
304 
305  /*!
306  \brief Returns value that represents map location (MVC Component) type belonging to enumeration.
307 
308  \return enum value
309  */
310  virtual EnumType* getMapLocationItem() const;
311 
312  protected:
313 
314  /*!
315  \brief Reimplemented from AbstractEnum
316  */
317  virtual void init();
318 
319  protected:
320 
321  EnumType* m_rectangleItem; //!< value that represents rectangle (MVC Component) type belonging to enumeration
322  EnumType* m_mapItem; //!< value that represents map (MVC Component) type belonging to enumeration
323  EnumType* m_paperItem; //!< value that represents paper (MVC Component) type belonging to enumeration
324  EnumType* m_legendItem; //!< value that represents legend (MVC Component) type belonging to enumeration
325  EnumType* m_propertiesWindow; //!< value that represents properties widget (MVC widget) type belonging to enumeration
326  EnumType* m_displayWindow; //!< value that represents QGraphicsView widget (MVC widget) type belonging to enumeration
327  EnumType* m_objectInspectorWindow; //!< value that represents object inspector widget (MVC widget) type belonging to enumeration
328  EnumType* m_toolbar; //!< value that represents toolbar widget (MVC widget) type belonging to enumeration
329  EnumType* m_gridSettings; //!< value that represents GridSettings window (MVC dialog) type belonging to enumeration
330  EnumType* m_gridPlanarItem; //!< value that represents grid planar type belonging to enumeration
331  EnumType* m_gridGeodesicItem; //!< value that represents grid geodesic type belonging to enumeration
332  EnumType* m_itemGroup; //!< value that represents item group (MVC Component) type belonging to enumeration
333  EnumType* m_movingItemGroup; //!< value that represents moving item group (MVC Component) type belonging to enumeration
334  EnumType* m_scaleItem; //!< value that represents scale (MVC Component) type belonging to enumeration
335  EnumType* m_pageSetup; //!< value that represents page setup window (MVC dialog) type belonging to enumeration
336  EnumType* m_imageItem; //!< value that represents image (MVC Component) type belonging to enumeration
337  EnumType* m_systematicScale; //!< value that represents systematic scale window (MVC dialog) type belonging to enumeration
338  EnumType* m_pointItem; //!< value that represents point (MVC Component) type belonging to enumeration
339  EnumType* m_arrowItem; //!< value that represents arrow (MVC Component) type belonging to enumeration
340  EnumType* m_ellipseItem; //!< value that represents ellipse (MVC Component) type belonging to enumeration
341  EnumType* m_titleItem; //!< value that represents title (MVC Component) type belonging to enumeration
342  EnumType* m_textGridItem; //!< value that represents text grid (MVC Component) type belonging to enumeration
343  EnumType* m_editTemplate; //!< value that represents edit template widget (MVC widget) type belonging to enumeration
344  EnumType* m_textGridSettings; //!< value that represents text grid settings (MVC widget) type belonging to enumeration
345  EnumType* m_legendChildItem; //!< value that represents legend child (MVC Component) type belonging to enumeration
346  EnumType* m_textItem; //!< value that represents text (MVC Component) type belonging to enumeration
347  EnumType* m_lineItem; //!< value that represents line (MVC Component) type belonging to enumeration
348  EnumType* m_polygonItem; //!< value that represents polygon (MVC Component) type belonging to enumeration
349  EnumType* m_balloonItem; //!< value that represents balloon (MVC Component) type belonging to enumeration
350  EnumType* m_barCodeItem; //!< value that represents barcode (MVC Component) type belonging to enumeration
351  EnumType* m_gridMapItem; //!< value that represents gridmap (MVC Component) type belonging to enumeration
352  EnumType* m_mapLayerChoice; //!< value that represents map layer choice (MVC Component) type belonging to enumeration
353  EnumType* m_northItem; //!< value that represents north (MVC Component) type belonging to enumeration
354  EnumType* m_mapLocationItem; //!< value that represents map location (MVC Component) type belonging to enumeration
355  EnumType* m_objectUnknown; //!< value that represents unknown type belonging to enumeration
356  };
357  }
358 }
359 
360 #endif
361 
362 
EnumType * m_pageSetup
value that represents page setup window (MVC dialog) type belonging to enumeration ...
EnumType * m_objectInspectorWindow
value that represents object inspector widget (MVC widget) type belonging to enumeration ...
Class to represent a graphic object (MVC component) and widget object (MVC widget) type enumeration...
EnumType * m_mapLayerChoice
value that represents map layer choice (MVC Component) type belonging to enumeration ...
EnumType * m_systematicScale
value that represents systematic scale window (MVC dialog) type belonging to enumeration ...
EnumType * m_movingItemGroup
value that represents moving item group (MVC Component) type belonging to enumeration ...
Abstract class to represent an enumeration.
Definition: AbstractEnum.h:48
EnumType * m_itemGroup
value that represents item group (MVC Component) type belonging to enumeration
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:99
EnumType * m_legendChildItem
value that represents legend child (MVC Component) type belonging to enumeration
EnumType * m_rectangleItem
value that represents rectangle (MVC Component) type belonging to enumeration
EnumType * m_barCodeItem
value that represents barcode (MVC Component) type belonging to enumeration
EnumType * m_gridMapItem
value that represents gridmap (MVC Component) type belonging to enumeration
EnumType * m_legendItem
value that represents legend (MVC Component) type belonging to enumeration
EnumType * m_scaleItem
value that represents scale (MVC Component) type belonging to enumeration
EnumType * m_lineItem
value that represents line (MVC Component) type belonging to enumeration
EnumType * m_pointItem
value that represents point (MVC Component) type belonging to enumeration
EnumType * m_propertiesWindow
value that represents properties widget (MVC widget) type belonging to enumeration ...
EnumType * m_imageItem
value that represents image (MVC Component) type belonging to enumeration
EnumType * m_ellipseItem
value that represents ellipse (MVC Component) type belonging to enumeration
EnumType * m_paperItem
value that represents paper (MVC Component) type belonging to enumeration
EnumType * m_balloonItem
value that represents balloon (MVC Component) type belonging to enumeration
EnumType * m_textGridSettings
value that represents text grid settings (MVC widget) type belonging to enumeration ...
EnumType * m_textItem
value that represents text (MVC Component) type belonging to enumeration
EnumType * m_mapItem
value that represents map (MVC Component) type belonging to enumeration
EnumType * m_mapLocationItem
value that represents map location (MVC Component) type belonging to enumeration
EnumType * m_textGridItem
value that represents text grid (MVC Component) type belonging to enumeration
EnumType * m_editTemplate
value that represents edit template widget (MVC widget) type belonging to enumeration ...
EnumType * m_polygonItem
value that represents polygon (MVC Component) type belonging to enumeration
EnumType * m_gridSettings
value that represents GridSettings window (MVC dialog) type belonging to enumeration ...
EnumType * m_northItem
value that represents north (MVC Component) type belonging to enumeration
EnumType * m_arrowItem
value that represents arrow (MVC Component) type belonging to enumeration
Class that represents the value of an enumeration. An enumeration is made of "1..n" objects EnumType...
Definition: EnumType.h:48
EnumType * m_gridPlanarItem
value that represents grid planar type belonging to enumeration
EnumType * m_gridGeodesicItem
value that represents grid geodesic type belonging to enumeration
EnumType * m_titleItem
value that represents title (MVC Component) type belonging to enumeration
Abstract class to represent an enumeration.
EnumType * m_displayWindow
value that represents QGraphicsView widget (MVC widget) type belonging to enumeration ...
EnumType * m_toolbar
value that represents toolbar widget (MVC widget) type belonging to enumeration
EnumType * m_objectUnknown
value that represents unknown type belonging to enumeration