include/relpipe/reader/handlers/AttributeMetadata.h
author František Kučera <franta-hg@frantovo.cz>
Sat, 15 Sep 2018 23:22:50 +0200
branchv_0
changeset 25 fc0d05b72214
parent 24 6f7acc3b274c
child 26 019edca46769
permissions -rw-r--r--
AttributeMetadata: use vector.reserve() instead of resize() and [i] and thus avoid unwanted AttributeMetadata() constructor call

#pragma once

#include "../TypeId.h"

namespace relpipe {
namespace reader {
namespace handlers {

class AttributeMetadataPrivate;

class AttributeMetadata {
private:
	AttributeMetadataPrivate* impl;
public:
	~AttributeMetadata();

	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;

};

}
}
}