26 #ifndef __TERRALIB_DATATYPE_INTERNAL_STRINGPROPERTY_H
27 #define __TERRALIB_DATATYPE_INTERNAL_STRINGPROPERTY_H
30 #include "../common/CharEncodingConv.h"
69 bool isRequired =
false,
70 std::string* defaultValue = 0,
114 std::size_t
size()
const {
return m_size; }
158 #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...
te::common::CharEncoding getCharEncoding() const
It returns the string property character encoding.
An atomic property like an integer or double.
CharEncoding
Supported charsets (character encoding).
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.
void setCharEncoding(const te::common::CharEncoding &ce)
It sets the string property character encoding.
~StringProperty()
Destructor.
te::common::CharEncoding m_ce
The string property character encoding.