26 #ifndef __TERRALIB_DATATYPE_INTERNAL_BITPROPERTY_H
27 #define __TERRALIB_DATATYPE_INTERNAL_BITPROPERTY_H
62 std::size_t nbits = 1,
63 bool isRequired =
false,
64 std::string* defaultValue = 0,
94 std::size_t
numBits()
const {
return m_nbits; }
120 #endif // __TERRALIB_DATATYPE_INTERNAL_BITPROPERTY_H
An atomic property like an integer or double.
~BitProperty()
Destructor.
It models a property definition.
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
An atomic property like an integer or double.
std::size_t numBits() const
It returns the number of bits represented in the property.
std::size_t m_nbits
The number of bits represented by the property.
void setNumBits(std::size_t s)
It sets the number of bits represented in the property.