26 #ifndef __TERRALIB_DATATYPE_INTERNAL_BYTEARRAYPROPERTY_H
27 #define __TERRALIB_DATATYPE_INTERNAL_BYTEARRAYPROPERTY_H
64 std::size_t nbytes = 0,
65 bool isRequired =
false,
66 std::string* defaultValue = 0,
An atomic property like an integer or double.
Property for byte array types.
std::size_t getMaxSize() const
It returns the maximum number of bytes for the byte array data.
void setMaxSize(std::size_t s)
It sets the maximum number of bytes for the byte array data.
Property * clone() const
It returns a clone of the object.
ByteArrayProperty & operator=(const ByteArrayProperty &rhs)
Assignment operator.
~ByteArrayProperty()
Destructor.
ByteArrayProperty(const ByteArrayProperty &rhs)
Copy constructor.
ByteArrayProperty(const std::string &name, std::size_t nbytes=0, bool isRequired=false, std::string *defaultValue=0, unsigned int id=0, Property *parent=0)
It constructs a new byte array property.
std::size_t m_nbytes
The number of bits represented by 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.