include/relpipe/reader/handlers/AttributeMetadata.h
branchv_0
changeset 26 019edca46769
parent 25 fc0d05b72214
child 29 755978b0935c
equal deleted inserted replaced
25:fc0d05b72214 26:019edca46769
     1 #pragma once
     1 #pragma once
       
     2 
       
     3 #include <memory>
     2 
     4 
     3 #include "../TypeId.h"
     5 #include "../TypeId.h"
     4 
     6 
     5 namespace relpipe {
     7 namespace relpipe {
     6 namespace reader {
     8 namespace reader {
     8 
    10 
     9 class AttributeMetadataPrivate;
    11 class AttributeMetadataPrivate;
    10 
    12 
    11 class AttributeMetadata {
    13 class AttributeMetadata {
    12 private:
    14 private:
    13 	AttributeMetadataPrivate* impl;
    15 	std::shared_ptr<AttributeMetadataPrivate> impl;
    14 public:
    16 public:
    15 	~AttributeMetadata();
       
    16 
    17 
    17 	AttributeMetadata(AttributeMetadataPrivate* impl) :
    18 	AttributeMetadata(std::shared_ptr<AttributeMetadataPrivate> impl) :
    18 	impl(impl) {
    19 	impl(impl) {
    19 	}
    20 	}
    20 
    21 
    21 	AttributeMetadata(const AttributeMetadata& other) :
    22 	AttributeMetadata(const AttributeMetadata& other) :
    22 	impl(other.impl) {
    23 	impl(other.impl) {