CoverageStyle.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/CoverageStyle.h
22 
23  \brief The CoverageStyle defines the styling that is to be applied to a subset of Coverage data.
24 */
25 
26 #ifndef __TERRALIB_SE_INTERNAL_COVERAGESTYLE_H
27 #define __TERRALIB_SE_INTERNAL_COVERAGESTYLE_H
28 
29 // TerraLib
30 #include "Style.h"
31 
32 namespace te
33 {
34  namespace se
35  {
36  /*!
37  \class CoverageStyle
38 
39  \brief The CoverageStyle defines the styling that is to be applied to a subset of Coverage data.
40 
41  \ingroup se
42 
43  \sa Style, FeatureTypeStyle
44  */
46  {
47  public:
48 
50 
51  /** @name Initializer Methods
52  * Methods related to instantiation and destruction.
53  */
54  //@{
55 
56  /*! \brief It initializes a new CoverageStyle. */
57  CoverageStyle();
58 
59  /*! \brief Destructor. */
60  ~CoverageStyle();
61 
62  //@}
63 
64  /** @name Accessor methods
65  * Methods used to get or set properties.
66  */
67  //@{
68 
69  void setCoverageName(std::string* name);
70 
71  const std::string* getCoverageName() const;
72 
73  const std::string& getType() const;
74 
75  //@}
76 
77  /*! \brief It creates a new copy of this object. */
78  Style* clone() const;
79 
80  private:
81 
82  std::string* m_coverageName; //!< It identifies the specific coverage that the coverage style is for. (Optional)
83  static const std::string sm_type; //!< A static data member used in the implementation of getType method.
84  };
85 
86  } // end namespace se
87 } // end namespace te
88 
89 #endif // __TERRALIB_SE_INTERNAL_COVERAGESTYLE_H
90 
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...
Definition: Style.h:65
The CoverageStyle defines the styling that is to be applied to a subset of Coverage data...
Definition: CoverageStyle.h:45
std::string * m_coverageName
It identifies the specific coverage that the coverage style is for. (Optional)
Definition: CoverageStyle.h:82
static const std::string sm_type
A static data member used in the implementation of getType method.
Definition: CoverageStyle.h:83
URI C++ Library.
#define TESEEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:187
#define TE_DEFINE_VISITABLE
Definition: BaseVisitable.h:75
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...