include/relpipe/reader/handlers/AttributeMetadata.h
branchv_0
changeset 24 6f7acc3b274c
parent 22 e81019af67dc
child 25 fc0d05b72214
--- 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;
+
 };
 
 }