33 std::vector<std::size_t>& poslist)
35 const std::size_t size = properties.size();
37 for(std::size_t i = 0; i < size; ++i)
43 if(dataType ==
"VOID_TYPE")
45 else if(dataType ==
"BIT_TYPE")
47 else if(dataType ==
"CHAR_TYPE")
49 else if(dataType ==
"UCHAR_TYPE")
51 else if(dataType ==
"INT16_TYPE")
53 else if(dataType ==
"INT32_TYPE")
55 else if(dataType ==
"UINT32_TYPE")
57 else if(dataType ==
"INT64_TYPE")
59 else if(dataType ==
"UINT64_TYPE")
61 else if(dataType ==
"BOOLEAN_TYPE")
63 else if(dataType ==
"FLOAT_TYPE")
65 else if(dataType ==
"DOUBLE_TYPE")
67 else if(dataType ==
"NUMERIC_TYPE")
69 else if(dataType ==
"STRING_TYPE")
71 else if(dataType ==
"BYTE_ARRAY_TYPE")
73 else if(dataType ==
"GEOMETRY_TYPE")
75 else if(dataType ==
"DATETIME_TYPE")
77 else if(dataType ==
"ARRAY_TYPE")
79 else if(dataType ==
"COMPOSITE_TYPE")
81 else if(dataType ==
"DATASET_TYPE")
83 else if(dataType ==
"RASTER_TYPE")
85 else if(dataType ==
"CINT16_TYPE")
87 else if(dataType ==
"CINT32_TYPE")
89 else if(dataType ==
"CFLOAT_TYPE")
91 else if(dataType ==
"CDOUBLE_TYPE")
93 else if(dataType ==
"XML_TYPE")
95 else if(dataType ==
"DATASETITEM_TYPE")
97 else if(dataType ==
"POLYMORPHIC_TYPE")
99 else if(dataType ==
"R4BITS_TYPE")
101 else if(dataType ==
"R4BITS_TYPE")
103 else if(dataType ==
"R2BITS_TYPE")
105 else if(dataType ==
"R1BIT_TYPE")
A base class for a compound property (non-atomic properties).
A base class for a compound properties (non-atomic properties).
Utilitary function for data type module.
TEDATATYPEEXPORT void GetPropertiesPosition(const std::vector< Property * > &properties, const CompositeProperty *cp, std::vector< std::size_t > &poslist)
It creates a list with the properties position in the composite property.
std::size_t getPropertyPosition(const std::string &name) const
It returns the property position based on its name.
It models a property definition.
TEDATATYPEEXPORT int Convert2Terralib(const std::string &dataType)
It convert a string to a DataType.