26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_DATATYPECAPABILITIES_H 27 #define __TERRALIB_DATAACCESS_INTERNAL_DATATYPECAPABILITIES_H 30 #include "../../datatype/Enums.h" 31 #include "../Config.h" 57 bool supportsBit()
const;
61 bool supportsChar()
const;
65 bool supportsUChar()
const;
69 bool supportsInt16()
const;
71 void setSupportInt16(
const bool& support);
73 bool supportsUInt16()
const;
77 bool supportsInt32()
const;
79 void setSupportInt32(
const bool& support);
81 bool supportsUInt32()
const;
85 bool supportsInt64()
const;
87 void setSupportInt64(
const bool& support);
89 bool supportsUInt64()
const;
93 bool supportsBoolean()
const;
95 void setSupportBoolean(
const bool& support);
97 bool supportsFloat()
const;
99 void setSupportFloat(
const bool& support);
101 bool supportsDouble()
const;
103 void setSupportDouble(
const bool& support);
105 bool supportsNumeric()
const;
107 void setSupportNumeric(
const bool& support);
109 bool supportsString()
const;
111 void setSupportString(
const bool& support);
113 bool supportsByteArray()
const;
115 void setSupportByteArray(
const bool& support);
117 bool supportsGeometry()
const;
119 void setSupportGeometry(
const bool& support);
121 bool supportsDateTime()
const;
123 void setSupportDateTime(
const bool& support);
125 bool supportsArray()
const;
127 void setSupportArray(
const bool& support);
129 bool supportsComposite()
const;
133 bool supportsRaster()
const;
135 void setSupportRaster(
const bool& support);
137 bool supportsDataset()
const;
141 bool supportsXML()
const;
143 void setSupportXML(
const bool& support);
145 bool supportsCInt16()
const;
149 bool supportsCInt32()
const;
153 bool supportsCFloat()
const;
157 bool supportsCDouble()
const;
161 bool supportsPolymorphic()
const;
165 bool supports(
const int& type)
const;
167 void setSupport(
const int& type,
const bool& support);
171 void addHint(
const int& type,
const int& hint);
173 int getHint(
const int& type)
const;
184 #endif // __TERRALIB_DATAACCESS_INTERNAL_DATATYPECAPABILITIES_H dataTypeCapabilities setSupportUChar(false)
dataTypeCapabilities setSupportChar(false)
dataTypeCapabilities setSupportDataset(false)
dataTypeCapabilities setSupportUInt64(false)
dataTypeCapabilities setSupportUInt16(false)
std::map< int, int > m_hints
A map that indicates a type hint to a given type.
dataTypeCapabilities setSupportCDouble(false)
dataTypeCapabilities setSupportCInt16(false)
A class that represents the supported data types of a specific data source.
dataTypeCapabilities setSupportComposite(false)
dataTypeCapabilities setSupportAll()
dataTypeCapabilities setSupportCFloat(false)
dataTypeCapabilities setSupportBit(false)
std::map< int, bool > m_types
A map that indicates the supported data types.
dataTypeCapabilities setSupportPolymorphic(false)
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.
dataTypeCapabilities setSupportUInt32(false)
dataTypeCapabilities setSupportCInt32(false)