31 #include "../../../../maptools/Enums.h"
38 "None",
"Continuous",
"Cross"
121 std::string s_val =
"DataTypeNone";
126 s_val =
"DataTypeInt";
129 s_val =
"DataTypeDouble";
132 s_val =
"DataTypeLong";
135 s_val =
"DataTypeFloat";
138 s_val =
"DataTypeString";
141 s_val =
"DataTypeBool";
144 s_val =
"DataTypeColor";
147 s_val =
"DataTypeGridSettings";
150 s_val =
"DataTypeStringList";
153 s_val =
"DataTypeNone";
163 if(val.compare(
"DataTypeInt") == 0)
167 if(val.compare(
"DataTypeDouble") == 0)
171 if(val.compare(
"DataTypeLong") == 0)
175 if(val.compare(
"DataTypeFloat") == 0)
179 if(val.compare(
"DataTypeString") == 0)
183 if(val.compare(
"DataTypeBool") == 0)
187 if(val.compare(
"DataTypeColor") == 0)
191 if(val.compare(
"DataTypeGridSettings") == 0)
195 if(val.compare(
"DataTypeStringList") == 0)
205 std::string s_val =
"TPObjectUnknown";
210 s_val =
"TPRetangleItem";
216 s_val =
"TPMapGridItem";
219 s_val =
"TPPaperItem";
222 s_val =
"TPLegendItem";
225 s_val =
"TPPropertiesWindow";
228 s_val =
"TPDisplayWindow";
231 s_val =
"TPObjectInspectorWindow";
237 s_val =
"TPGridSettings";
243 s_val =
"TPGridPlanar";
246 s_val =
"TPGridGeodesic";
249 s_val =
"TPHorizontalRuler";
252 s_val =
"TPVerticalRuler";
258 s_val =
"TPItemGroup";
261 s_val =
"TPScaleItem";
264 s_val =
"TPObjectUnknown";
274 if(val.compare(
"TPRetangleItem") == 0)
278 if(val.compare(
"TPMapItem") == 0)
282 if(val.compare(
"TPMapGridItem") == 0)
286 if(val.compare(
"TPPaperItem") == 0)
290 if(val.compare(
"TPLegendItem") == 0)
294 if(val.compare(
"TPPropertiesWindow") == 0)
298 if(val.compare(
"TPDisplayWindow") == 0)
302 if(val.compare(
"TPObjectInspectorWindow") == 0)
306 if(val.compare(
"TPToolbar") == 0)
310 if(val.compare(
"TPGridSettings") == 0)
314 if(val.compare(
"TPGrid") == 0)
318 if(val.compare(
"TPGridPlanar") == 0)
322 if(val.compare(
"TPGridGeodesic") == 0)
326 if(val.compare(
"TPHorizontalRuler") == 0)
330 if(val.compare(
"TPVerticalRuler") == 0)
334 if(val.compare(
"TPText") == 0)
338 if(val.compare(
"TPItemGroup") == 0)
342 if(val.compare(
"TPScaleItem") == 0)
std::string getLayoutAbstractObjectType(int enumVal)
static std::string EnumLayoutDashStyle[]
te::layout::LayoutGridStyle getLayoutEnumGridStyle(std::string val)
std::string getLayoutGridStyle(int enumVal)
std::string getLayoutPropertyDataType(int enumVal)
LayoutAbstractObjectType
Enum TdkAbstractComponentType. This is the enumeration of the components types.
static std::string EnumLayoutGridStyle[]
LineDashStyle
This enum encodes enumerated values telling how lines should be drawn. e.g. as a plain line or dash l...
te::map::LineDashStyle getLayoutEnumDashStyle(std::string val)
LayoutPropertyDataType
Enum LayoutPropertyDataType.
std::string getLayoutDashStyle(int enumVal)