include/relpipe/reader/RelationalReader.h
author František Kučera <franta-hg@frantovo.cz>
Sat, 25 Aug 2018 18:16:53 +0200
branchv_0
changeset 14 e8de089f95dd
child 17 ec750c536705
permissions -rw-r--r--
refactoring, move files, use TypeId instead of integer_t

#pragma once

#include <iostream>

#include "typedefs.h"
#include "TypeId.h"

namespace relpipe {
namespace reader {

class RelationalReader {
public:

	virtual ~RelationalReader() = default;

	/**
	 * @param typeId numeric type id as defined in Specification
	 * @return string code of given type
	 * @throws RelpipeReaderException on unsupported typeId
	 */
	virtual string_t toTypeCode(const TypeId typeId) = 0;

};

}
}