2016-11-16 10:35:27 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "EnumConverter.h"
|
|
|
|
|
|
|
|
enum class ExportFormat {
|
2016-11-16 10:49:25 +00:00
|
|
|
Tsv,
|
|
|
|
Xml,
|
|
|
|
Json
|
2016-11-16 10:35:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class ExportFormatConverter : public EnumConverter<ExportFormat> {
|
|
|
|
public:
|
|
|
|
static ExportFormatConverter& get();
|
|
|
|
protected:
|
|
|
|
std::string getTypeName() override;
|
|
|
|
member_data getMemberData() override;
|
|
|
|
};
|
|
|
|
|
|
|
|
std::ostream& operator<<(std::ostream& stream, ExportFormat value);
|
|
|
|
|
|
|
|
std::istream& operator>>(std::istream& stream, ExportFormat& value);
|