// This file was generated from the specification.
#pragma once
#include <map>
#include <string>
namespace relpipe {
namespace in {
namespace filesystem {
class StreamletMsg {
public:
static const int VERSION_SUPPORTED;
static const int WAITING_FOR_VERSION;
static const int VERSION_ACCEPTED;
static const int RELATION_START;
static const int INPUT_ATTRIBUTE_METADATA;
static const int OUTPUT_ATTRIBUTE_ALIAS;
static const int OPTION;
static const int COMPLETION_REQUEST;
static const int COMPLETION;
static const int COMPLETION_END;
static const int WAITING_FOR_OUTPUT_ATTRIBUTES_METADATA;
static const int OUTPUT_ATTRIBUTE_METADATA;
static const int WAITING_FOR_INPUT_ATTRIBUTES;
static const int INPUT_ATTRIBUTE;
static const int WAITING_FOR_OUTPUT_ATTRIBUTES;
static const int OUTPUT_ATTRIBUTE;
static const int EXECUTOR_ERROR;
static const int STREAMLET_ERROR;
static const int STREAMLET_WARNING;
static const int RELATION_END;
static std::map<int, std::wstring> getMessageNames() {
std::map<int, std::wstring> m;
m[VERSION_SUPPORTED] = L"VERSION_SUPPORTED";
m[WAITING_FOR_VERSION] = L"WAITING_FOR_VERSION";
m[VERSION_ACCEPTED] = L"VERSION_ACCEPTED";
m[RELATION_START] = L"RELATION_START";
m[INPUT_ATTRIBUTE_METADATA] = L"INPUT_ATTRIBUTE_METADATA";
m[OUTPUT_ATTRIBUTE_ALIAS] = L"OUTPUT_ATTRIBUTE_ALIAS";
m[OPTION] = L"OPTION";
m[COMPLETION_REQUEST] = L"COMPLETION_REQUEST";
m[COMPLETION] = L"COMPLETION";
m[COMPLETION_END] = L"COMPLETION_END";
m[WAITING_FOR_OUTPUT_ATTRIBUTES_METADATA] = L"WAITING_FOR_OUTPUT_ATTRIBUTES_METADATA";
m[OUTPUT_ATTRIBUTE_METADATA] = L"OUTPUT_ATTRIBUTE_METADATA";
m[WAITING_FOR_INPUT_ATTRIBUTES] = L"WAITING_FOR_INPUT_ATTRIBUTES";
m[INPUT_ATTRIBUTE] = L"INPUT_ATTRIBUTE";
m[WAITING_FOR_OUTPUT_ATTRIBUTES] = L"WAITING_FOR_OUTPUT_ATTRIBUTES";
m[OUTPUT_ATTRIBUTE] = L"OUTPUT_ATTRIBUTE";
m[EXECUTOR_ERROR] = L"EXECUTOR_ERROR";
m[STREAMLET_ERROR] = L"STREAMLET_ERROR";
m[STREAMLET_WARNING] = L"STREAMLET_WARNING";
m[RELATION_END] = L"RELATION_END";
return m;
}
};
const int StreamletMsg::VERSION_SUPPORTED = 100;
const int StreamletMsg::WAITING_FOR_VERSION = 101;
const int StreamletMsg::VERSION_ACCEPTED = 102;
const int StreamletMsg::RELATION_START = 103;
const int StreamletMsg::INPUT_ATTRIBUTE_METADATA = 104;
const int StreamletMsg::OUTPUT_ATTRIBUTE_ALIAS = 105;
const int StreamletMsg::OPTION = 106;
const int StreamletMsg::COMPLETION_REQUEST = 107;
const int StreamletMsg::COMPLETION = 108;
const int StreamletMsg::COMPLETION_END = 109;
const int StreamletMsg::WAITING_FOR_OUTPUT_ATTRIBUTES_METADATA = 110;
const int StreamletMsg::OUTPUT_ATTRIBUTE_METADATA = 111;
const int StreamletMsg::WAITING_FOR_INPUT_ATTRIBUTES = 112;
const int StreamletMsg::INPUT_ATTRIBUTE = 113;
const int StreamletMsg::WAITING_FOR_OUTPUT_ATTRIBUTES = 114;
const int StreamletMsg::OUTPUT_ATTRIBUTE = 115;
const int StreamletMsg::EXECUTOR_ERROR = 116;
const int StreamletMsg::STREAMLET_ERROR = 117;
const int StreamletMsg::STREAMLET_WARNING = 118;
const int StreamletMsg::RELATION_END = 120;
}
}
}