All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MapItem.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 terralib/se/MapItem.h
22 
23  \brief
24 */
25 
26 #ifndef __TERRALIB_SE_INTERNAL_MAPITEM_H
27 #define __TERRALIB_SE_INTERNAL_MAPITEM_H
28 
29 // TerraLib
30 #include "../fe/Expression.h"
31 #include "Config.h"
32 
33 namespace te
34 {
35  namespace se
36  {
37 // Forward declaration
38  class ParameterValue;
39 
40  /*!
41  \class MapItem
42 
43  \brief
44 
45  \sa te::fe::Expression, ParameterValue, Recode
46  */
48  {
49  public:
50 
51  /** @name Initializer Methods
52  * Methods related to instantiation and destruction.
53  */
54  //@{
55 
56  /*! \brief It initializes a new MapItem. */
57  MapItem();
58 
59  /*! \brief Destructor. */
60  ~MapItem();
61 
62  //@}
63 
64  /** @name Accessor methods
65  * Methods used to get or set properties.
66  */
67  //@{
68 
69  void setData(const double& d);
70  void setValue(ParameterValue* v);
71 
72  //@}
73 
74  private:
75 
76  /** @name Not Allowed Methods
77  * No copy allowed.
78  */
79  //@{
80 
81  /*!
82  \brief No copy constructor allowed.
83 
84  \param rhs The other MapItem.
85  */
86  MapItem(const MapItem& rhs);
87 
88  /*!
89  \brief No assignment operator allowed.
90 
91  \param rhs The other MapItem.
92 
93  \return A reference for this.
94  */
95  MapItem& operator=(const MapItem& rhs);
96 
97  //@}
98 
99  private:
100 
101  double m_data; //!< Mandatory.
102  ParameterValue* m_value; //!< Mandatory.
103  };
104 
105  } // end namespace se
106 } // end namespace te
107 
108 #endif // __TERRALIB_SE_INTERNAL_MAPITEM_H
double m_data
Mandatory.
Definition: MapItem.h:101
The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters...
This is an abstract class that models a Filter Encoding expression.
Definition: Expression.h:50
ParameterValue * m_value
Mandatory.
Definition: MapItem.h:102
#define TESEEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:190
Configuration flags for the Symbology Encoding support of TerraLib.