src/AttributeMetadataPrivate.h
author František Kučera <franta-hg@frantovo.cz>
Sun, 16 Sep 2018 00:42:42 +0200
branchv_0
changeset 26 019edca46769
parent 24 6f7acc3b274c
child 29 755978b0935c
permissions -rw-r--r--
AttributeMetadata: use smart pointer and avoid memory-leak

#pragma once

#include "../include/relpipe/reader/typedefs.h"
#include "../include/relpipe/reader/TypeId.h"
#include "../include/relpipe/reader/handlers/AttributeMetadata.h"

namespace relpipe {
namespace reader {
namespace handlers {

class AttributeMetadataPrivate {
public:
	string_t attributeName;
	relpipe::reader::TypeId typeId;
	string_t typeName;
};

string_t AttributeMetadata::getAttributeName() const {
	return impl->attributeName;
}

relpipe::reader::TypeId AttributeMetadata::getTypeId() const {
	return impl->typeId;
}

string_t AttributeMetadata::getTypeName() const {
	return impl->typeName;
}

}
}
}