.hazelcast-code-generator.1.6.0-11.source-code.messagetype-template-cppheader.ftl Maven / Gradle / Ivy
/*
* Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef HAZELCAST_CLIENT_PROTOCOL_CODEC_${model.className?upper_case}_H_
#define HAZELCAST_CLIENT_PROTOCOL_CODEC_${model.className?upper_case}_H_
#include "hazelcast/util/HazelcastDll.h"
namespace hazelcast {
namespace client {
namespace protocol {
namespace codec {
enum HAZELCAST_API ${model.className} {
<#list model.params as param>
HZ_${model.name?upper_case}_${param.name?upper_case}=${param.id}<#if param_has_next>,#if>
#list>
};
}
}
}
}
#endif // HAZELCAST_CLIENT_PROTOCOL_CODEC_${model.className?upper_case}_H_