Loading...
Searching...
No Matches
FeatureTypeStyle.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/FeatureTypeStyle.h
22
23 \brief The FeatureTypeStyle defines the styling that is to be applied to a dataset that can be viewed as a feature type.
24*/
25
26#ifndef __TERRALIB_SE_INTERNAL_FEATURETYPESTYLE_H
27#define __TERRALIB_SE_INTERNAL_FEATURETYPESTYLE_H
28
29// TerraLib
30#include "Style.h"
31
32namespace te
33{
34 namespace se
35 {
36 /*!
37 \class FeatureTypeStyle
38
39 \brief The FeatureTypeStyle defines the styling that is to be applied to a dataset that can be viewed as a feature type.
40
41 \ingroup se
42
43 \sa Style, CoverageStyle
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 FeatureTypeStyle. */
58
59 /*! \brief Destructor. */
61
62 //@}
63
64 /** @name Accessor methods
65 * Methods used to get or set properties.
66 */
67 //@{
68
69 void setFeatureTypeName(std::string* name);
70
71 const std::string* getFeatureTypeName() const;
72
73 const std::string& getType() const;
74
75 /*! \brief It creates a new copy of this object. */
76 Style* clone() const;
77
78 //@}
79
80 private:
81
82 std::string* m_featureTypeName; //!< It identifies the specific feature type that the 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_FEATURETYPESTYLE_H
90
#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...
The FeatureTypeStyle defines the styling that is to be applied to a dataset that can be viewed as a f...
std::string * m_featureTypeName
It identifies the specific feature type that the style is for. (Optional)
void setFeatureTypeName(std::string *name)
const std::string * getFeatureTypeName() const
~FeatureTypeStyle()
Destructor.
const std::string & getType() const
It returns the style type.
Style * clone() const
It creates a new copy of this object.
FeatureTypeStyle()
It initializes a new FeatureTypeStyle.
static const std::string sm_type
A static data member used in the implementation of getType method.
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...
Definition: Style.h:66
TerraLib.
#define TESEEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:201