26 #ifndef __TERRALIB_DATATYPE_INTERNAL_STRINGPROPERTY_H
27 #define __TERRALIB_DATATYPE_INTERNAL_STRINGPROPERTY_H
30 #include "../core/encoding/CharEncoding.h"
69 bool isRequired =
false,
70 std::string* defaultValue = 0,
114 std::size_t
size()
const {
return m_size; }
143 #endif // __TERRALIB_DATATYPE_INTERNAL_STRINGPROPERTY_H
StringType
The subtype of string property.
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.
StringType getSubType() const
It returns the string property sub type.
void setSubtype(StringType t)
It sets the string property sub type.
StringType m_strSubType
The sub-type of this string property.
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...
std::size_t size() const
It returns the maximum number of characters for a varying string, or the number of characters for a f...
It models a property definition.
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
The type for string types: FIXED_STRING, VAR_STRING or STRING.
An atomic property like an integer or double.
General enumerations for the data type module.
~StringProperty()
Destructor.