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 
An atomic property like an integer or double. 
 
An atomic property like an integer or double. 
 
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
~NumericProperty()
Destructor. 
 
void setPrecision(unsigned int precision)
Sets the total count of significant digits in the whole number, that is, the number of digits to both...
 
void setScale(unsigned int scale)
Sets the count of decimal digits in the fractional part, to the right of the decimal point...
 
unsigned int m_precision
Total number of digits of a numeric value. 
 
unsigned int m_scale
Number of digits for the right of the decimal point of a numeric value. 
 
unsigned int getPrecision() const 
It returns the total count of significant digits in the whole number, that is, the number of digits t...
 
It models a property definition. 
 
The type for arbitrary precison numbers, like numeric(p, q). 
 
unsigned int getScale() const 
It returns the count of decimal digits in the fractional part, to the right of the decimal point...