All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SharedProperties.cpp
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 SharedProperties.cpp
22 
23  \brief
24 
25  \ingroup layout
26 */
27 
28 // TerraLib
29 #include "SharedProperties.h"
30 
31 
33  m_name("name"),
34  m_id("id"),
35  m_mapName("map_name"),
36  m_x1("x1"),
37  m_x2("x2"),
38  m_y1("y1"),
39  m_y2("y2"),
40  m_zValue("zValue"),
41  m_border("border"),
42  m_backgroundcolor("backgroundcolor"),
43  m_bordercolor("bordercolor"),
44  m_angle("angle"),
45  m_width("width"),
46  m_height("height")
47 {
48 
49 }
50 
52 {
53 
54 }
55 
57 {
58  return m_name;
59 }
60 
62 {
63  return m_id;
64 }
65 
67 {
68  return m_mapName;
69 }
70 
72 {
73  return m_x1;
74 }
75 
77 {
78  return m_x2;
79 }
80 
82 {
83  return m_y1;
84 }
85 
87 {
88  return m_y2;
89 }
90 
92 {
93  return m_zValue;
94 }
95 
97 {
98  return m_border;
99 }
100 
102 {
103  return m_backgroundcolor;
104 }
105 
107 {
108  return m_bordercolor;
109 }
110 
112 {
113  return m_angle;
114 }
115 
117 {
118  return m_width;
119 }
120 
122 {
123  return m_height;
124 }
Default properties of all graphics objects.