--- a/src/DataTypeWriterBase.h Sun Jul 22 00:08:13 2018 +0200
+++ b/src/DataTypeWriterBase.h Sun Jul 22 10:26:22 2018 +0200
@@ -11,11 +11,11 @@
*/
class DataTypeWriterBase {
private:
- const integer_t typeId;
+ const TypeId typeId;
const string_t typeCode;
public:
- DataTypeWriterBase(const integer_t typeId, const string_t typeCode) :
+ DataTypeWriterBase(const TypeId typeId, const string_t typeCode) :
typeId(typeId), typeCode(typeCode) {
}
@@ -35,7 +35,7 @@
* @param dataType data type code as defined in DDP L0
* @return whether this class supports conversions of this type
*/
- virtual bool supports(const integer_t &dataType) {
+ virtual bool supports(const TypeId &dataType) {
return dataType == typeId;
}
@@ -47,7 +47,7 @@
return dataType == typeCode;
}
- integer_t getTypeId() {
+ TypeId getTypeId() {
return typeId;
}