--- a/include/relpipe/reader/handlers/AttributeMetadata.h Sun Sep 09 22:47:18 2018 +0200
+++ b/include/relpipe/reader/handlers/AttributeMetadata.h Sat Sep 15 22:52:15 2018 +0200
@@ -6,11 +6,30 @@
namespace reader {
namespace handlers {
+class AttributeMetadataPrivate;
+
class AttributeMetadata {
+private:
+ AttributeMetadataPrivate* impl;
public:
- string_t attributeName;
- relpipe::reader::TypeId typeId;
- string_t typeName;
+ ~AttributeMetadata();
+
+ AttributeMetadata() {
+ std::cout << "FIXME: why call AttributeMetadata() ?" << std::endl;
+ }
+
+ AttributeMetadata(AttributeMetadataPrivate* impl) :
+ impl(impl) {
+ }
+
+ AttributeMetadata(const AttributeMetadata& other) :
+ impl(other.impl) {
+ }
+
+ string_t getAttributeName() const;
+ relpipe::reader::TypeId getTypeId() const;
+ string_t getTypeName() const;
+
};
}