26 #ifndef __TERRALIB_DATATYPE_INTERNAL_NUMERICPROPERTY_H    27 #define __TERRALIB_DATATYPE_INTERNAL_NUMERICPROPERTY_H    66                         unsigned int precision,
    68                         bool isRequired = 
false,
    69                         std::string* defaultValue = 0,
   116         void setScale(
unsigned int scale) { m_scale = scale; }
   136 #endif  // __TERRALIB_DATATYPE_INTERNAL_NUMERICPROPERTY_H unsigned int m_scale
Number of digits for the right of the decimal point of a numeric value. 
 
An atomic property like an integer or double. 
 
unsigned int m_precision
Total number of digits of a numeric value. 
 
void setScale(unsigned int scale)
Sets the count of decimal digits in the fractional part, to the right of the decimal point...
 
It models a property definition. 
 
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
The type for arbitrary precison numbers, like numeric(p, q). 
 
~NumericProperty()
Destructor. 
 
unsigned int getPrecision() const 
It returns the total count of significant digits in the whole number, that is, the number of digits t...
 
An atomic property like an integer or double. 
 
void setPrecision(unsigned int precision)
Sets the total count of significant digits in the whole number, that is, the number of digits to both...
 
unsigned int getScale() const 
It returns the count of decimal digits in the fractional part, to the right of the decimal point...