IntegerConverters.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/datatype/IntegerConverters.h
22 
23  \brief A set of function that convert an Integer type to other types.
24 */
25 
26 #ifndef __TERRALIB_DATATYPE_INTERNAL_INTEGERCONVERTERS_H
27 #define __TERRALIB_DATATYPE_INTERNAL_INTEGERCONVERTERS_H
28 
29 // TerraLib
30 #include "Exception.h"
31 #include "Config.h"
32 
33 namespace te
34 {
35  namespace dt
36  {
37 // Forward declarations
38  class AbstractData;
39 
40  /** @name Int32 Methods
41  * Methods related to Int32 conversion.
42  */
43  //@{
44 
45  /*!
46  \brief It converts an Int32 data value to a char data value.
47 
48  \param d The input data value.
49 
50  \return A new data value converted to char data type. The caller will take the ownership of the returned data.
51 
52  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
53  */
55 
56  /*!
57  \brief It converts an Int32 data value to an unsigned char data value.
58 
59  \param d The input data value.
60 
61  \return A new data value converted to unsigned char data type. The caller will take the ownership of the returned data.
62 
63  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
64  */
66 
67  /*!
68  \brief It converts an Int32 data value to a Int16 data value.
69 
70  \param d The input data value.
71 
72  \return A new data value converted to Int16 data type. The caller will take the ownership of the returned data.
73 
74  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
75  */
77 
78  /*!
79  \brief It converts an Int32 data value to an unsigned Int16 data value.
80 
81  \param d The input data value.
82 
83  \return A new data value converted to unsigned Int16 data type. The caller will take the ownership of the returned data.
84 
85  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
86  */
88 
89  /*!
90  \brief It converts an Int32 data value to an unsigned Int32 data value.
91 
92  \param d The input data value.
93 
94  \return A new data value converted to unsigned Int32 data type. The caller will take the ownership of the returned data.
95 
96  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
97  */
99 
100  /*!
101  \brief It converts an Int32 data value to a Int64 data value.
102 
103  \param d The input data value.
104 
105  \return A new data value converted to Int64 data type. The caller will take the ownership of the returned data.
106 
107  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
108  */
110 
111  /*!
112  \brief It converts an Int32 data value to an unsigned Int64 data value.
113 
114  \param d The input data value.
115 
116  \return A new data value converted to unsigned Int64 data type. The caller will take the ownership of the returned data.
117 
118  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
119  */
121 
122  /*!
123  \brief It converts an Int32 data value to a boolean data value.
124 
125  \param d The input data value.
126 
127  \return A new data value converted to boolean data type. The caller will take the ownership of the returned data.
128 
129  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
130  */
132 
133  /*!
134  \brief It converts an Int32 data value to a float value.
135 
136  \param d The input data value.
137 
138  \return A new data value converted to float data type. The caller will take the ownership of the returned data.
139 
140  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
141  */
143 
144  /*!
145  \brief It converts an Int32 data value to a double value.
146 
147  \param d The input data value.
148 
149  \return A new data value converted to double data type. The caller will take the ownership of the returned data.
150 
151  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
152  */
154 
155  /*!
156  \brief It converts an Int32 data value to Numeric data value.
157 
158  \param d The input data value.
159 
160  \return A new data value converted to Numeric data type. The caller will take the ownership of the returned data.
161 
162  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
163  */
165 
166  /*!
167  \brief It converts an Int32 data value to a string data value.
168 
169  \param d The input data value.
170 
171  \return A new data value converted to string data type. The caller will take the ownership of the returned data.
172 
173  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
174  */
176 
177  /*!
178  \brief Auxiliary method that asserts that the given data is an Int32 type.
179 
180  \param d The input data value.
181 
182  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
183  */
185 
186  //@}
187 
188  /** @name UInt32 Methods
189  * Methods related to unsigned Int32 conversion.
190  */
191  //@{
192 
193  /*!
194  \brief It converts an unsigned Int32 data value to a char data value.
195 
196  \param d The input data value.
197 
198  \return A new data value converted to char data type. The caller will take the ownership of the returned data.
199 
200  \exception Exception It throws an exception if the input abstract data is not an unsigned Int32 type.
201  */
203 
204  /*!
205  \brief It converts an unsigned Int32 data value to an unsigned char data value.
206 
207  \param d The input data value.
208 
209  \return A new data value converted to unsigned char data type. The caller will take the ownership of the returned data.
210 
211  \exception Exception It throws an exception if the input abstract data is not an unsigned Int32 type.
212  */
214 
215  /*!
216  \brief It converts an unsigned Int32 data value to a Int16 data value.
217 
218  \param d The input data value.
219 
220  \return A new data value converted to Int16 data type. The caller will take the ownership of the returned data.
221 
222  \exception Exception It throws an exception if the input abstract data is not an unsigned Int32 type.
223  */
225 
226  /*!
227  \brief It converts an unsigned Int32 data value to an unsigned Int16 data value.
228 
229  \param d The input data value.
230 
231  \return A new data value converted to unsigned Int16 data type. The caller will take the ownership of the returned data.
232 
233  \exception Exception It throws an exception if the input abstract data is not an unsigned Int32 type.
234  */
236 
237  /*!
238  \brief It converts an unsigned Int32 data value to an Int32 data value.
239 
240  \param d The input data value.
241 
242  \return A new data value converted to Int32 data type. The caller will take the ownership of the returned data.
243 
244  \exception Exception It throws an exception if the input abstract data is not an unsigned Int32 type.
245  */
247 
248  /*!
249  \brief It converts an unsigned Int32 data value to a Int64 data value.
250 
251  \param d The input data value.
252 
253  \return A new data value converted to Int64 data type. The caller will take the ownership of the returned data.
254 
255  \exception Exception It throws an exception if the input abstract data is not an unsigned Int32 type.
256  */
258 
259  /*!
260  \brief It converts an unsigned Int32 data value to an unsigned Int64 data value.
261 
262  \param d The input data value.
263 
264  \return A new data value converted to unsigned Int64 data type. The caller will take the ownership of the returned data.
265 
266  \exception Exception It throws an exception if the input abstract data is not an unsigned Int32 type.
267  */
269 
270  /*!
271  \brief It converts an unsigned Int32 data value to a boolean data value.
272 
273  \param d The input data value.
274 
275  \return A new data value converted to boolean data type. The caller will take the ownership of the returned data.
276 
277  \exception Exception It throws an exception if the input abstract data is not an unsigned Int32 type.
278  */
280 
281  /*!
282  \brief It converts an unsigned Int32 data value to a float value.
283 
284  \param d The input data value.
285 
286  \return A new data value converted to float data type. The caller will take the ownership of the returned data.
287 
288  \exception Exception It throws an exception if the input abstract data is not an unsigned Int32 type.
289  */
291 
292  /*!
293  \brief It converts an unsigned Int32 data value to a double value.
294 
295  \param d The input data value.
296 
297  \return A new data value converted to double data type. The caller will take the ownership of the returned data.
298 
299  \exception Exception It throws an exception if the input abstract data is not an unsigned Int32 type.
300  */
302 
303  /*!
304  \brief It converts an unsigned Int32 data value to Numeric data value.
305 
306  \param d The input data value.
307 
308  \return A new data value converted to Numeric data type. The caller will take the ownership of the returned data.
309 
310  \exception Exception It throws an exception if the input abstract data is not an unsigned Int32 type.
311  */
313 
314  /*!
315  \brief It converts an unsigned Int32 data value to a string data value.
316 
317  \param d The input data value.
318 
319  \return A new data value converted to string data type. The caller will take the ownership of the returned data.
320 
321  \exception Exception It throws an exception if the input abstract data is not an unsigned Int32 type.
322  */
324 
325  /*!
326  \brief Auxiliary method that asserts that the given data is an unsigned Int32 type.
327 
328  \param d The input data value.
329 
330  \exception Exception It throws an exception if the input abstract data is not an unsigned Int32 type.
331  */
333 
334  //@}
335 
336  /** @name Int64 Methods
337  * Methods related to Int64 conversion.
338  */
339  //@{
340 
341  /*!
342  \brief It converts an Int64 data value to a char data value.
343 
344  \param d The input data value.
345 
346  \return A new data value converted to char data type. The caller will take the ownership of the returned data.
347 
348  \exception Exception It throws an exception if the input abstract data is not an Int64 type.
349  */
351 
352  /*!
353  \brief It converts an Int64 data value to an unsigned char data value.
354 
355  \param d The input data value.
356 
357  \return A new data value converted to unsigned char data type. The caller will take the ownership of the returned data.
358 
359  \exception Exception It throws an exception if the input abstract data is not an Int64 type.
360  */
362 
363  /*!
364  \brief It converts an Int64 data value to a Int16 data value.
365 
366  \param d The input data value.
367 
368  \return A new data value converted to Int16 data type. The caller will take the ownership of the returned data.
369 
370  \exception Exception It throws an exception if the input abstract data is not an Int64 type.
371  */
373 
374  /*!
375  \brief It converts an Int32 data value to an unsigned Int16 data value.
376 
377  \param d The input data value.
378 
379  \return A new data value converted to unsigned Int16 data type. The caller will take the ownership of the returned data.
380 
381  \exception Exception It throws an exception if the input abstract data is not an Int32 type.
382  */
384 
385  /*!
386  \brief It converts an Int64 data value to an Int32 data value.
387 
388  \param d The input data value.
389 
390  \return A new data value converted to Int32 data type. The caller will take the ownership of the returned data.
391 
392  \exception Exception It throws an exception if the input abstract data is not an Int64 type.
393  */
395 
396  /*!
397  \brief It converts an Int64 data value to an unsigned Int32 data value.
398 
399  \param d The input data value.
400 
401  \return A new data value converted to unsigned Int32 data type. The caller will take the ownership of the returned data.
402 
403  \exception Exception It throws an exception if the input abstract data is not an Int64 type.
404  */
406 
407  /*!
408  \brief It converts an Int64 data value to a Int64 data value.
409 
410  \param d The input data value.
411 
412  \return A new data value converted to Int64 data type. The caller will take the ownership of the returned data.
413 
414  \exception Exception It throws an exception if the input abstract data is not an Int64 type.
415  */
417 
418  /*!
419  \brief It converts an Int64 data value to an unsigned Int64 data value.
420 
421  \param d The input data value.
422 
423  \return A new data value converted to unsigned Int64 data type. The caller will take the ownership of the returned data.
424 
425  \exception Exception It throws an exception if the input abstract data is not an Int64 type.
426  */
428 
429  /*!
430  \brief It converts an Int64 data value to a boolean data value.
431 
432  \param d The input data value.
433 
434  \return A new data value converted to boolean data type. The caller will take the ownership of the returned data.
435 
436  \exception Exception It throws an exception if the input abstract data is not an Int64 type.
437  */
439 
440  /*!
441  \brief It converts an Int64 data value to a float value.
442 
443  \param d The input data value.
444 
445  \return A new data value converted to float data type. The caller will take the ownership of the returned data.
446 
447  \exception Exception It throws an exception if the input abstract data is not an Int64 type.
448  */
450 
451  /*!
452  \brief It converts an Int64 data value to a double value.
453 
454  \param d The input data value.
455 
456  \return A new data value converted to double data type. The caller will take the ownership of the returned data.
457 
458  \exception Exception It throws an exception if the input abstract data is not an Int64 type.
459  */
461 
462  /*!
463  \brief It converts an Int64 data value to Numeric data value.
464 
465  \param d The input data value.
466 
467  \return A new data value converted to Numeric data type. The caller will take the ownership of the returned data.
468 
469  \exception Exception It throws an exception if the input abstract data is not an Int64 type.
470  */
472 
473  /*!
474  \brief It converts an Int64 data value to a string data value.
475 
476  \param d The input data value.
477 
478  \return A new data value converted to string data type. The caller will take the ownership of the returned data.
479 
480  \exception Exception It throws an exception if the input abstract data is not an Int64 type.
481  */
483 
484  /*!
485  \brief Auxiliary method that asserts that the given data is an Int64 type.
486 
487  \param d The input data value.
488 
489  \exception Exception It throws an exception if the input abstract data is not an Int64 type.
490  */
492 
493  //@}
494 
495  /** @name UInt64 Methods
496  * Methods related to unsigned Int64 conversion.
497  */
498  //@{
499 
500  /*!
501  \brief It converts an unsigned Int64 data value to a char data value.
502 
503  \param d The input data value.
504 
505  \return A new data value converted to char data type. The caller will take the ownership of the returned data.
506 
507  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
508  */
510 
511  /*!
512  \brief It converts an unsigned Int64 data value to an unsigned char data value.
513 
514  \param d The input data value.
515 
516  \return A new data value converted to unsigned char data type. The caller will take the ownership of the returned data.
517 
518  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
519  */
521 
522  /*!
523  \brief It converts an unsigned Int64 data value to a Int16 data value.
524 
525  \param d The input data value.
526 
527  \return A new data value converted to Int16 data type. The caller will take the ownership of the returned data.
528 
529  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
530  */
532 
533  /*!
534  \brief It converts an unsigned Int64 data value to an unsigned Int16 data value.
535 
536  \param d The input data value.
537 
538  \return A new data value converted to unsigned Int16 data type. The caller will take the ownership of the returned data.
539 
540  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
541  */
543 
544  /*!
545  \brief It converts an unsigned Int64 data value to an Int32 data value.
546 
547  \param d The input data value.
548 
549  \return A new data value converted to Int64 data type. The caller will take the ownership of the returned data.
550 
551  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
552  */
554 
555  /*!
556  \brief It converts an unsigned Int64 data value to an unsigned int Int32 data value.
557 
558  \param d The input data value.
559 
560  \return A new data value converted to Int64 data type. The caller will take the ownership of the returned data.
561 
562  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
563  */
565 
566  /*!
567  \brief It converts an unsigned Int64 data value to a Int64 data value.
568 
569  \param d The input data value.
570 
571  \return A new data value converted to Int64 data type. The caller will take the ownership of the returned data.
572 
573  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
574  */
576 
577  /*!
578  \brief It converts an unsigned Int64 data value to an unsigned Int64 data value.
579 
580  \param d The input data value.
581 
582  \return A new data value converted to unsigned Int64 data type. The caller will take the ownership of the returned data.
583 
584  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
585  */
587 
588  /*!
589  \brief It converts an unsigned Int64 data value to a boolean data value.
590 
591  \param d The input data value.
592 
593  \return A new data value converted to boolean data type. The caller will take the ownership of the returned data.
594 
595  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
596  */
598 
599  /*!
600  \brief It converts an unsigned Int64 data value to a float value.
601 
602  \param d The input data value.
603 
604  \return A new data value converted to float data type. The caller will take the ownership of the returned data.
605 
606  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
607  */
609 
610  /*!
611  \brief It converts an unsigned Int64 data value to a double value.
612 
613  \param d The input data value.
614 
615  \return A new data value converted to double data type. The caller will take the ownership of the returned data.
616 
617  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
618  */
620 
621  /*!
622  \brief It converts an unsigned Int64 data value to Numeric data value.
623 
624  \param d The input data value.
625 
626  \return A new data value converted to Numeric data type. The caller will take the ownership of the returned data.
627 
628  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
629  */
631 
632  /*!
633  \brief It converts an unsigned Int64 data value to a string data value.
634 
635  \param d The input data value.
636 
637  \return A new data value converted to string data type. The caller will take the ownership of the returned data.
638 
639  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
640  */
642 
643  /*!
644  \brief Auxiliary method that asserts that the given data is an unsigned Int64 type.
645 
646  \param d The input data value.
647 
648  \exception Exception It throws an exception if the input abstract data is not an unsigned Int64 type.
649  */
651 
652  //@}
653 
654  } // end namespace dt
655 } // end namespace te
656 
657 #endif // __TERRALIB_DATATYPE_INTERNAL_INTEGERCONVERTERS_H
A base class for values that can be retrieved from the data access module.
Definition: AbstractData.h:56
TEDATATYPEEXPORT void AssertUInt64(AbstractData *d)
Auxiliary method that asserts that the given data is an unsigned Int64 type.
TEDATATYPEEXPORT AbstractData * Int64ToBooleanConverter(AbstractData *d)
It converts an Int64 data value to a boolean data value.
TEDATATYPEEXPORT AbstractData * UInt32ToDoubleConverter(AbstractData *d)
It converts an unsigned Int32 data value to a double value.
TEDATATYPEEXPORT AbstractData * UInt64ToDoubleConverter(AbstractData *d)
It converts an unsigned Int64 data value to a double value.
TEDATATYPEEXPORT AbstractData * Int64ToInt16Converter(AbstractData *d)
It converts an Int64 data value to a Int16 data value.
TEDATATYPEEXPORT AbstractData * Int64ToInt32Converter(AbstractData *d)
It converts an Int64 data value to an Int32 data value.
TEDATATYPEEXPORT AbstractData * Int32ToUInt16Converter(AbstractData *d)
It converts an Int32 data value to an unsigned Int16 data value.
TEDATATYPEEXPORT AbstractData * Int64ToCharConverter(AbstractData *d)
It converts an Int64 data value to a char data value.
TEDATATYPEEXPORT AbstractData * Int64ToNumericConverter(AbstractData *d)
It converts an Int64 data value to Numeric data value.
TEDATATYPEEXPORT AbstractData * Int32ToInt64Converter(AbstractData *d)
It converts an Int32 data value to a Int64 data value.
TEDATATYPEEXPORT AbstractData * Int32ToUInt64Converter(AbstractData *d)
It converts an Int32 data value to an unsigned Int64 data value.
TEDATATYPEEXPORT AbstractData * Int32ToBooleanConverter(AbstractData *d)
It converts an Int32 data value to a boolean data value.
TEDATATYPEEXPORT void AssertInt32(AbstractData *d)
Auxiliary method that asserts that the given data is an Int32 type.
TEDATATYPEEXPORT AbstractData * UInt32ToBooleanConverter(AbstractData *d)
It converts an unsigned Int32 data value to a boolean data value.
TEDATATYPEEXPORT AbstractData * Int32ToFloatConverter(AbstractData *d)
It converts an Int32 data value to a float value.
TEDATATYPEEXPORT AbstractData * Int64ToUCharConverter(AbstractData *d)
It converts an Int64 data value to an unsigned char data value.
TEDATATYPEEXPORT AbstractData * UInt32ToStringConverter(AbstractData *d)
It converts an unsigned Int32 data value to a string data value.
TEDATATYPEEXPORT AbstractData * UInt32ToUInt16Converter(AbstractData *d)
It converts an unsigned Int32 data value to an unsigned Int16 data value.
TEDATATYPEEXPORT AbstractData * Int32ToUCharConverter(AbstractData *d)
It converts an Int32 data value to an unsigned char data value.
TEDATATYPEEXPORT void AssertUInt32(AbstractData *d)
Auxiliary method that asserts that the given data is an unsigned Int32 type.
TEDATATYPEEXPORT AbstractData * UInt32ToInt16Converter(AbstractData *d)
It converts an unsigned Int32 data value to a Int16 data value.
TEDATATYPEEXPORT AbstractData * Int32ToCharConverter(AbstractData *d)
It converts an Int32 data value to a char data value.
TEDATATYPEEXPORT AbstractData * Int64ToUInt16Converter(AbstractData *d)
It converts an Int32 data value to an unsigned Int16 data value.
TEDATATYPEEXPORT AbstractData * UInt32ToNumericConverter(AbstractData *d)
It converts an unsigned Int32 data value to Numeric data value.
TEDATATYPEEXPORT AbstractData * Int32ToInt16Converter(AbstractData *d)
It converts an Int32 data value to a Int16 data value.
TEDATATYPEEXPORT AbstractData * UInt64ToInt16Converter(AbstractData *d)
It converts an unsigned Int64 data value to a Int16 data value.
TEDATATYPEEXPORT AbstractData * Int64ToFloatConverter(AbstractData *d)
It converts an Int64 data value to a float value.
TEDATATYPEEXPORT AbstractData * Int32ToDoubleConverter(AbstractData *d)
It converts an Int32 data value to a double value.
TEDATATYPEEXPORT AbstractData * Int64ToUInt64Converter(AbstractData *d)
It converts an Int64 data value to an unsigned Int64 data value.
TEDATATYPEEXPORT AbstractData * UInt64ToInt64Converter(AbstractData *d)
It converts an unsigned Int64 data value to a Int64 data value.
TEDATATYPEEXPORT void AssertInt64(AbstractData *d)
Auxiliary method that asserts that the given data is an Int64 type.
TEDATATYPEEXPORT AbstractData * Int32ToStringConverter(AbstractData *d)
It converts an Int32 data value to a string data value.
TEDATATYPEEXPORT AbstractData * Int32ToUInt32Converter(AbstractData *d)
It converts an Int32 data value to an unsigned Int32 data value.
TEDATATYPEEXPORT AbstractData * UInt32ToUInt64Converter(AbstractData *d)
It converts an unsigned Int32 data value to an unsigned Int64 data value.
TEDATATYPEEXPORT AbstractData * UInt64ToStringConverter(AbstractData *d)
It converts an unsigned Int64 data value to a string data value.
TEDATATYPEEXPORT AbstractData * UInt32ToInt32Converter(AbstractData *d)
It converts an unsigned Int32 data value to an Int32 data value.
TEDATATYPEEXPORT AbstractData * UInt64ToInt32Converter(AbstractData *d)
It converts an unsigned Int64 data value to an Int32 data value.
TEDATATYPEEXPORT AbstractData * Int32ToNumericConverter(AbstractData *d)
It converts an Int32 data value to Numeric data value.
TEDATATYPEEXPORT AbstractData * UInt64ToNumericConverter(AbstractData *d)
It converts an unsigned Int64 data value to Numeric data value.
TEDATATYPEEXPORT AbstractData * Int64ToInt64Converter(AbstractData *d)
It converts an Int64 data value to a Int64 data value.
TEDATATYPEEXPORT AbstractData * Int64ToDoubleConverter(AbstractData *d)
It converts an Int64 data value to a double value.
TEDATATYPEEXPORT AbstractData * UInt32ToCharConverter(AbstractData *d)
It converts an unsigned Int32 data value to a char data value.
TEDATATYPEEXPORT AbstractData * UInt64ToUInt32Converter(AbstractData *d)
It converts an unsigned Int64 data value to an unsigned int Int32 data value.
TEDATATYPEEXPORT AbstractData * UInt64ToUCharConverter(AbstractData *d)
It converts an unsigned Int64 data value to an unsigned char data value.
TEDATATYPEEXPORT AbstractData * UInt64ToCharConverter(AbstractData *d)
It converts an unsigned Int64 data value to a char data value.
TEDATATYPEEXPORT AbstractData * UInt32ToFloatConverter(AbstractData *d)
It converts an unsigned Int32 data value to a float value.
TEDATATYPEEXPORT AbstractData * UInt64ToFloatConverter(AbstractData *d)
It converts an unsigned Int64 data value to a float value.
TEDATATYPEEXPORT AbstractData * UInt64ToBooleanConverter(AbstractData *d)
It converts an unsigned Int64 data value to a boolean data value.
TEDATATYPEEXPORT AbstractData * UInt32ToUCharConverter(AbstractData *d)
It converts an unsigned Int32 data value to an unsigned char data value.
TEDATATYPEEXPORT AbstractData * Int64ToUInt32Converter(AbstractData *d)
It converts an Int64 data value to an unsigned Int32 data value.
TEDATATYPEEXPORT AbstractData * UInt64ToUInt64Converter(AbstractData *d)
It converts an unsigned Int64 data value to an unsigned Int64 data value.
TEDATATYPEEXPORT AbstractData * UInt32ToInt64Converter(AbstractData *d)
It converts an unsigned Int32 data value to a Int64 data value.
TEDATATYPEEXPORT AbstractData * UInt64ToUInt16Converter(AbstractData *d)
It converts an unsigned Int64 data value to an unsigned Int16 data value.
TEDATATYPEEXPORT AbstractData * Int64ToStringConverter(AbstractData *d)
It converts an Int64 data value to a string data value.
TerraLib.
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:61
Proxy configuration file for TerraView (see terraview_config.h).
An exception class for the XML module.