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; }
 
An atomic property like an integer or double.
 
std::size_t m_nbits
The number of bits represented by the property.
 
BitProperty(const BitProperty &rhs)
Copy constructor.
 
std::size_t numBits() const
It returns the number of bits represented in the property.
 
Property * clone() const
It returns a clone of the object.
 
~BitProperty()
Destructor.
 
BitProperty & operator=(const BitProperty &rhs)
Assignment operator.
 
BitProperty(const std::string &name, std::size_t nbits=1, bool isRequired=false, std::string *defaultValue=0, unsigned int id=0, Property *parent=0)
It constructs a new bit property.
 
void setNumBits(std::size_t s)
It sets the number of bits represented in the property.
 
It models a property definition.
 
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.