26 #ifndef __TERRALIB_DATATYPE_INTERNAL_STRINGPROPERTY_H
27 #define __TERRALIB_DATATYPE_INTERNAL_STRINGPROPERTY_H
68 bool isRequired =
false,
69 std::string* defaultValue = 0,
113 std::size_t
size()
const {
return m_size; }
142 #endif // __TERRALIB_DATATYPE_INTERNAL_STRINGPROPERTY_H
std::size_t m_size
Maximum number of characters for a varying string or the number of characters for a fixed length stri...
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.
StringType getSubType() const
It returns the string property sub type.
The type for string types: FIXED_STRING, VAR_STRING or STRING.
void setSize(std::size_t s)
It sets the maximum number of characters for a varying string, or the number of characters for a fixe...
~StringProperty()
Destructor.
void setSubtype(StringType t)
It sets the string property sub type.
General enumerations for the data type module.
StringType m_strSubType
The sub-type of this string property.
std::size_t size() const
It returns the maximum number of characters for a varying string, or the number of characters for a f...
StringType
The subtype of string property.
It models a property definition.